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 draw two base lines using coefplot command on stata.Hey! I'm trying to create a graph similar to the one attached with this post. I have two problems: 1…
Converting week to dateHi there, I'm currently working on a data that consist of 'date of birth' and 'gestational age' in …
-tabplot- (SSC) ignoring scheme-specific subtitle size?Dear Nick, I use -tabplot- from SSC in version 2.7.2 NJC 30 June 2017 and wonder why -tabplot- ignor…
Generating status variable for firmDear Statalist users, I have panel data for firms involved in international trade. t1 is my variabl…
Psmatch and questions about itHi, I would like to investigate the effects of a natural disaster on individuals. Therefore I have …
Subscribe to:
Post Comments (Atom)
0 Response to Employment status for partner
Post a Comment