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
Conditional sum on STATAHi, I have a dataset with the following variables: - Brand (41 brands in total) - product identifie…
Mkmat for groups in a dataset for use with other matrix operationsHi Statalist: I do not have much experience writing code for Stata except for the routines with whic…
Oaxaca command not workingI am trying to run the oaxaca command and it keeps saying that it does not recognize it. Does anyone…
ReshapeHello I would appreciate if someone can tell me the command that would reshape my data from 201…
étude en données de panel.rsquared of fixed effectfrançais Hello, My name is Gibran. I am doing a panel data study on the causes of deforestation in U…
Subscribe to:
Post Comments (Atom)
0 Response to Generalized difference in differences with panel data
Post a Comment