You have a SAS data set called HOSP, that contains a patient ID, gender, date of birth (DOB), date of service (DOS), length of slay (LOS), systolic blood pressure (SBP), diastolic blood pressure (DBP), and heart rate (HR). Run the following program to create this data set:
Create a new data set (NEW_HOSP) that contains all of the variables in HOSP, plus the following:
(a) The base 10 log of LOS (call it LOG_LOS).
(b) The patient's age, as of his/her last birthday, on the date of service (ca.1I it AGE_LAST)
(c) A new variable (X) computed as the square root of the mean of the systolic and diastolic blood pressures, rounded to the nearest tenth.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here