Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: linear, quadratic terms and centering
From
Fabio Zona <[email protected]>
To
[email protected]
Subject
st: linear, quadratic terms and centering
Date
Sat, 21 Aug 2010 09:40:06 +0200 (CEST)
Dear Statalist,
a very simple question: I have
y = c + x0 + x1 + x1square
In order to center x1 and x1square, do I first need to calculate the square term and afterwards to center both the linear and the quadratic term around their respective means?
Or do I first center the linear term and calculate the square term on the basis of the "centered" linear term ?
I guess that the first alternative works.
Thanks
*
* 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/