Hello,
I wonder if anyone could help with the following:
I have 2 variables with unique identification (ID) numbers with over 30 years of follow-up time. One is ID numbers for children and the second is the ID numbers of their mothers.
Example:
ChildID:-------------MotherID:
10---------------------------20
11---------------------------21
12---------------------------10
13---------------------------22
I want to identify children who are now also mothers in the dataset. For example Child ID10 above is now also a mother. Is there a way I can create a variable to identify which children subsequently became mothers based on their ID numbers?
Thank you,
Gillian
Related Posts with Identify observations in >1 variable
what should we do if after first differences the non-stationary of panel data still remained?hello everyone, I use a panel data and do after running the regression I get the residual and to fol…
IV regressions with interaction termsDear Stata community, I'd like to run an IV regression with interaction terms between the endogenou…
Transform data from wide to long but then lots of values/observations went missing.Hi everyone, I have a dataset with dimension of individuals, observations (e.g income, total broadc…
Referring to a certain value when generating a new variableHello, I want to refer to a certain value when generating a new variable. My panel dataset looks a…
how can concat observation data by IDI have the dataset like this: ID Course 1 MS Word 1 MS Excel 2 Windows 2 DOS I want to change it a…
Subscribe to:
Post Comments (Atom)
0 Response to Identify observations in >1 variable
Post a Comment