SAS OnlineTutorback||next

Try It! Select observations and summarize categories using Clinic.Admit.

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,age*mean;
    run;
  2. Modify the TABLE statement to produce a row that summarizes all values of ActLevel.

  3. Add a WHERE statement to select only observations for female patients (where the value of Sex  is F).

  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