Use the data set HOSP from problem 17.1 and create two vertical bar charts; one for the day of the week (formatted please) and one for the month of the year (no need to format) of the date of service....


Use the data set HOSP from problem 17.1 and create two vertical bar charts; one for the day of the week (formatted please) and one for the month of the year (no need to format) of the date of service.


Problem 17.1


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.



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here