Question: create a new data set called clin 6 _ recode with the following specifications: a . Exclude any records where AGE is missing. b .

create a new data set called clin6_recode with the following specifications:
a. Exclude any records where AGE is missing.
b. Create a numeric indicator variable for use of blood pressure medication, where use is coded as 1 and non-use is coded as 0.
Name this variable MEDBP and assign values as follows:
If BPMED2=.E,0, or 2, set MEDBP to 0.
If BPMED2=1 or 3, set MEDBP to 1.
If BPMED2 has some other value, MEDBP should have a missing value.
c. Create a new variable BPCAT that assigns high, medium, and low blood pressure categories based on SYSBA according to the guidelines below.
Be sure to include a statement in your code that will ensure values for BPCAT are not truncated.
(Assume that LOW, MEDIUM, and HIGH represent the full range of values for BPCAT).
SYSBA BPCATUsing the clin6_recode data set and an appropriate procedure, determine the percentage of patients in the high blood pressure category who are using blood pressure medication.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!