FITNESS Data Set

DATA Step That Creates the FITNESS Data Set

data fitness(label  = 'Exercise/fitness study table');
   input age weight runtime rstpulse runpulse maxpulse
         oxygen group;
   label age       = 'Age in years'
         weight    = 'Weight in kg'
         runtime   = 'Min. to run 1.5 miles'
         rstpulse  = 'Heart rate while resting'
         runpulse  = 'Heart rate while running'
         maxpulse  = 'Maximum heart rate'
         oxygen    = 'Oxygen consumption'
         group     = 'Experimental group';
   cards;
57 73.37 12.63 58 174 176 39.407    2
54 79.38 11.17 62 156 165 46.080    2
52 76.32 9.63 48 164 166 45.441     2
50 70.87 8.92 48 146 155 54.625     2
51 67.25 11.08 48 172 172 45.118    2
54 91.63 12.88 44 168 172 39.203    2
51 73.71 10.47 59 186 188 45.790    2
57 59.08 9.93 49 148 155 50.545     2
...more datalines... .
;;;;
Figure ...

Get SAS® Guide to Report Writing: Examples, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.