[R] How to set up a function for "Central Limit Theorem"

pfc_ivan pfc_ivan at hotmail.com
Mon Mar 23 18:30:51 CET 2009


Hello guys, I am stuck here:

How do I make 1000 samples of n = 10 observations from an Exponential
distribution and then compute the mean for all those 1000 samples? 

Basically I need to prove the Central Limit theorem, which states:

http://www.nabble.com/file/p22664113/d175f06cbf200bd52a2c27a2e56dc594.png 

Where the Sn is sum of random variables, n we have from the question, mu is
mean and (sigma)^2 is variance. 

I am having trouble setting up the function to do this. 

Any help apreciated!

-- 
View this message in context: http://www.nabble.com/How-to-set-up-a-function-for-%22Central-Limit-Theorem%22-tp22664113p22664113.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list