|
||
Introduction You've learned how to create a SAS data set from raw data that is stored in an external file. You've also learned how to subset observations and how to assign values to variables. This lesson shows you additional techniques for creating and managing variables. In this lesson, you learn how to create sum variables, assign variable values conditionally, select variables, and assign permanent labels and formats to variables. |
Obs | ID | Name | RestHR | MaxHR | RecHR | Tolerance | TotalTime | Cumulative Total Seconds (+5,400) |
TestLength |
1 | 2458 | Murray, W | 72 | 185 | 128 | D | 758 | 6,158 | Normal |
2 | 2539 | LaMance, K | 75 | 168 | 141 | D | 706 | 6,864 | Short |
3 | 2572 | Oberon, M | 74 | 177 | 138 | D | 731 | 7,595 | Short |
4 | 2574 | Peterson, V | 80 | 164 | 137 | D | 849 | 8,444 | Long |
5 | 2584 | Takahashi, Y | 76 | 163 | 135 | D | 967 | 9,411 | Long |
|
Time to CompleteThis lesson contains pages and takes approximately 1 hour to complete. |
ObjectivesIn this lesson, you learn to
|
PrerequisitesBefore taking this lesson, you should complete the following lessons:
|
Copyright
© 2003 SAS Institute Inc.,
Cary, NC, USA. All rights reserved. Terms of Use & Legal Information | Privacy Statement |