I have a multiple regression and before running it I standardize my dependent variable Y and my predictors X1, X2, X3.
I use the commands:
Now if I run the multiple regression 3 questions arise:
First, why if I run the command below (reg on standardized dependent and predictors) I get a constant that is different from zero, 0.8 in my case?
Second, why if run the command below I get betas that are different from the coefficients in the regression from the command above?
Third, why if I run command A instead of commands B I get slightly different coefficients, comparing the first regression model with bStdX from listcoef?
I'm using Stata 13.
Thanks a lot!
I use the commands:
Code:
egen zY = std(Y) egen zX1 = std(X1) egen zX2 = std(X2) egen zX3 = std(X3)
First, why if I run the command below (reg on standardized dependent and predictors) I get a constant that is different from zero, 0.8 in my case?
Code:
reg zY zX1 zX2 zX3
Code:
reg Y X1 X2 X3, beta
Code:
Command A reg Y zX1 zX2 zX3 Command B reg Y X1 X2 X3 listcoef
Thanks a lot!
Comment