Hello everybody.
I want to track when a group of individuals changes from one employer to another due to privatization, ultimately testing how privatization affects the group by comparing them to a control group. I know when a change occurs (the year and the month) and the involved employers. I have a numeric ID-variable, a numeric EMPLOYER-variable, a YEAR-variable, a MONTH-variable, background variables, and many outcomes. The dataset is in a long format. Let me describe my issue with the following example:
A group of employees changes from employer “100” to employer “200” on Jan 1, 2014. Such a dataset, containing only individuals involved in a particular case of privatization (i.e., only employees who have employer 100 or 200 in 2013 or 2014), would have around 400.000 observations.
I have tried different things like collapsing the dataset by ID and EMPLOYER, followed by duplicating the observations. This approach allows me to count the number of months an individual has an employer in 2013 and 2014. However, I do not know whether the employees shift from 100 to 200 or the other way around. I could browse all the remaining observations and assess them separately, but that is error-prone and time-consuming.
I know that there are many helpful Stata commands for longitudinal data analysis, but not precisely how to deal with this issue. Any help will be great!
Related Posts with Identifying a change in employer in panel data
PDF documentation don't show up in STATA 16 using Ubuntu 20.04.2 LTSI just installed STATA 16 in my Ubuntu machine and everything is running well. However, when I need …
Small issue in installing -rcall-Hi stateliest, I'm trying to install a package named "rcall", but has a small issue with that. I'm u…
PML model or analysisplease i need help how to perform PLM model in stata? …
How to split lines into separate ones?Dear all, My data has about 200,000 observations and it has two distinct ids (Rank and NCTId), Date…
Interpreting marginal effect of gologit2 using mfxHi all, I'm running a generalised ordered logit regression using the gologit2 command and then usin…
Subscribe to:
Post Comments (Atom)
0 Response to Identifying a change in employer in panel data
Post a Comment