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
Python Integration - Matplotlib Error (suggested fix does not work)I've seen this before, but the answer didn't work for me. I'm using Stata 16, and Python 3 under Ana…
Differences between cap and quiDear all, does anyone know the differences between the commands capture and quietly? So far it seem…
dropping per ID if condition is metHi Statalist, I can't seem to fulfill the following in stata, perhaps one of you would know the ans…
Multiple Line Graph of MeanHello! I'm very new to Stata (I just started using it yesterday) and I'm trying to figure out how t…
Introducing 'pmanage' utility to efficiently compile large projects and detects I/O errorsWe are pleased to introduce pmanage, a utility that leverages Robert Picard's project to efficiently…
Subscribe to:
Post Comments (Atom)
0 Response to DID with Two Separate Cohorts
Post a Comment