Hi everyone, new to Stata here and would love some help. Working on a college thesis project in which I have CPS data. Each row is an individual and the variables include year, state, and a dummy variable for employment status (0=employed, 1 = unemployed, 2 = not in labor force). I am trying to calculate unemployment rate by year and by state (for instance, for all the individuals living in Maine, what is the number of people with employment states 1 divided by the number of people with employment status 0 + number of people with employment status 1) but am unsure of how to do so without hardcoding values (I have been experimenting using 'count if' but have been unsuccessful. Any help would be much appreciated!
-
Login or Register
- Log in with
Comment