So can you comment on the validity of the specification of a fixed effect model with the specification y= b0 +b1(time variant var) + b2(time variant var * time invariant var) + e?
-
Login or Register
- Log in with
regression_command dependent_variable var1##var2 other_covariates // OR MORE SPECIFICALLY IN YOUR CASE xtreg outcome_var time_variant_var##time_invariant_var other_covariates, fe
webuse nlswork.dta, clear
xtset idcode year
xtreg ln_wage i.race##c.hours i.year, fe
.....
------------------------------------------------------------------------------
ln_wage | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
race |
black | 0 (omitted)
other | 0 (omitted)
|
hours | .001518 .0002699 5.63 0.000 .000989 .0020469
|
race#c.hours |
black | -.0037024 .0005952 -6.22 0.000 -.0048691 -.0025357
other | -.001572 .0024067 -0.65 0.514 -.0062893 .0031452
....
margins race, dydx(hours)
Comment