The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Fertility » Age at first birth (Mother's age at first birth in KR file)
Age at first birth [message #28475] Mon, 15 January 2024 08:51 Go to previous message
Mukesh is currently offline  Mukesh
Messages: 13
Registered: March 2019
Member
From the KR file of NFHS 4, I am trying to generate a variable for the mother's who gave first birth before the age of 18.


	recode v212 (.=0) (0/17 = 1 "yes") (18/49 = 0 "no"), gen (fe_afb_18)
	replace fe_afb_18 = . if v012<18
	label var fe_afb_18 "First birth by age 18"

Why in DHS indicator STATA code at GitHub, https://github.com/DHSProgram/DHS-Indicators-Stata/blob/6c05 87628814ea5ad478ce96b7f91985465a48e3/Chap05_FE/FE_FERT.do, replace [replace fe_afb_18 = . if v012<18]?


 
Read Message
Read Message
Previous Topic: DHSRates R Standard Errors
Next Topic: calculating fertility rates multicountries
Goto Forum:
  


Current Time: Sun Jul 14 13:42:57 Coordinated Universal Time 2024