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

RE: st: - uniform() - random variable not uniformlydistributedoverinterval


From   "Hsuchi Ting" <hting@psyc.umd.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: - uniform() - random variable not uniformlydistributedoverinterval
Date   Thu, 10 Mar 2005 09:00:39 -0500

Thanks a lot.

ting

>>> n.j.cox@durham.ac.uk 03/10/05 7:44 AM >>>
Richard Williams gave an excellent example of how 
to do this, showing that a separate command 
is not essential. 

In addition, however. one such command is canned 
as the -egen- function -rndint()- in the package
-egenmore- on SSC. 

Nick 
n.j.cox@durham.ac.uk 

Hsuchi Ting
 
> I have been trying to generate random
> integers instead of numbers distributed between 0 and 1. Could anyone
> direct me to the command for doing this?

*
*   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/



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