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
Measures of accuracy of predicted probabilities (QPS), (LPS), (KS) Hello all, I am trying to predict future recessions using a Probit model and now I want to evaluat…
non-stationary dependent variableDear all, Hope you are well. I am using panel data and I have found out that my dependent variable …
Gini coefficient by group and yearGreetings, Hope everyone is keeping safe. I would like to compute the Gini coefficient for a large…
Does the hierarchical logistic model increase the validity of the pscore?Hi! I have a question about predicting the propensity scores. Based on what I learnt, if the indepen…
marginal effect of firthlogitDear Statalists, I tried to calculate the marginal effect of firthlogit. I use "margins , expression…
Subscribe to:
Post Comments (Atom)
0 Response to CSDID Implementation after collapsing on state level
Post a Comment