Dear Maarten,
thanks a lot for Your usual Kindness and for Your hints.
Kind Regards,
Carlo
-----Messaggio originale-----
Da: [email protected]
[mailto:[email protected]] Per conto di Maarten Buis
Inviato: marted� 29 maggio 2007 17.28
A: [email protected]
Oggetto: st: RE: how to cap an uniform() distribution
--- Carlo Lazzaro wrote:
> I would like to generate a sample of 16,970 random values within a .6923-1
> range (extremes included)with Stata SE 9/2.
set obs 16970
gen draw = uniform()*.3077 + .6923
Hope this helps,
Maarten
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
*
* 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/
*
* 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/