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