Hi there, I am new to STATALIST so my apologies if this question has already been addressed.
I am using LSAC preschool data with two separate cohorts - the birth cohort (who enter preschool in 2008) and the kindergarten cohort (who enter preschool in 2004) , thus, the treatment and control groups are different children from different time periods.
NSW implemented a policy reform in 2006 which only impacts the B-cohort and not the K-cohort, so naturally, I have a treatment and control group here
I have cleaned the data & using append to combine the cohorts into my do.file, but I am unsure how to run the DID due to having the two cohorts.
Is there a way to specify my control group as well as my separate treatment group?
I know that this is incorrect, but is there a command that will allow me to do something along the lines of this?
interactionB = NSW*Bcohort
interactionK = NSW*Kcohort
diff y3naplan1, t(interactionB) control(interactionK) p(t)
Or will I just have to run the regressions separately and calculate the difference itself by hand?
Any help would be greatly appreciated as this is for my thesis!
Laura
Related Posts with DID with Two Separate Cohorts
Error 9901 in Excel export_xlshwritestr(): 9901 Stata returned error export_excel_write_file(): - function returned error expo…
Exporting F-Statistics and p-value after ivreg2 commandDear all, I am using Code: ivreg2 command to do my analysis with Stata 15 (IC). However, I need to…
How to construct children data based on their parents' data?Hi all, I have a household dataset in which respondents' data are in a long layout but their childr…
Converting SEM (or GSEM) syntax into a diagramDear all, I am running a syntax for path analysis and CFA using gsem in Stata 15.1, I can't find how…
Mediation using Fixed Effects Negative Binomial RegressionHi all, I am conducting an analysis that is trying to perform a mediation analysis using fixed effe…
Subscribe to:
Post Comments (Atom)
0 Response to DID with Two Separate Cohorts
Post a Comment