Hello stata community,
For my research, I'm working with IPUMS CPS data and would like to see how wage changes but need to control for minimum wage as state-level controls to make sure that hike in minimum wage across states is not biasing my result. Any idea how to do it? For income, age composition, and race composition I do it the following way but for minimum wage, I'm not sure how to do that. Do I need to collect the minimum wage for each state in different years over my whole sample, then need to do something? any help is appreciated.
*Income per capita
*9999999 = N/A
qui egen incpc = mean(inctot) if inctot!=9999999, by(statefip quarter)
*Racial composition
qui egen pblack = mean(black), by(statefip quarter)
qui egen phispanic = mean(hispanic), by(statefip quarter)
*Age composition
*age has no missings
qui gen young= (age>=18 & age<=35)
qui egen pyoung = mean(young), by(statefip quarter)
Related Posts with Minimum wage as state level control
Date Variable to show only yearHello, I was trying to make the date variable below into a yearly variable. I did the following: ge…
Interpretation: Difference in difference on repeated cross section data, ordinal outcome variable.Hey everyone, I'm currently working on a project where I'm trying to analyze health effects of the f…
Interpretation: Difference in difference on repeated cross section data, ordinal outcome variable.Hey everyone, I'm currently working on a project where I'm trying to analyze health effects of the f…
Margins for multi equation regression with transformed predictionsHello everyone, Question: Using the -margins- command, is it possible to combine the selection of …
Examine treatment effect at different follow-up periods in difference-in-difference analysesHi Statalisters I want to examine the effect of an intervention at different follow-up points. I'm …
Subscribe to:
Post Comments (Atom)
0 Response to Minimum wage as state level control
Post a Comment