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
Fixed effects (individual and time), interacting FEs, and Time TrendsHi everyone! I have panel data of the form: Country Continent Year agprod drought ABW LAC 1972…
Stata 17 destring dpcomma does not workHi, recently I updated my stata16 version to stata17 and now have an issue with the command destring…
Help with rangestat calculating moving average results in all missing valuesHello I am trying to calculate the rolling average of the past 36 months (periods) and when I run th…
Mixed effect modelHi Stata experts, I have a longitudinal dataset with outcome recorded at 8 timepoints and exposure …
Merge datasets based on a range of a variableHi Statalist, This is my first post but I have found this forum invaluable in the past. Hopefully …
Subscribe to:
Post Comments (Atom)
0 Response to Minimum wage as state level control
Post a Comment