SAS Programming by Example

SAS Programming by EXAMPLE
Ron Cody and Ray Pass
Preface v
Acknowledgements vii
Manipulating Data
1 INPUT and INFILE
Building a SAS Data Set from Raw Data
2 Data Recoding
Grouping Data Values
3 SET, MERGE, and UPDATE
Reading and Combining SAs Data Sets
4 Table Lookup Tools
Relating Information from Multiple Sources
5 SAS Functions
Data Translation Tools
6 SAS Dates
Reading, Writing, and 'Rithmetic with Date Values
Programming Tips and Techniques
7 SAS Arrays
Avoiding Repetitious DATA Step Coding

8 RETAIN
"Remembering" Values from Previous Observations
Presenting Your Data
9 PROC PRINT
Writing Simple Reports

10 PROC MEANS and PROC UNIVARITE
Producing Descriptive Statistics and Summary Data Sets
11 PROC FORMAT
Using and Creating Formatting Tools
12 PROC CHART
Charting Your Data
13 PROC PLOT
Plotting Your Data
A Collection of Efficiency Tips
14 Efficiency
Making Your Programs More Efficient
Appendix
Problem Solutions
Index