The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Fertility » NFHS-4 Median Birth interval (Median birth interval does not match NFHS-4 report)
NFHS-4 Median Birth interval [message #17992] Sun, 11 August 2019 11:28
dfnbcc is currently offline  dfnbcc
Messages: 3
Registered: June 2019
Member
Hello,

I am trying to calculate the median birth interval using STATA from the NFHS-4. However, I am getting the wrong median compared to the report. The report says the median in India is 32 months, however, I am getting 28 months.

I am subtracting 9 months from the variable as I want birth-to-pregnancy interval, not birth-to-birth. But even if I don't subtract 9, I get different values.


use IABR74FL.dta
gen weight=v005/1000000

rename sdistri shdistri
tostring  shdistri, replace 
gen strata = shdistri
svyset v021 [pweight=weight], strata (strata)

keep shdistri v008 b3 bord b0 b11 v106 hv024 v025 v190 v447a v133 s301 hv001 hv002 hvidx v005 v021 weight strata


*Births in the month of interview are included and births 60 months before the interview are excluded.
	gen monthssncbirth=v008-b3
	replace monthssncbirth=. if monthssncbirth<=60
	drop if monthssncbirth==.
	
*First-order births (and their twins) are excluded from both numerators and denominators.	
	svy: tab bord
	gen birth_order=bord if (b0 > 1) 
	svy: tab birth_order

*subtract by 9 months to find birth-to-pregnancy interval (WHO)
	gen birth_interval=b11-9 
	replace birth_interval=. if birth_interval<0

Would appreciate some help please.

Thank you and best,
Dafna
Previous Topic: median birth interval and svyset
Next Topic: cannot reproduce TFR using R-package DHS.rates
Goto Forum:
  


Current Time: Sat Dec 7 09:02:46 Coordinated Universal Time 2024