Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Rescaling variable


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Rescaling variable
Date   Thu, 9 Mar 2006 14:08:50 -0000

Is this a joke? 

replace x = 5 + x / 2

Nick 
n.j.cox@durham.ac.uk 

Cornelia Schmidt
 
> I would like to rescale a variable from (-10 to 10) to 
> (0-10). Does anybody 
> know how this works?

*
*   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–2020 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index