Hi all,
I'm currently an undergraduate student and very new to STATA, I apologize for any "stupid" questions ahead of time.
For my model, I want to look at the effect of carbon pricing systems on GHG emission intensity.
I would like to construct a difference-in-difference model by comparing Canadian provinces who have different carbon pricing systems (carbon tax, cap-n-trade, nothing), and see the effect of these carbon pricing systems.
Array
Where "time" is a dummy variable indicating the year that the carbon pricing system went into effect and "treated" represents a province that has a carbon pricing system. I saw a tutorial online to generate a "did" variable by time*treatment. Then regressing oilgas time treated did.
However, evidently my "did" variable carries the same values as my "time" variable, so it was omitted due to collinearity.
When I did the diff command, I got these results. How should I interpret this: Array
I'm just wondering if my approach is even correct and what I can do to make this model work.
Again, I apologize if my question is too general and vague. I'd appreciate it so much if I could get as much detail as possible!
Thank you, everyone!!
Related Posts with Difference-in-Difference - Collinearity Problem
Merging datasetsI have two datasets that I want to merg- One from the screening registry and the other one from a ho…
Value labels: re-coding, assigning multiple labels to one value and differentiation in variablesHi all, I want to recode two of my value labels, which are used for multiple variables. The first …
Multilevel model error with covariance (unstructured) - Hessian is not negative semidefinite conformability errorI'm testing a multilevel model with random slopes and a covariance structure for the error and reml …
from stata to latex descriptive stat and ttestHi everyone! I'm working on same descriptive statistics and ttest tables on Stata and I want to exp…
Using mrobust with polynomial independent variableDear community, I'd like to use the "mrobust" command by Young & Holsteen (2017) for estimating…
Subscribe to:
Post Comments (Atom)
0 Response to Difference-in-Difference - Collinearity Problem
Post a Comment