'Percentage measured for blood pressure' - Namibia 2013 [message #19923] |
Tue, 01 September 2020 14:42 |
ALICE -DHS USER
Messages: 8 Registered: September 2020
|
Member |
|
|
Hello,
I am using the Namibian DHS 2013 to look at hypertension and I am beginning by matching my tables in STATA with the tables in the final report to ensure I am using the right dataset.
For Table 17.1 of the Namibia 2013 DHS the table include 'Percentage measured for blood pressure^1'. I wondered if anyone would be able to advise me which variable was used to determine this, as there were three measurements taken and different numbers consented each time. I have tried to create tables with a number of the consent or measurement variables but I have not been able to get the numbers to match. The column heading in the table does have the superscript 1 although I haven't been able to find this explained or detailed in the footnotes of the table.
Any suggestions for the variable that would be used would be much appreciated, thank you :)
|
|
|
|
|
Re: 'Percentage measured for blood pressure' - Namibia 2013 [message #19931 is a reply to message #19929] |
Thu, 03 September 2020 10:51 |
Shireen-DHS
Messages: 140 Registered: August 2020 Location: USA
|
Senior Member |
|
|
Hello Alice,
Following the ranges described on p241 of the final report, please use the following Stata code to match Table 17.4.1.
Best,
Shireen
*** Stata code for Table 17.4.1 Namibia 2013 survey ****
gen bpmeasured=0 if inrange(hv105,34,65) & hs0!=.
replace bpmeasured=1 if sh333==1
gen wt=hv005/1000000
gen bplevels=0
replace bplevels=1 if sh335aa<120 & sh335ab<80
replace bplevels=2 if inrange(sh335aa,120,129) | inrange(sh335ab,80,84)
replace bplevels=3 if inrange(sh335aa,130,139) | inrange(sh335ab,85,89)
replace bplevels=4 if inrange(sh335aa,140,159) | inrange(sh335ab,90,99)
replace bplevels=5 if inrange(sh335aa,160,179) | inrange(sh335ab,100,109)
replace bplevels=6 if sh335aa>180 | sh335ab>110
replace bplevels =. if bpmeasured==0 | !inrange(sh335aa,30,300) | !inrange(sh335ab,0,160)
label define bplevels 1"optimal" 2"normal" 3"high normal" 4"mildly elevated" 5"moderately elevated" 6"severely elevated"
label values bplevels bplevels
*for women - Table 17.4.1
tab bplevels if hv104==2 [iw=wt]
|
|
|
|
|
|
|
|
|
|
|