SAS OnlineTutorback||next

Try It! Subset data while concatenating Clinic.Stress98 and Clinic.Stress99.

Creating HTML output? Read this first.

  1. Write a DATA step to create a new data set, Work.Combined, by concatenating Clinic.Stress98 and Clinic.Stress99.

    For the new data set, select only observations in which the value of RestHR is lower than 72. Add data set options to prevent the variables TimeMin and TimeSec from being read from Clinic.Stress99, and drop the variable RecHR from the new data set.

  2. Submit the program and view log messages about the DATA step. Does Work.Combined contain 8 observations and 8 variables?

  3. Print Work.Combined and scroll through the output. Do all observations have values lower than 72 for RestHR?

     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