Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: random number -- keno

From   "Benoit Dulong" <>
To   "statalist" <>
Subject   st: random number -- keno
Date   Wed, 19 Jun 2002 00:15:34 -0400

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... 


*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index