Dear forum users,
I would like to create a variable containing the employment status of the partner of a person.
Each individual in my paneldataset has a unique personal identifier 'pid'. Furthermore, if an individual has a partner in the dataset, their partner can be identified by variable 'partnerid', which takes the pid value that corresponds to the individual's partner. A individual can have more than 1 partner and some do not have any partners. I can't find a way to generate a variable for the employment status of the partner, which should be a missing value if the person does not have a partner.
I already looked at: https://www.stata-journal.com/sjpdf....iclenum=dm0043 but do not understand how I can apply their tips to solve my problem.
Best,
Jakob
Related Posts with Employment status for partner
How to change the values of timer in the unit of hours rather than the seconds?The output of command timer is in the unit of seconds, how to cite it and display the duration in se…
Problem Collapsing DataHello All, I have a panel dataset with 28 years and several U.S. states. Currently, I am trying to …
Collinearity in FE RegressionHi, I am running a FE regression to study the effect of diversification (GSDiv) on firm performance …
treatment effects regression adjustmentsHello everyone, I am working on the treatment effects regression adjustments (treatment variable is…
How to cumulate the contents of string variables by id?As far as I know, sum is used for numberic variables, how about the string variables? Here is the da…
Subscribe to:
Post Comments (Atom)
0 Response to Employment status for partner
Post a Comment