[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: random number with a specific variance
At 07:09 PM 6/2/2004 +0100, R.E. De Hoyos wrote:
Use the -drawnorm- command, e.g. something like
How can I generate a variable containing random numbers normally distributed
and a variance different from 1 (like -invnorm(uniform())- but with a
variance different from one)?
drawnorm x, n(100) sds(5)
-corr2data- is another option, if you are bound and determined to have the
variance equal some exact value, with no allowance for sampling variability.
* For searches and help try: