Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: linear, quadratic terms and centering

From   Fabio Zona <>
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.


*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index