[R] r-help using random generating

Murray Jorgensen maj at stats.waikato.ac.nz
Wed Mar 19 05:39:08 CET 2003


Student Exercise?!

Cheryl H. wrote:
> To whom it may concern:
> Given that my sample size is n, my mean is 100, and my sd is 10, I need 
> to use a random number generator (which I believe is the function 
> rnorm(5,100,10)), but I need to repeat it a large number of times, and 
> then plot the sampling distributions of the sample means, sd's, and 
> variances of those generated sets. I'm having a real hard time trying to 
> figure out how to do this easily. Please help if possible! Thanks,
> Cheryl
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> 

-- 
Dr Murray Jorgensen      http://www.stats.waikato.ac.nz/Staff/maj.html
Department of Statistics, University of Waikato, Hamilton, New Zealand
Email: maj at waikato.ac.nz                                Fax 7 838 4155
Phone  +64 7 838 4773 wk    +64 7 849 6486 home    Mobile 021 1395 862



More information about the R-help mailing list