|
From | <suryadipta.roy@lawrence.edu> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Transformation |
Date | Thu, 05 Oct 2006 15:16:46 -0500 |
gen newvar = oldvar + 1 ?
I am trying to transform a variable taking values from 0 to 6 to another ranging from 1 to 7. Can someone provide me with the formula for doing this transformation?
* * 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–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |