Hello All,
I apologize for this question, as I know that it has been asked before but I am unable to follow along with the response given.
Post that I am referencing: https://www.statalist.org/forums/for...did-estimation)
I am currently working with an unbalanced panel dataset which tracks per capita ethanol consumption at the state-level. My goal is to look at the impact of a UBI program in Alaska that I believe had an impact on their ethanol consumption, but, before preceding, I need to verify the parallel trends assumption.
Unfortunately, I am still a beginner at STATA and am struggling to find the right code to run. Could any of you please give me a hand? I have thus far created dummies y82, which is an indicator for whether or not the UBI program has been established (= 1 if year >=1982); UBI which indicates whether or not the observation belongs to the treatment or control group; and UBIy82 which is an interaction term between the two.
Any help would be GREATLY appreciated.
All the best,
Mitchell
Related Posts with How to Test The Parallel Trends Assumption Of Difference in Differences Estimation
Split a string into numbers and graphHi everyone, I have a string variable in Stata called runningdays. It denotes all of the days in wh…
Compute standard errors with command xtregHi everyone! When we have panel data, we have to take into account that the observations are not in…
Abnormal Returns/ Average return of the market, value-weightedHi everyone. I am trying to generate abnormal returns in STATA. To do so, I need to calculate the e…
Row MedianHello, I have daily panel data over several years and for several stocks. For each day and for each…
How to compare regression models for survey data?Usually, we use the AIC value (estat ic) to compare regression models. But estat ic command doesn't …
Subscribe to:
Post Comments (Atom)
0 Response to How to Test The Parallel Trends Assumption Of Difference in Differences Estimation
Post a Comment