Hot answers tagged

6 votes

How is that possible that simple arithmetic mean works well even for strongly skewed distribution?

What is your definition about "good"? I assume you want to say the bias of sample mean is zero, it is consistent, if so, in 1947, Hsu and Robbins proved that the arithmetic mean converges ...
Tuobang Li's user avatar
6 votes

In R, why are the results of summary(lm(y~-1))$sigma^2 and mean(y^2) same?

If you define the model as lm(y~1), you will get a value of 23.76667 for sigma^2. Your model does not have an intercept (that's ...
Doctor Milt's user avatar
  • 2,672
4 votes

Box plots of monthly averaged water flow

This is up to you and what you want to find out. Are the outliers important? I could see how they could be (floods, droughts, etc) but maybe not. Or do you only want an average per month (maybe you ...
Peter Flom's user avatar
  • 117k
4 votes

In R, why are the results of summary(lm(y~-1))$sigma^2 and mean(y^2) same?

summary(lm(y~-1))$sigma^2 gives the variance of the residuals from your model, but your model is one that doesn't fit any parameters and just predicts $0$ every ...
Dave's user avatar
  • 60.9k
3 votes

Calculating $E[(\sum X_i)^4]$

I would start by setting $Y_i=X_i-\mu$, for $i=1\ldots,n$. You then have: $$ \mathrm{Var}(\bar{X}^2)=\mathrm{Var}((\bar{Y}+\mu)^2)= \mathrm{Var}(\bar{Y}^2+2\mu\bar{Y})\\ = \mathrm{Var}(\bar{Y}^2)+2\mu\...
Doctor Milt's user avatar
  • 2,672
2 votes

Can ANOVAs or Student tests be conducted on any summary statistic at the individual level?

I wouldn't collapse any within-subject repeated measurements of RT into a mean or median, since they're correlated. The within-subject correlation among repeated measurements affects the overall ...
Leif Peterson's user avatar
2 votes

Subtracting the ideal-rank-mean in Wilcoxon rank-sum, what does it do

This is my first answer on CV, so please make edits or let me know if it is wrong or missing anything! Now onto your question. Why not just the rank-sum? First the conclusion: comparing the rank-sum ...
Aliquid's user avatar
  • 21
2 votes
Accepted

Calculating $E[(\sum X_i)^4]$

In pursuit of calculating the fourth power, it might be apt to have a look at the general form of expectation of $p$–th power of sum of iid random variables. $\rm [I]$ deduces $\mathbf E\left[S_n^p\...
User1865345's user avatar
  • 7,932
1 vote

What is the intuition behind the single-pass algorithm (Welford's method) for the corrected sum of squares?

Ok, so when you update $S_{n-1}$ to $S_n$ there are two things that need fixing you need a term $(x_n-m_n)^2$ for the error in the $n$ observation you need to fix up $S_{n-1}$ because it was centered ...
Thomas Lumley's user avatar
1 vote

What do I do when I *want* to accept the usual null hypothesis?

Here you can employ theology instead of statistics If you want to accept a particular hypothesis, just accept it --- avoid wasting time by employing statistical analysis and pretending that you are ...
Ben's user avatar
  • 123k

Only top scored, non community-wiki answers of a minimum length are eligible