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
Multiple Line Graph assistanceHi, I have read many papers on redistribution which have illustrated several graphs of total fiscal…
stpm2cr: initial values not feasibleHi there, I ran the stpm2cr function on my HIV/AIDS data set. I considered AIDS, non-AIDS diseases …
Firthlogit postestimationHello, I'll need help with the estimation of marginal effects using firthlogit. I'm working with du…
Referring to previous observation that differs from current observation of same variableHello, I am very new to Stata, so please excuse my inexperience. I am using a data set comprised b…
omitted variables by xtregHi, I am doing a panel data regression using xtreg but on the results, it omits all of the variables…
Subscribe to:
Post Comments (Atom)
0 Response to Identify observations in >1 variable
Post a Comment