Question

Status:Closed    Asked:Dec 03, 2015 - 10:17 AM

Number of children under 18 in household

I'm trying to create a variable that is the number of own children in the household under the age of 18. Is there anyway to do this using the NCHILD and YNGCH varaibles?


Thanks!

 
Do you have the same question? Follow this Question
 

Answers

Hello,


I think it would be easier to use the MOMLOC and POPLOC variables. You can identify whether a person in the household is under 18, and then sum that up by MOMLOC and POPLOC, then merge those sums back into the original data. For instance, in Stata you would do something like:


preserve

gen nlte18 = (age <= 18)

collapse (sum) nlte18, by(year serial momloc)

rename momloc pernum

save kidspermom, replace

restore

merge 1:1 year serial pernum using kidspermom


Now, for each respondent, the variable nlte18 denotes the number of children less than or equal to age 18 in the same household who reported that respondent as being their mother.

 

Dec 10, 2015 - 11:47 AM

0
0
Report it

OTHER QUESTIONS NEEDING ANSWERS

children's age
Any variables that can be used to get the total number of children in the hou...
Number of children between the ages of 0-6 and 7-18 in IHIS data?
In the USA PUMS file is there pointer variable to give members of a household...
Single Fathers living with children under 18
Login   |   Register

Recently Active Members

View More »

Share |