I will like to create a hypertension (hyp) variable using the averages of three systolic (sbp) ie sbp1, sbp2, sbp3 and three diastolic (dbp) ie dbp1, dbp2, dbp3 blood pressures into a binary outcome (0= “no”, 1= “yes”). Where hypertension is defined as meansbp=>140 and meandbp=>90. How do I go about this process? How do I ensure that missing values are not represented as large values in Stata?
I will appreciate help from anyone familiar with the Demographic and Health Surveys (DHS) and or the World Health Organization’s Study on Adult Health and Global Ageing (SAGE). I’m also open for help from experts in Stata in general
I will appreciate your timely response.
Emmanuel
Related Posts with Generating hypertension (hyp) variable using systolic and diastolic blood pressures
Combining Graphs using distplotDear Statalist, I was hoping to get some help on graph output. So I am reading this paper that show…
How to print the help file in STATA with all the word retained?Hi all, When I try to print from STATA help file, I faced the problem of the word at the right part…
restricted mean survival time with stpm2_standsurvDear Paul Lambert, I have encountered the following error message after attempting to use the rmst …
qui being ignored in xtgcauseWhen I run Code: qui xtgcause y z , lags(2) it does not run entirely quietly but displays yzyzid. I…
Help with labels on bar graphI am trying to create a horizontal bar graph grouped by categories. I wanted to add two labels to th…
Subscribe to:
Post Comments (Atom)
0 Response to Generating hypertension (hyp) variable using systolic and diastolic blood pressures
Post a Comment