It sounds as tho you want a series of random numbers with exactly the same number of digits. If this is the case, the problem you run into will be dropping leading 0's. You might have to generate the numbers, change them to characters, and select the proper number of digits to the right of the decimal.
-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Ha Thai Son
Sent: Tuesday, May 25, 2004 9:03 AM
To: [email protected]
Subject: st: Creating a series of random number
Dear Statalists,
Does any one know how to create a series of random number with n digit.
Many thanks in advance,
Ha Thai Son
NIMPE Hanoi, Vietnam
*
* 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/