Thanks kit! : - ]
-----Mensaje original-----
De: [email protected]
[mailto:[email protected]] En nombre de Kit Baum
Enviado el: Saturday, July 09, 2005 1:46 PM
Para: [email protected]
Asunto: st: re: rescaling variables
As your 7th grade algebra teacher probably told you,
z = x/2 + 5 will take x {-10,10} into the range {0, 10}.
set obs 21
g x = -11 + _n
g z = x/2 + 5
list
Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html
*
* 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/