The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Nutrition and Anthropometry » Error calculating the prevalence of stunting and wasting
Error calculating the prevalence of stunting and wasting [message #13940] Sat, 27 January 2018 07:15 Go to next message
tschoudhary is currently offline  tschoudhary
Messages: 7
Registered: January 2018
Member
I have been trying to calculate the rate of stunting and wasting as per age categories from the NFHS 4 data set for India using Stata 15.1 .I am using the children re-code data set. The sequence i am using is as follows:

gen weight = v005/1000000
gen haz = hw70/100
svyset [pweights = weight], psu(v001) strata(v022)
svy: tab haz

the estimate gives the number of cases as 250002 and weighted cases as 215489

this is not in line with the unweighted and weighted case of 232,400 and 219,760 mentioned in the national report

Kindly help me in understanding what exactly am i missing here.
Re: Error calculating the prevalence of stunting and wasting [message #13941 is a reply to message #13940] Sat, 27 January 2018 15:36 Go to previous messageGo to next message
tschoudhary is currently offline  tschoudhary
Messages: 7
Registered: January 2018
Member
figured it out. was using KR file instead of PR file.
Re: Error calculating the prevalence of stunting and wasting [message #17986 is a reply to message #13940] Sat, 10 August 2019 16:41 Go to previous message
marian is currently offline  marian
Messages: 2
Registered: August 2019
Member
I am facing errors between output and prevalence estimates in NFHS 4 factsheets only for all 3 anthropometry indicators (other variables output is matching). I have checked both PR and KR recode files and used all weights. Now PR file has been removed from database, does that mean I must refer to another file?.. What should I do?

[Updated on: Sat, 10 August 2019 16:41]

Report message to a moderator

Previous Topic: Merging NFHS4 files
Next Topic: Nutritional Status among Children Age 5-19 Years
Goto Forum:
  


Current Time: Sun Sep 22 06:50:27 Eastern Daylight Time 2019