Problem
Merge together the permanent SAS datasets HOSP and BLOOD from the Codybook files keeping only subject numbers found in the BLOOD dataset. In this dataset, calculate the age of each subject at the date of admission.
Using PROC MEANS with a CLASS statement and this merged dataset, report the number of values, average, and standard deviation for RBC and WBC broken down by gender and the following four age groups: 18-<35, 35-<45, 45-<65, 65+ years.
Accomplish by creating a format for age. Do not use a DATA step to create these age groups.
a) What is the mean WBC for females in the age group 35-<45?
b) How many females in the age group 35-<45 were missing a WBC value?