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 clinrecode 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 and nonuse is coded as
Name this variable MEDBP and assign values as follows:
If BPMEDE or set MEDBP to
If BPMED or set MEDBP to
If BPMED 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 clinrecode 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
