Hello STATALIST community,
I am a desperate student at the University of Konstanz in Germany and I am currently writing my master thesis. I hope to get some help this way. Unfortunately, I am not that familiar with Stata.
As you can see in the picture, persons can either be a child or a father (=head). I have given a household identifier (hid), person identifier (pid), survey year (syear) and the relationship to household head (d11105) as variables. It can happen that a child later has his own household and becomes a household head.
I would like to keep only those individuals/children (+ keep their fathers) in which they first appeared as a child and disregard those adult children which create their own family later.
I tried to find a solution on the Internet, but did not find any. I am very grateful if you can help me. I am sure there is a simple solution, but I know too little about STATA.
Best regards from Germany
Related Posts with Keep only children and disregard adult children which start their own family
Help with Logit in panel data and measuring a time invariant independent variable.HI statalist, I'm trying to run a panel data regression where the dependent variable is a binary va…
Replacing valuesHi all, I have a dataset containing values ranging from 1 to 3. I'd like to replace all the 1 to 3,…
Instrumental Variable with binary endogenous variable and interactions and fixed effects - please help!Hello everybody, I please need your help, since I don't know how to proceed with my research. I'm…
Testing if coefficients are statistically different from each otherHi, I have run the two regressions below. The method variables are different for Dry Recycling and C…
Plotting variable around certain thresholdHi Statalist members, I am working with survey balanced panel data covering 32 waves. I am analyzin…
Subscribe to:
Post Comments (Atom)
0 Response to Keep only children and disregard adult children which start their own family
Post a Comment