Galton's 19th century mechanical version of this is the quincunx. I have a
(very primitive) version of this for R at:

        http://www.econ.uiuc.edu/~roger/courses/476/routines/quincunx.R


url:    www.econ.uiuc.edu/~roger            Roger Koenker
email    [EMAIL PROTECTED]            Department of Economics
vox:     217-333-4558                University of Illinois
fax:       217-244-6678                Champaign, IL 61820



Jörg Groß wrote:
Hi,


Is there a way to simulate a population with R and pull out m samples, each with n values
for calculating m means?

I need that kind of data to plot a graphic, demonstrating the central limit theorem
and I don't know how to begin.

So, perhaps someone can give me some tips and hints how to start and which functions to use.



thanks for any help,
joerg


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to