Consider n balls: #1, #2, ..., #n.
I draw k balls at random, WITHOUT replacement.
The result is noted x1, x2,...,xk.
I want to repeat this r times.
The data file should be: r lines and k colomns.
How can I generate this data file?
Where should I look?
I looked at STB-28: sg44; STB-41: sg44.1, rnd.
I am trying to knit my own program...
BD.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/