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" <[email protected]>
To   <[email protected]>
Subject   RE: st: - uniform() - random variable not uniformlydistributedoverinterval
Date   Thu, 10 Mar 2005 09:00:39 -0500

Thanks a lot.

ting

>>> [email protected] 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 
[email protected] 

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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index