I have been trying to use calloway and Santanna DiD on IPUMS CPS data but not doing so well due to having repeated cross section.
The other day I came across an online thread where it was suggested that if I collapse it on state level then this will be easy to implement due to the nature of repeated cross section. At first I clean and collapse the data at state level in stata then I run the CSDiD on R.
If anyone can kindly give me a feedback on my coding , that's going to make a big difference in further progress of my research.
*** Collapsing on state level ( I collapsed year but I ain't sure that's a right thing to do or not . However, I'll need the year variable for CSDID implementation later )
collapse ln_incwage male ismarried wasmarried age black asian hispanic lths hsdegree somecollege law_change year gvar [aw=asecwt], by(statefip)
Does the collapsing on state level seem reasoanble ?
Related Posts with CSDID Implementation after collapsing on state level
Correlation and regressionHello, I have an assignment due next wednesday and I was wondering if I could please get some help …
Panel Fixed Effect, Clustering Standard Error (Panels are not nested within clusters)Hi there, First off, thank you for taking your time to read through my question. I have a panel dat…
Changing a variable by a factor of 1000Hi, I have a float variable of birth weight in grams but there are approximately 250 entries which h…
Regressing panel data returns "repeated time values within panel"Hi somebody there. I am new to start and I am trying to regress panel data from a huge cohort that f…
rerun the code to count TFP and error continues to emerge as saying missing values in cluster variable __000002 not allowedHi, I am using almost the same code to count TFP, but it continues to saying" missing values in clus…
Subscribe to:
Post Comments (Atom)
0 Response to CSDID Implementation after collapsing on state level
Post a Comment