SAS OnlineTutorback||next

Try It! Specify statistics in a summary report of Clinic.Diabetes.

Creating HTML output? Read this first.

  1. Copy and paste the following program into the Program Editor window:
     proc report data=clinic.diabetes nowd;
        column sex weight fastgluc postgluc;
        where age>40;
        define weight / format=comma6.2
                        spacing=4;
        define sex / group width=7
                     spacing=4 center
                     'Sex of/Patient';
        define fastgluc / 'Fasting/Glucose';
        define postgluc / 'Postprandial/Glucose'
                          width=12;
     run;           
  1. For Weight, specify the statistic MEAN and the column heading Average Weight with a split character. Adjust the column width to display the column heading on two lines.

  2. For FastGluc, specify the statistic MIN and the column heading Minimum Fasting Glucose with two split characters to display the column heading on three lines.

  3. For PostGluc, specify the statistic MAX and the column heading Maximum Postprandial Glucose with two split characters to display the column heading on three lines.

  4. Submit the program and view the report.

    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