3
$\begingroup$

From OnlineStatBook:

enter image description here

I don't understand the meaning of

Since the mean is $\frac{1}{N}$ times the sum, the variance of the sampling distribution of the mean would be $\frac{1}{N^2}$ times the variance of the sum, which equals $\frac{σ^2}{N}$.

I only recently started refreshing my knowledge of statistics, and this sentence stumps me. I understand that the mean of any set of measurements is 1/N, but why does it appear squared here?

$\endgroup$
2
  • 1
    $\begingroup$ I added a derivation of the issue you brought up in your comment. Does it help? $\endgroup$ Commented Jan 4, 2017 at 18:07
  • $\begingroup$ @AntoniParellada - thank you! I'll read up on expected value and on the properties of variance some more. $\endgroup$ Commented Jan 4, 2017 at 19:42

2 Answers 2

8
$\begingroup$

I think this can summarized by noting that $\text{Var}(cX)=c^2\text{Var}(X)$.

The $1/N$ in the mean, ends up outside the variance parenthesis as $1/N^2$.

So

$$\text{Var}\left[\frac{1}{N}\sum_{i=1}^N X_i\right]=\frac{1}{N^2}\text{Var}\left[\sum_{i=1}^N X_i\right]\underset{\small\begin{matrix}by\\variance\\sum \,law\end{matrix}}{=}\frac{1}{N^2}N\sigma^2=\frac{1}{N}\sigma^2$$


Following up on the first comment:

\begin{align}\text{Var}[cX]&=\mathbb E\left[\left(cX-\mathbb E[cX]\right)^2\right]\\&=\mathbb E\left[\left(cX-c \,\mathbb E(X)\right)^2\right]\\&=c^2\, \mathbb E\left[(X-\mathbb E(X))^2\right]\\&=c^2\text{Var}(X).\end{align}

$\endgroup$
5
  • $\begingroup$ Thank you. I still don't understand why $\text{Var}(cX)=c^2\text{Var}(X)$. Maybe I should read more about the properties of variance. The answer by Syd Amerikaner is much more incomprehensible to me though. $\endgroup$ Commented Jan 4, 2017 at 17:37
  • 2
    $\begingroup$ @CopperKettle Check variance properties. $\endgroup$ Commented Jan 4, 2017 at 17:39
  • 3
    $\begingroup$ You could take this second-order homogeneity as a defining property of variance. Up to multiplication by some universal constant, I believe the variance is the only property of distributions that enjoys this scaling relationship as well as being additive for independent variables (that is, $\operatorname{Var}(X+Y)=\operatorname{Var}(X)+\operatorname{Var}(Y)$ for any independent variables $X$ and $Y$). That is why it plays a distinguished role in the Central Limit Theorem, btw. $\endgroup$
    – whuber
    Commented Jan 4, 2017 at 17:51
  • $\begingroup$ The variance is in squared units so if you multiply the values by $c$ the variance is multiplied by $c^2$. $\endgroup$
    – mdewey
    Commented Jan 4, 2017 at 18:06
  • $\begingroup$ @AntoniParellada This is very well done! $\endgroup$ Commented Jan 4, 2017 at 20:01
1
$\begingroup$

The sample $X_1,\dots,X_n$ of size $n$ is assumed to be iid (idependent and identically distributed) with mean $\mu$ and variance $\sigma^2$, i.e. $E(X_i) = \mu$ for every $i$ and $V(X_i) = \sigma^2$. Consider the sample mean $$\bar X = \frac{1}{n}\sum_{i=1}^n X_i.$$ Expected value of that term is given by $$E(\bar X) = E\left(\frac{1}{n}\sum_{i=1}^nX_i\right) = \frac{1}{n}\sum_{i=1}^n E(X_i) = \frac{n}{n}\mu = \mu$$ where it was used that $E$ is linear (hence constant and sum can be taken out of the expectation) and that every $X_i$ has the same mean $\mu$.

The variance of the sample mean can be calculated similarily: $$V(\bar X) = V\left(\frac{1}{n}\sum_{i=1}^nX_i\right) = \frac{1}{n^2}\sum_{i=1}^nV(X_i) = \frac{n}{n^2}\sigma^2 = \frac{\sigma^2}{n}.$$ The variance acts a little different than expecation though. The variance is not linear in its argument but homogen of degree 2, i.e. $V(aX) = a^2V(X)$. Furthermore, the variance of a sum of random variable is only the sum of variances if the random variables are pairwise uncorrelated (i.e. in particular if the random variables are independent).

I recommend going through the steps I provided and ask if there remains something unclear.

By the way, the sentence you don't understand the meaning of is not quite correct either as it asserts that the variance of a sum of random variables is the sum of random variables (times $1/n^2$). But as I stated this is only correct in the case of pairwise uncorrelated, or even stronger, idependent random variables.

$\endgroup$
1
  • $\begingroup$ General form for Var(X+Y)=Var(X) +Var(Y) + 2 Cov (X, Y). So @SydAmerikaner you are right to see the flaw in the "variance sum law". It holds only if Cov(X,Y)=0 which means X and Y are uncorrelated. Pairwise uncorrelated as you say.Your answer is right. I might quibble a little with your english and you more or less stated the rule that Var(cX)=c^2 Var(X) without proof. But I like that you read the question carefully enough to catch the error. $\endgroup$ Commented Jan 4, 2017 at 20:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.