The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Biomarkers » 'Percentage measured for blood pressure' - Namibia 2013 (The variable used for 'Percentage measured for blood pressure' in the final report)
Re: 'Percentage measured for blood pressure' - Namibia 2013 [message #19990 is a reply to message #19943] Fri, 11 September 2020 10:44 Go to previous messageGo to previous message
ALICE -DHS USER is currently offline  ALICE -DHS USER
Messages: 8
Registered: September 2020
Member
Hello Shireen

For table 17.4.1 and 17.4.2 I am having difficulty matching the total number for the 'Normal Blood Pressure and taking medication' column.
The code I have tried is below however I think I have overlooked something because the number I am getting are too large.
E.g. 5.9% of 1406 men had 'Normal Blood Pressure and taking medication' so I am trying to get a number close to 82.954 however with my code I get 123.23402.
For weighting I have been using the gen wt=hv005/1000000 for my tables.

Any advice about where I am going wrong would be very helpful.

Thank you
Alice

* Normal BP and taking medication
* normal BP
gen nbp = 0
replace nbp = 1 if inrange(sh335aa,30,139) | inrange(sh335ab,0,89)

* normal BP and medication
gen nbp_med = 0
replace nbp_med = 1 if sh319a== 1 & nbp == 1

 
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: Standardizing glucose measurements across surveys
Next Topic: Diabetes and Hypertension
Goto Forum:
  


Current Time: Thu Mar 28 09:12:36 Coordinated Universal Time 2024