SAS OnlineTutorback||next

Try It! Using the Clinic.Admit data set, create a table with three dimensions.

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 
    format=9.;
    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. Add a page-expression to the TABLE statement to create a table with separate pages for values of Sex. Delete the WHERE statement and cancel all titles.

  3. Specify Sex in the CLASS or VAR statement as appropriate.

  4. 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