Hi,
I am using Stata 13 to estimate a simple model with an interaction term. To give the interaction term a meaniful interpretation at value zero and to avoid multicollinearity, I am centering variables.
However, the resulting mean is not exactly at zero.
Here is an example.
The mean of cprice is close to zero but deviates from the fith decimal on. Why is that the case? And how can I prevent it?
Thanks
/R
I am using Stata 13 to estimate a simple model with an interaction term. To give the interaction term a meaniful interpretation at value zero and to avoid multicollinearity, I am centering variables.
However, the resulting mean is not exactly at zero.
Here is an example.
Code:
clear sysuse auto.dta sum price, meanonly gen cprice = price-r(mean) sum cprice
Thanks
/R
Comment