Marriage before 18 years [message #30435] |
Thu, 28 November 2024 06:26 |
marian
Messages: 14 Registered: August 2019
|
Member |
|
|
Hi,
Please help with the code for marriage before 18 years among women aged 20-24 years, as shown in the NFHS 5 reports. I have used the below code, but the data is not matching factsheet reports:
gen national_wgt = v005 / 1000000
recode v511 (.=0) (0/17 = 1 "yes") (18/49 = 0 "no"), gen (ms_afm_18)
replace ms_afm_18 = . if v012<18
label var ms_afm_18 "First marriage by age 18"
tab v024 ms_afm_18 [iw=national_wgt] if v012>19 & v012<25, row
Please help.
|
|
|