Book description
An abundance of real-world examples highlights Lauren Haworth Lake’s and Julie McKnight's PROC TABULATE by Example, Second Edition. Beginning and intermediate SAS® users will find this step-by-step guide to producing tables and reports using the TABULATE procedure both convenient and inviting.Topics are presented in order of increasing complexity, making this an excellent training manual or self-tutorial. The concise format also makes this a quick reference guide for specific applications for more advanced users. A very handy section on common problems and their solutions is also included.
With this book, you will quickly learn how to generate tables using macros, handle percentages and missing data, modify row and column headings, and produce one-, two-, and three-dimensional tables using PROC TABULATE. Also provided are more advanced tips on complex formatting with the Output Delivery System (ODS) and exporting PROC TABULATE output to other applications.
Table of contents
- Title Page
- Copyright
- About This Book
- About the Author
- Acknowledgments
-
- Chapter 4: Create a One-Dimensional Table
-
Chapter 5: Creating Two-Dimensional Tables
- Introduction
- The Sketch
- Terms to Know
- Turn a One-Dimensional Table into a Two-Dimensional Table
- Statistic Definitions for a Two-Dimensional Table
- Add Class Variables on Both Dimensions
- Add Another Class Variable
- Nest the Class Variables
- Add Statistics to the Nested Variables
- Add Totals to Rows and Columns
- Add Subtotals
- Put It All Together
- Quick Tips
- Chapter 6: Creating Three-Dimensional Tables
-
- Chapter 7: Handling Percentages
-
Chapter 8: Handling Complex Percentages
- Overview
- The Sketch
- Percentages for Multiple Row Variables
- Percentages for Multiple Column Variables
- Select the Right Denominator
- Percentages Combined with Other Statistics
- Percentages with Subtotals
- Percentage Subtotals on Both Dimensions
- Percentages for Three-Dimensional Tables
- Percentages for Analysis Variables
- Quick Tips
- Chapter 9: Modifying Row and Column Headings
- Chapter 10: Formatting Table Values
- Chapter 11: Using the Output Delivery System
-
Chapter 12: Handling Missing Data
- Overview
- The Sketch
- Report the Missing Data for Class Variables with the MISSING Option
- Report the Missing Data for Analysis Variables with the NMISS Statistic
- Customize the Way Missing Data Looks in Your Table
- Three-Dimensional Tables with Missing Data
- Break Up the Table
- Display Variable Categories That Have Missing Data
- Exclude Missing Data
- Quick Tips
-
- Chapter 13: Using Macros to Generate Tables
-
Chapter 14: PROC TABULATE Tricks: How to Cheat to Create Complex Tables
- Introduction
- Match the Table Design to Predefined Specifications
- Rename the Statistics and Variables
- Calculate Percentages Another Way
- Display the Results of Multiple-Response Questions
- Use a Variable for Both Classification and Analysis
- Create a One-Dimensional Table That Runs Vertically
- Handle ClassVariables with Missing Data
- Create Footnote References in Table Cells - I
- Create Footnote References in Table Cells - II
- Use the CLASSDATA Option
-
- Chapter 15: Troubleshooting Your Table
-
Chapter 16: Decoding Error Messages
- Introduction
- "Type of Name Is Unknown"
- "Statistic Other Than N Was Requested without Analysis Variable"
- "Multiple Statistics Associated with a Single Table Cell"
- "Multiple Analysis Variables Associated with a Single Table Cell"
- "Class Variable Is Missing on Every Observation"
- "PCTN Base Is Not in Table" and "PCTN Crossing Has No Denominator"
-
Chapter 17: Incorrect Tables and How to Fix Them
- Introduction
- Number of Observations Seems Too Small
- Some of the Values of the Class Variable Are Not Shown
- A Format Is Not Being Applied to a Variable
- Blank Label Is Not Being Applied to a Variable
- A Statistic’s Label Is Blank, but a Space Is Left in the Row Label
- Statistics Labels Do Not Appear Next to the Correct Variable
- Incorrectly Grouped Statistics
- Alternative to Using the FUZZ Option
- Chapter 18: Limitations of PROC TABULATE and How to Get around Them
- Recommended Reading
- Index
- Additional Resources
Product information
- Title: PROC TABULATE by Example, Second Edition
- Author(s):
- Release date: May 2015
- Publisher(s): SAS Institute
- ISBN: 9781629597676
You might also like
book
PROC DOCUMENT by Example Using SAS
PROC DOCUMENT by Example Using SAS demonstrates the practical uses of the DOCUMENT procedure, a part …
book
PROC REPORT by Example
PROC REPORT by Example: Techniques for Building Professional Reports Using SAS provides real-world examples using PROC …
book
The SAS Programmer's PROC REPORT Handbook
Generate reports with style! The SAS Programmer's PROC REPORT Handbook: ODS Companion explains how to use …
book
SAS® Macro Programming Made Easy, Second Edition
Need help understanding the SAS macro facility? You will find all the answers that you need …