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
syntax to de label a columnI have a column where, values have been formatted with 0/1 over the actual values in the column are …
"invalid syntax" error when saving variable label for putexcelDear Statalists, I am trying to export tables of about a dozen variables into excel using putexcel.…
y-axis (scale) problemDear All, I found this question here (https://bbs.pinggu.org/thread-9190477-1-1.html). Basically, th…
Reshape long with 1 identifier and several variablesHi, I am experiencing similar problems as here: https://www.statalist.org/forums/for...variable-dat…
Generating dummy based on the condition of minimum number of observations of a variableDear All. I have a question which is very basic which I couldn't do it myself, hence seeking the hel…
Subscribe to:
Post Comments (Atom)
0 Response to Multicollinearity in simple diference-in-differences model
Post a Comment