Skip to content
Prev 69661 / 398525 Next

Using R to illustrate the Central Limit Theorem

On 13-May-05 Bliese, Paul D LTC USAMH wrote:
The reason is indeed simple! In demonstrating the convergence
of the distribution of mean(k X's) to a Normal distribution,
the reference (i.e. the limiting distribution) is N(0,1), which
has mean 0 and variance 1. Therefore, in comparing the distribution
of mean(k X's) with N(0,1) it needs to be standardised to itself
have mean 0 and variance 1. As you've already spotted, you
standardise for the mean by subtracting 0.5; to standardise
for the variance you need to divide by sqrt(variance(mean(k X's))).

This is sqrt(variance(X)/k). Finally (and this is where the "12"
comes in), the variance of an X uniformly distributed on (0,1)
is 1/12 (left as an exercise for the reader ... ). Hence 12*k.

Best wishes,
Ted.


--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at nessie.mcc.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 13-May-05                                       Time: 13:43:54
------------------------------ XFMail ------------------------------