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
DID function error regarding group specification issueI am trying to use Difference-in-difference FE function under statistics - treatment effect menu. H…
Clarification on choice of random seeds and how often to set seedsStata's help documentation for set seed (https://www.stata.com/manuals/rsetseed.pdf) emphasizes that…
Instrumental Variable for endogenous Dummy variable in Panel DataHello everybody, I am trying to estimate this model using IV: Y = B0 + B1D + B2X + U, with D endogen…
Breusch and Pagan testHi everyone, I'm doing a research for my thesis about OECD countries, I've done some regressions and…
How to rename x variables in a bar graph?My dichotomous independent variable is coded as 0 and 1, and remains shown as 0 and 1 in a bar graph…
Subscribe to:
Post Comments (Atom)
0 Response to Generating hypertension (hyp) variable using systolic and diastolic blood pressures
Post a Comment