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
Using macros with Drawnorm to "clone" multiple datasetsHi there I am trying to loop drawnorm over mutiple STATA datasets, however I want drawnorm to use t…
Looping in StataHi, I am facing an issue that I am trying for a while. I want to create a dummy variable taking val…
Oaxaca-Blinder decomposition: percentage greater than 100Dear all, I'm currently running the Oaxaca-Blinder Decomposition on a binary outcome variable, stun…
Interaction terms in regressionHello everyone, I am writing my BA-Thesis in Economics and hope somebody can help me out. First le…
How to compare the slope gradients after mixed commandDear Stata experts, I have a repeated measures study design where subjects were followed over 5 vis…
Subscribe to:
Post Comments (Atom)
0 Response to DID with Two Separate Cohorts
Post a Comment