SAS OnlineTutorback||next

Try It! Select observations based on a condition using Clinic.Stress2.

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).
    data work.testtime;
       set clinic.stress2;
    run;
    
  2. Modify the DATA step to select only observations in which the value of MaxHR is less than 175.

  3. Submit the program and view the log messages about the DATA step. Work.TestTime should contain 12 observations.

  4. Print the data set and scroll through the output.  Do all the observations have a value lower than 175 for MaxHR?

     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