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
How to make a Difference in Differences GraphI want to make a graph showing parallel slopes for the following data. The variable REGION consists …
Graphing one product verses an average of all other productsHi All, I am having trouble thinking how I can graph an average of two products ("Coca-Cola" and "t…
How to change the look of a subset of bars using specific criteria - bar graphsDear all, I am working with a dataset that contains the number of candidates for each call of a stu…
Confusing behavior by -more-I'm trying to use -more- to force a pause between display commands in a loop. Here is the code: Co…
need help with import excelSorry I have tried this using import excel, copying the data directly, and using Stat Transfer, but …
Subscribe to:
Post Comments (Atom)
0 Response to Multicollinearity in simple diference-in-differences model
Post a Comment