Line for the server...
Not sure about the "rank" thing, but
***********
clear*
set obs 1063
g var=8*runiform()
g normvar=var/8
***********
HTH
Martin
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Thursday, November 20, 2008 3:52 PM
To: [email protected]
Subject: st: Create a normalized variable
Dear Statalist,
I need to create a normalized variable between 0 and 1 starting from
another variable of 1063 observations with ranks between 0 and 8, could
you please help me?
Regards,
Alejandra Molina
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/