The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Nepal » Nutritional status of women
Re: Nutritional status of women [message #24701 is a reply to message #23389] Thu, 23 June 2022 15:28 Go to previous messageGo to previous message
Varsha is currently offline  Varsha
Messages: 39
Registered: November 2020
Member
I am using the following command to get nutritional status of women:
cap drop BMI
recode v445 (min/1849=0 "Too thin for their height")(1850/2499=1 "Normal")(2500/5999=2 "Overweight or Obese") (else=.), gen (BMI)
lab var BMI "Body Mass Index Women"
preserve
keep if inrange(b19_01, 2, 460) | inlist(v213, 0)
svy: tab BMI v025 , format(%13.4g) col obs ci

But I am getting the correct point estimate using the following code:
gen bmic=.
replace bmic=1 if v445>=1200 & v445<1850
replace bmic=2 if v445>=1850 & v445<2500
replace bmic=3 if v445>=2500 & v445<6000
replace bmic=. if (v213==1 | b19_01<2)
label define bmic 1"Underweight" 2"Normal" 3"Overweight/Obese"
label values bmic bmic
svy: tab bmic v025, format(%13.4g) col obs ci

Why am I getting the difference?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DHS 1996, 2001, 2006 village names
Next Topic: Replicating some variables
Goto Forum:
  


Current Time: Tue Nov 26 23:36:14 Coordinated Universal Time 2024