Thanks very much for your tutorial. Please I am just learning STATA, and I need assistance. So I have 2 separate variable as Systolic and Diastolic. I am now trying to write a condition where STATA can return "normal" for me where the systolic is 140, and then "missing" in places with missing values *for the Systolic g SysBldPressure = cond(inrange(Systolic,140,.), "Abnormal","Normal"). The challenge with this code is that it returns missing values as normal also.
Thanks very much for your tutorial. Please I am just learning STATA, and I need assistance. So I have 2 separate variable as Systolic and Diastolic. I am now trying to write a condition where STATA can return "normal" for me where the systolic is 140, and then "missing" in places with missing values
*for the Systolic
g SysBldPressure = cond(inrange(Systolic,140,.), "Abnormal","Normal").
The challenge with this code is that it returns missing values as normal also.
Profe no me sirve, ayuda
Sorry teacher, it does not workk, help