I have a panel dataset at weekly level. The dependent variable is whether a company spoke out at a given week (1=yes, 0=no). IV: historical slavery percentage at the company's local headquarter county (county level and time-invariant). Different companies can be nested within the same county. I also have state and industry information for each firm. Because the IV is time-invariant and at a higher level than my DV, xtreg, fe would not work. I used below model specification by adding state, industry, and week as dummies instead. Would it be the same as having state, industry, and week fixed effect?
Alternatively, I used melogit to run multi-level model. However, they yield different results as the above xtreg model. Which one is more suitable given my multi-level data structure?
Code:
xtreg dv iv controls i.industry i.week i.state, vce(cluster gvkey)
Code:
melogit dv iv controls i.week ||industry: || state: , cov(un)
Comment