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
Special character in Variable labels (German "ä", "ö", "ü", ...)I'am importing a ".dta dataset created by another Software (maybe SAS) and everything workes fine, a…
Missing Standard ErrorsHi Everyone, I am doing a Poisson regression (ppmlhdfe) with a specification using the Zipcode-spec…
How to create observations for missing yearsHey, I want to create new observations for missing years. For example, I have data on wages and mont…
2sls regressionGood afternoon. I have a dataset with these information: - education: dummy skilled/not skilled - A…
Effect of a policyHi there, I need to work out the effect of a policy that was introduced in 2007, which raises the to…
Subscribe to:
Post Comments (Atom)
0 Response to Identify observations in >1 variable
Post a Comment