Hello,
I am looking at childless men in the UK and I am using panel data which has 9 waves. childlessness is defined as not having a biological children at age (x). I need to create the dependent variable which is (childless) and that is those men who have not had a biological child by age x. one way to get the age cut off is to look at the age of first child and then deiced the age cut off of childlessness.
I have my panel as this
wave pidp (individual id) hidp (household id) (varlist)
I have these variables in my dataset:
year of first child
fathers'birthday
men
I did this command:
gen ageatfirst= year of first child -fathers'birthday
i think I need to use the hidp to do this command is that right? any advice please
Related Posts with age at first child
First differencing and fixed effects?Dear all, I am working with a cross-section cross-time panel dataset with N = 15 (country) and T = …
Problem with capture confirm fileI have a folder containing some 70,000 systematically named files which I am going to merge into few…
consecutive failures in panel dataHi, I was hoping to get some advice on identifying consecutive failures in panel data. I am lookin…
how to check and address endogeneity issueHi.. I have one problem to identify and address endogeneity issue. I want to check relationship bet…
Advice on interpretation of prtest (two sample test of proportion)Hello everybody, As a student assignment, we are conducting research on how different interventions…
Subscribe to:
Post Comments (Atom)
0 Response to age at first child
Post a Comment