[R] plot - central limit theorem

roger koenker rkoenker at uiuc.edu
Wed Oct 15 22:22:26 CEST 2008


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    rkoenker at uiuc.edu            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
>>



More information about the R-help mailing list