The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Biomarkers » matching sample size and prevalence of hypertension in India DHS 2015-16
matching sample size and prevalence of hypertension in India DHS 2015-16 [message #14209] Sun, 04 March 2018 20:49 Go to next message
Santosh is currently offline  Santosh
Messages: 8
Registered: January 2018
Location: Tokyo, Japan
Member
Dear Expert,

Currently I am trying to match the sample size and prevalence of hypertension in India using the DHS data 2105-16. I have used the following codes but I am not able to match the prevalence percentage and sample size with the final report of National Family Health Survey (NFHS) 2015-16 report. Please help me to match the prevalence percentage and sample size.

I am using PR file to estimate prevalence. I have attached the stata command file.


Re: matching sample size and prevalence of hypertension in India DHS 2015-16 [message #14237 is a reply to message #14209] Thu, 08 March 2018 08:23 Go to previous message
anjalibansal6693 is currently offline  anjalibansal6693
Messages: 12
Registered: February 2018
Member
You can try this i think you will able to match with the report
gen s1=shb16s
replace s1=. if s1>299

gen s2=shb23s
replace s2=. if s2>990

gen s3=shb27s
replace s3=. if s3>990

gen d1=shb16d
replace d1=. if d1>297

gen d2=shb23d
replace d2=. if d2>299

gen d3=shb27d
replace d3=. if d3>299

gen systolic=int((s2+s3)/2)
gen diastolic=int((d2+d3)/2)


gen hyper=.
replace hyper=1 if (systolic>139|diastolic>89| shb19==1) & (systolic~=. |diastolic~=.)
replace hyper=0 if hyper==. & (systolic~=. |diastolic~=.)
Previous Topic: Replacing table 9.18
Next Topic: Linking HIV Data
Goto Forum:
  


Current Time: Thu Aug 6 09:08:34 Eastern Daylight Time 2020