SAS OnlineTutorback||next

Try It! Using the Clinic.Admit data set, specify variables in a PROC TABULATE step.

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 ?
       var ?
       table sex,(height weight)*mean;
    run;
  2. Edit the program, completing the CLASS and VAR statements with variables specified in the TABLE statement. End each statement with a semicolon. Note that MEAN is a statistic, not a variable name, so it does not belong in a CLASS or VAR statement.

  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