From | Kit Baum <[email protected]> |
To | [email protected] |
Subject | st: re: rescaling variables |
Date | Sat, 9 Jul 2005 08:46:24 -0400 |
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/
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |