Hi there, I am currently completing my honours thesis and have been confronted with quite an obstacle due to the nature of my data. I am working with longitudinal LSAC data which has a K-cohort (aged 4-5 in 2004) and a B-cohort (aged 0-1) for the study children in the sample. I have cleaned the data for the respective cohorts, and now am using the command append to import each of the dta files for the cohorts.
The variable “cohort” is coded “B” or “K” for each child, and I have also generated binary Bcohort and Kcohort terms too.
I have then merged the test-score outcomes (Australian NAPLAN scores) on these files using merge m:1 with my “many” variable being the identification number of the child. This all works fine in my code. Whether this is where I have slipped up??
My DID is looking at those B-cohort study children in the state of NSW compared to that of the K-cohort, as in the time period between the cohorts a $77 million NSW policy injection happened only in NSW.
My issue arises when attempting to identify the treatment variable (NSW B cohort) against those who were not in NSW, and also the K cohort who never experienced any form of policy injection.
My question is: is it possible to be able to create these respective control and treatment groups and run a DID between them?
I am under the impression that the “diff” command does not allow me to specify a control group as such. Is there away around this? Is there a different more efficient way of computing a DID with two separate cohorts?
Any suggestions or recommendations would be really appreciated.
Thanks,
A stressed honours student
Related Posts with DID - specifying control cohort and treatment cohort
Generate variable and fill up missing valuesHello, I have a list of companies (id) and I want to identify the highperfomer (money = 5). Unfortun…
Plotting pre-treatment parallel trendI am trying to draw a common pre-trend graph for a diff-in-diff design. My treatment group is made o…
System GMM: estimates post: matrix has missing values errorHi there, I'm trying to update the IMF working paper on Redistribution, Inequality and Growth (2018…
Missing observationsHello, I am currently doing my thesis for my Master's and needed help with Stata. I wanted to run a …
Levels of multiple similar variablesDear all, I have a data-set like the one below which reports the share of let's say export of ID to…
Subscribe to:
Post Comments (Atom)
0 Response to DID - specifying control cohort and treatment cohort
Post a Comment