Hi, I am relatively new to Stata so any help would be greatly appreciated!
Q: How do I do a generalized difference-in-differences regression with panel data in Stata?
Background: I am working on my senior thesis and I want to use a generalized difference-in-differences regression to explore the impact of college sexual assault scandals on application rates. I have a panel dataset with 100 groups (i.e., colleges) and 19 time periods (i.e., years 2001-2019).
- My dependent variable is number of college applications.
- The “treatment” is represented by a Scandal dummy variable to indicate if there was a scandal the previous year (i.e., if there was a college scandal in 2002, then the scandal dummy variable would be equal to 1 in 2003 in order to explore the effects on the 2003 college application rates).
- My control variables include: in-state and out-of-state tuition, common app member (dummy variable), institutional SAT percentile scores, and USNWR Rank for each college every year.
I hope that makes sense.
I have struggled to find examples of how to do a generalized difference-in-differences regression in Stata. Also, I would like to learn how to include "college-fixed effects" with my control variables.
I would really appreciate any help and/or examples, thank you!
Related Posts with Generalized difference in differences with panel data
Instrumented diff-in-diff with ivreg2Dear Statalist, I am struggling with an endogenous treatment in a diff-in-diff model I am using (at…
Shrinkage of estimates towards group mean using Mixed Effects Models for a binary outcomeHello Statalist, I have survey data that collected individual level use of a bed net against mosqu…
Using xtivreg2 for Simultaneous Equation model with fixed effectsHi, I am using a simultaneous equations model with fixed effects estimation procedure. I was using x…
Logistic regression "outcome does not vary" I got values on an independent variables for only one of the options of my dependent variableLogistic regression "outcome does not vary" Hello, I know which variable is giving me problems, bu…
Variable splittingI admit that the split syntax has been explained severally but I don't seem to get an answer that ca…
Subscribe to:
Post Comments (Atom)
0 Response to Generalized difference in differences with panel data
Post a Comment