Hi All,
I have a simple 2-period panel data and I am trying to run a difference-in-differences model using the xtreg command.
generate treatxpost = treatment*post
xtreg sales post treatment treatxpost, fe
treatment and post are the dummy variables treatment group and post period.
I have balanced data for households and each household has sales in the pre and post period.
I am not getting an estimate for treatment as Stata is telling me: treatment omitted because of collinearity.
How do I get an estimate for both the treatment and post along with the interaction term treatxpost?
Appreciate your pointers on this.
Thanks,
Laxman.
Related Posts with Multicollinearity in simple diference-in-differences model
Average marginal effects of the structural model using gsemHello everybody! Currently, I am fitting a structural equation model using gsem in Stata 16. My c…
Panel data analysisHi evryone. What is wrong in may data? I cannot do xtpcse analysis. Please HELP!!!. …
Exponentially Weighted Moving Average (EWMA) Control ChartHi Statalisters I was wondering if anyone can share example codes for graphing Exponentially Weight…
summarize variable by group with max and min valuesHi, How can I summarize a variable by group including maximum and minimum value? This only calcula…
Flexible Parametric Survival (stpm2) - command str2d not workingDear Forum Members, I'm using the user-written - stpm2 - written by Royston and Lambert. The comman…
Subscribe to:
Post Comments (Atom)
0 Response to Multicollinearity in simple diference-in-differences model
Post a Comment