You are previewing SAS® Guide to Report Writing: Examples, Second Edition.
O'Reilly logo
SAS® Guide to Report Writing: Examples, Second Edition

Book Description

Jump-start your report-writing skills! Report writing has never been easier. Learn how you can easily avoid common report-writing pitfalls with SAS Guide to Report Writing: Examples, Second Edition. Updated for SAS®9, this task-oriented book guides you through the steps that you need to produce professional reports. Using a wealth of easy-to-follow examples, this time-saving book demonstrates the many different styles of reports that are available and the SAS tools used to generate them. The examples enable more experienced programmers to quickly grasp new techniques, while margin notes and additional discussions provide novice users with the details that they need for effective learning. You can save programming hours by using the SAS programs as they are or as models for developing your own reports. Whether you are a beginner or an expert, this must-have guide will strengthen your report-writing expertise and give you the tools that you need to enhance the power of your reports!

Table of Contents

  1. Copyright
  2. Acknowledgments
  3. Writing Reports with SAS
    1. Using This Book
    2. Understanding SAS Report-Writing Tools
    3. Integrating ODS and Report Writing
    4. Associating Types of Reports and the Examples in This Book
    5. Using PROC SQL as a Report-Writing Tool
    6. Displaying Results Graphically
    7. Writing a Report Program in Five Steps
    8. References
  4. Detail Reports
    1. Listing Selected Observations in a Specific Order
    2. Ordering the Rows of a Report
    3. Placing Data That Is Constant for a Category in Titles
    4. Summarizing the Rows of a Report
    5. Summarizing Columns and Rows
    6. Suppressing the Display of Specific Columns
    7. Presenting Multiple Observations per Report Row
    8. Presenting Long Text Fields in a Report
    9. Listing the Rank and Percentile for Each Observation
  5. Summary Reports
    1. Summarizing Data
    2. Computing Descriptive Statistics for Specific Groups
    3. Displaying Descriptive Statistics in a Tabular Format
    4. Displaying Basic Frequency Counts and Percentages
    5. Producing a Hierarchical Tabular Report
    6. Creating Multipage Summary Tables
    7. Assigning Multiple Labels to Categories
    8. Writing Customized Lines in Summary Reports
    9. Reporting on Multiple-Choice Survey Data
    10. Reporting on Multiple-Response Survey Data
  6. Customized Reports
    1. Customizing a Detail Report with Individualized Page Headers
    2. Creating a Customized Table of Descriptive Statistics
    3. Customizing the Presentation of Analyses
  7. Multipanel Reports
    1. Constructing a Basic Multipanel Report
    2. Constructing an Advanced Multipanel Report
  8. Enhancing Reports with ODS
    1. Understanding ODS Destinations
    2. Understanding SAS Formatted Destinations
    3. Understanding Third-Party Formatted Destinations
    4. References
    5. Customizing a PROC REPORT Detail Report
    6. Customizing a PROC REPORT Summary Report
    7. Customizing a PROC TABULATE Report
    8. Adding “Traffic Lighting” to a Report Created by PROC REPORT
    9. Adding “Traffic Lighting” to a Report Created by PROC TABULATE
    10. Including Images in a Report Created by PROC REPORT
    11. Including Images in a Report Created by PROC TABULATE
    12. Presenting Graphics and Tables in the Same Report
    13. Placing Hyperlinks in a Report
    14. Customizing the Appearance of a Detail Report Created by PROC PRINT
    15. Customizing a Multipanel Report Created by PROC REPORT
    16. Customizing the Appearance of a Report Produced by a DATA Step
    17. Condensing a Multipage, Multitable Report to One Page and Customizing the Output
    18. Defining a Reusable Generic Style
    19. Organizing Results into Tables Using ODS
  9. Creating the Example Data Sets
    1. Linking the Example Data Sets to the Examples in This Book
    2. HOUSING Data Set
    3. FEEDERBIRDS Data Set
    4. POWERUSE Data Set
    5. LIPIDS Data Set
    6. TOWNSURVEY Data Set
    7. MARATHON Data Set
    8. PHONDATA Data Set
    9. BREAD Data Set
    10. JOBCLASS Data Set
    11. LIBRARIES Data Set
    12. CARSALES Data Set
    13. CUSTRESP Data Set
    14. SERVICE Data Set
    15. DEMOG Data Set
    16. FITNESS Data Set
    17. INVENTORY Data Set
    18. STUDENTS Data Set
  10. Cross-Reference of the Examples in This Book
  11. Books Available from SAS Press
    1. JMP® Books
  12. Index