Hello,
I wanted to clarify if my understanding of including interaction terms in a panel estimation model is correct. Say, we observe outcomes for individual i in group j in state s at time t along with some covariates x. Would the factor variables generated by i.state#c.year be referred to what is known as state specific year trends whereas i.state#i.year would mean state by year fixed effects?
Thanks!
I wanted to clarify if my understanding of including interaction terms in a panel estimation model is correct. Say, we observe outcomes for individual i in group j in state s at time t along with some covariates x. Would the factor variables generated by i.state#c.year be referred to what is known as state specific year trends whereas i.state#i.year would mean state by year fixed effects?
Code:
use http://www.stata-press.com/data/r13/nlswork, clear xtset idcode year * assume industry code are state codes rename ind_code state * state specific year trends? xtreg ln_wage i.state#c.year, fe * state by year fixed effects? xtreg ln_wage i.state#i.year, fe
Comment