SAS OnlineTutorback||next

Try It! Using the Clinic.Admit data set, format cell widths and summary values.

Creating HTML output? Read this first.

  1. Copy the program below and paste it into the Program Editor window (or issue the command copy sashelp.oltutor..source).
    proc tabulate data=clinic.admit;
       class actlevel;
       var age;
       table actlevel all,age*mean;
       where sex='F';
       label actlevel='Activity Level';
       keylabel all='All Levels'
                mean='Average';
       title1 'Statistics for Females';
       footnote;
    run;
    
    
  2. Specify a format that creates table cells that are 9 spaces wide and that display summary values with no decimal places.

  3. Submit the step and view the output.

    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