ebook: SAS® Guide to Report Writing: Examples, Second Edition
Contents
Acknowledgments v
Chapter 1 Writing Reports with SAS 1
Chapter 2 Detail Reports 9
Example 2.1 Listing Selected Observations in a Specific Order 11
Example 2.2 Ordering the Rows of a Report 14
Example 2.3 Placing Data That Is Constant for a Category in Titles 20
Example 2.4 Summarizing the Rows of a Report 26
Example 2.5 Summarizing Columns and Rows 31
Example 2.6 Suppressing the Display of Specific Columns 38
Example 2.7 Presenting Multiple Observations per Report Row 42
Example 2.8 Presenting Long Text Fields in a Report 50
Example 2.9 Listing the Rank and Percentile for Each Observation 53
Chapter 3 Summary Reports 59
Example 3.1 Summarizing Data 61
Example 3.2 Computing Descriptive Statistics for Specific Groups 69
Example 3.3 Displaying Descriptive Statistics in a Tabular Format 87
Example 3.4 Displaying Basic Frequency Counts and Percentages 93
Example 3.5 Producing a Hierarchical Tabular Report 104
Example 3.6 Creating Multipage Summary Tables 108
Example 3.7 Assigning Multiple Labels to Categories 114
Example 3.8 Writing Customized Lines in Summary Reports 118
Example 3.9 Reporting on Multiple-Choice Survey Data 123
Example 3.10 Reporting on Multiple-Response Survey Data 136
Chapter 4 Customized Reports 143
Example 4.1 Customizing a Detail Report with Individualized Page Headers 145
Example 4.2 Creating a Customized Table of Descriptive Statistics 152
Example 4.3 Customizing the Presentation of Analyses 163
Chapter 5 Multipanel Reports 173
Example 5.1 Constructing a Basic Multipanel Report 175
Example 5.2 Constructing an Advanced Multipanel Report 178
iv Contents
Chapter 6 Enhancing Reports with ODS 183
Example 6.1 Customizing a PROC REPORT Detail Report 187
Example 6.2 Customizing a PROC REPORT Summary Report 193
Example 6.3 Customizing a PROC TABULATE Report 199
Example 6.4 Adding “Traffic Lighting” to a Report Created by
PROC REPORT 203
Example 6.5 Adding “Traffic Lighting” to a Report Created by
PROC TABULATE 209
Example 6.6 Including Images in a Report Created by PROC REPORT 212
Example 6.7 Including Images in a Report Created by PROC TABULATE 216
Example 6.8 Presenting Graphics and Tables in the Same Report 220
Example 6.9 Placing Hyperlinks in a Report 225
Example 6.10 Customizing the Appearance of a Detail Report Created by
PROC PRINT 233
Example 6.11 Customizing a Multipanel Report Created by PROC REPORT 238
Example 6.12 Customizing the Appearance of a Report Produced by a
DATA Step 241
Example 6.13 Condensing a Multipage, Multitable Report to One Page and
Customizing the Output 249
Example 6.14 Defining a Reusable Generic Style 253
Example 6.15 Organizing Results into Tables Using ODS 258
Appendix A Creating the Example Data Sets 267
Appendix B Cross-Reference of the Examples in This Book 285
Index 291


雷达卡






京公网安备 11010802022788号







