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
Cannot paste table ( pasted as picture) from Stata output to excel?Dear all, I am now trying to copy and paste from the Stata output table to excel. I use 'copy as a …
How to avoid changing directory every time?I am using two devices, every time that I want to open the do file that I developed on the other dev…
break lines in string variables used for labeling mapsHi, I'm trying to use a string label to label a map generated using the grmap command. That is, whe…
Model selectionHi, A reviewer asked me to explain why I selected Log-Linear Model for the panel data in my submitt…
60 month rolling averageHello Community, I have a paneldataset with 913 companies and monthly return data (log returns) and…
Subscribe to:
Post Comments (Atom)
0 Response to DID - specifying control cohort and treatment cohort
Post a Comment