Question: Use the fitness data set (see Table B.4) and proc sgpanel to obtain vertical bar charts showing the means of the BMI variable for each
Use the fitness data set (see Table B.4) and proc sgpanel to obtain vertical bar charts showing the means of the BMI variable for each of the three age groups defined by the AgeGrp variable. Obtain this plot in three panels, each panel corresponding to a level of the WtGrp variable. Make sure that the three panels all appear side by side in one row.
Use appropriate user-defined formats for the grouping variables. (Note:
In Exercise 2.11, the numeric category variable WtGrp that takes values 1, 2, or 3 accordingly as the subject’s weight is ≤140 lbs, over 140 but ≤165 lbs, or above 165 lbs, respectively, and another numeric category variable AgeGrp that takes values ‘A’, ‘B’, or ‘C’ accordingly as the subject’s age is ≤25, values between 25 and ≤45, or above 45, respectively, were created. You may use user-defined formats to enhance the appearance of these levels in the output graphics.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
