SAS OnlineTutorback||next

Try It! Using the Clinic.Heart data set, produce a grouped series of statistics.

Creating HTML output? Read this first.

  1. Write a program to report the minimum, mean, and maximum of the variables Arterial, Heart, Cardiac, and Urinary in the data set Clinic.Heart. Remove all decimal places. Include a CLASS statement to group results by Survive and Shock.

  2. Submit the program and examine its output.

  3. Recall the program and change it, using a BY statement this time to group results by Survive and Shock. Remember to insert a SORT procedure with the OUT= option to preserve your original data.

  4. Submit the program and examine its output. Notice the change in appearance.

    Return here and select Next.

Solution
back||next


Copyright © 2002 SAS Institute Inc., Cary, NC, USA.
All rights reserved.

Terms of Use & Legal Information | Privacy Statement