Hi guys,
i am trying to study relationship between wage and firm performance with lagged wage variable
i have 832 company in 5 year data, i used xtreg and hausman test to decide fixed or random model and the result is fixed .
however , when i run xtreg ,fe it will auto demean my lagged wage variable and it seems strange in economic explanation
so i use reg with manually demean variable ,which means i use demean wage and lagged of this variable
but next question is if i want to test heteroskedasticiy and cross sectional dependence by using xttest3 and xtcsd, pesaran abs
stata says "last estimates not found" it seems these commend can only run after xtreg
how can i test for these ?
and on the other hand, use reg to run within fixed effect model , it gives wrong standard error of varialbe and R square because of wrong degree of freedom (reg and xtreg doesn't creat dummy )
usually i use areg to correct this problem but i turn to same question mention above
is there any suggested procedure to study fixed effect model with lagged independent variable?
can i use hausman test as before aftre take this question account?
thx
i am trying to study relationship between wage and firm performance with lagged wage variable
i have 832 company in 5 year data, i used xtreg and hausman test to decide fixed or random model and the result is fixed .
however , when i run xtreg ,fe it will auto demean my lagged wage variable and it seems strange in economic explanation
so i use reg with manually demean variable ,which means i use demean wage and lagged of this variable
but next question is if i want to test heteroskedasticiy and cross sectional dependence by using xttest3 and xtcsd, pesaran abs
stata says "last estimates not found" it seems these commend can only run after xtreg
how can i test for these ?
and on the other hand, use reg to run within fixed effect model , it gives wrong standard error of varialbe and R square because of wrong degree of freedom (reg and xtreg doesn't creat dummy )
usually i use areg to correct this problem but i turn to same question mention above
is there any suggested procedure to study fixed effect model with lagged independent variable?
can i use hausman test as before aftre take this question account?
thx
Comment