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