Hello,
I have a sample from the Current Population Survey (CPS). My data is monthly from 2015-present for the variables empsame, empstat, and labforce. EMPSAME indicates whether or not the respondent was employed by the same employer and the same job he/she reported working as his/her main job in the previous month's survey. What I am trying to do here is to define the "newly employed" as those who responded NO in EMPSAME because this means that they are working for a new employer compared to the previous month.
Once I have the set of "newly employed" in period t, I then want to split it into the ones who were employed in t-1, and those who were not employed in t-1.
I have an identifier variable that gives a unique id for each individual surveyed.
I do not know how I can use the data at hand to achieve the above goal. Any ideas on how to use the identifier to track individuals over each 2 consecutive months to be able to get the 2 sets?
Related Posts with Matching data over time?
toolbar options greyed out on Mac Stata 16/SEHello. I just downloaded Stata 16/SE onto my mac. Some of the buttons on the toolbar and greyed out …
Time Fixed Effect without having a dummy variable possible?Hi everyone, I am not sure if this is a specific Stata question, if not I am sorry. I am working o…
Summary Statistics for panel data yearlyHello. I have panel data for Chinese banks from 2000 to 2019. I want to check the averages of total …
'for each' with svysetHello! I am interested in tabbing values for each value of one variable, with thirteen values. vall…
Calculating only year and months-fixed effects and excluding individual fixed effects Code: xi: xtivreg2 father_childcare fage fage2 i.fmonth i.syear (fretired = fdisc60) …
Subscribe to:
Post Comments (Atom)
0 Response to Matching data over time?
Post a Comment