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?
Do file display problemI am using Stata 17 on Monterey on a 4K Retina iMac monitor. Recently the .do file editor started to…
multproc (Why am I getting the same corrected P value)Dear all, I am using the following command to correct for multiple testing. However I keep getting t…
Additional Scalars not Showing Up in Esttab Table - TestparmHi, I'm running four cox models assessing the effect of interactions between different types of soci…
Box-Tidwell Test for Linearity of Logit Regression and RemediesDear all, I am using a Logit Regression to see if companies did recover to their pre-crisis ROA lev…
One line code for dividing all countries by one specific countryI need to divide all countries HS code values by Australia. What code will be the most efficient one…
Subscribe to:
Post Comments (Atom)
0 Response to Matching data over time?
Post a Comment