Statistical Graphics Procedures by Example

Book description

Sanjay Matange and Dan Heath's Statistical Graphics Procedures by Example: Effective Graphs Using SAS shows the innumerable capabilities of SAS Statistical Graphics (SG) procedures. The authors begin with a general discussion of the principles of effective graphics, ODS Graphics, and the SG procedures. They then move on to show examples of the procedures' many features. The book is designed so that you can easily flip through it, find the graph you need, and view the code right next to the example.

Among the topics included are how to combine plot statements to create custom graphs; customizing graph axes, legends, and insets; advanced features, such as annotation and attribute maps; tips and tricks for creating the optimal graph for the intended usage; real-world examples from the health and life sciences domain; and ODS styles.

The procedures in Statistical Graphics Procedures by Example are specifically designed for the creation of analytical graphs. That makes this book a must-read for analysts and statisticians in the health care, clinical trials, financial, and insurance industries. However, you will find that the examples here apply to all fields.

This book is part of the SAS Press program.

Table of contents

  1. Contents (1/2)
  2. Contents (2/2)
  3. Preface
  4. Acknowledgements
  5. Author Pages
  6. Chapter 1: Introduction
    1. 1.1 Principles of Effective Graphics
    2. 1.2 Automatic Graphs from SAS Procedures
    3. 1.3 Graph Template Language
    4. 1.4 Statistical Graphics Procedures
    5. 1.5 Organization of This Book
    6. 1.6 Data Sets and Custom Styles
    7. 1.7 Color and Gray-Scale Graphs
    8. 1.8 Effective Graphics and the Use of Decorative Skins
    9. 1.9 SAS 9.2 and SAS 9.3 Features
  7. Chapter 2: Statistical Graphics Procedures
    1. 2.1 Key Concepts
    2. 2.2 SGPLOT Procedure
    3. 2.3 SGPANEL Procedure
    4. 2.4 Combining Statements
    5. 2.5 SGSCATTER Procedure
    6. 2.6 Styles and Their Usage
    7. 2.7 Template-Based Graphics vs. Device-Based Graphics
  8. Chapter 3: Common Graphs
    1. 3.1 Introduction
    2. 3.2 Single-Cell Graphs (1/4)
    3. 3.2 Single-Cell Graphs (2/4)
    4. 3.2 Single-Cell Graphs (3/4)
    5. 3.2 Single-Cell Graphs (4/4)
    6. 3.3 Classification Panels
    7. 3.4 Comparative and Matrix Graphs
  9. Chapter 4: Basic Plots
    1. 4.1 Introduction
    2. 4.2 SGPLOT Procedure
    3. 4.3 Plot Roles and Options
    4. 4.4 Scatter Plot (1/2)
    5. 4.4 Scatter Plot (2/2)
    6. 4.5 Scatter Plots with Data Labels
    7. 4.6 Series Plot (1/2)
    8. 4.6 Series Plot (2/2)
    9. 4.7 Step Plot
    10. 4.8 Band Plot
    11. 4.9 Needle Plot
    12. 4.10 Vector Plot
    13. 4.11 VBarParm and HBarParm Plots (9.3)
    14. 4.12 Bubble Plot (9.3)
    15. 4.13 HighLow Plot (9.3)
    16. 4.14 Reference Lines
    17. 4.15 Parametric Line Plot (9.3)
    18. 4.16 Waterfall Chart (9.3)
    19. 4.17 Combining the Plots (1/2)
    20. 4.17 Combining the Plots (2/2)
  10. Chapter 5: Fit and Confidence Plots
    1. 5.1 Introduction
    2. 5.2 Fit Plot Roles and Options
    3. 5.3 Regression Plot (1/2)
    4. 5.3 Regression Plot (2/2)
    5. 5.4 Loess Plot (1/2)
    6. 5.4 Loess Plot (2/2)
    7. 5.5 Penalized B-Spline Plot (1/2)
    8. 5.5 Penalized B-Spline Plot (2/2)
    9. 5.6 Ellipse Plot
    10. 5.7 Combining the Plots
  11. Chapter 6: Distribution Plots
    1. 6.1 Introduction
    2. 6.2 Histogram
    3. 6.3 Density Plot
    4. 6.4 Vertical Box Plot
    5. 6.5 Horizontal Box Plot
    6. 6.6 Combining the Plots
  12. Chapter 7: Categorization Plots
    1. 7.1 Introduction
    2. 7.2 Categorization Plot Roles and Common Options
    3. 7.3 Vertical Bar Charts (1/2)
    4. 7.3 Vertical Bar Charts (2/2)
    5. 7.4 Horizontal Bar Charts (1/2)
    6. 7.4 Horizontal Bar Charts (2/2)
    7. 7.5 Vertical Line Charts (1/2)
    8. 7.5 Vertical Line Charts (2/2)
    9. 7.6 Horizontal Line Charts (1/2)
    10. 7.6 Horizontal Line Charts (2/2)
    11. 7.7 Dot Plots (1/2)
    12. 7.7 Dot Plots (2/2)
    13. 7.8 Combining the Plots
  13. Chapter 8: Axes, Legends, and Insets
    1. 8.1 Introduction
    2. 8.2 Linear Axis
    3. 8.3 Log Axis
    4. 8.4 Time Axis
    5. 8.5 Discrete Axis
    6. 8.6 Legends
    7. 8.7 Insets
  14. Chapter 9: Annotation and Attribute Maps (SAS 9.3)
    1. 9.1 Annotation
    2. 9.2 Attribute Maps (9.3) (1/2)
    3. 9.2 Attribute Maps (9.3) (2/2)
  15. Chapter 10: Classification Panels
    1. 10.1 Introduction
    2. 10.2 SGPANEL Procedure
    3. 10.3 PANELBY Statement
    4. 10.4 Classification Panels
    5. 10.5 Paging of Large Panels
  16. Chapter 11: Comparative and Matrix Plots
    1. 11.1 Introduction
    2. 11.2 SGSCATTER Procedure
    3. 11.3 PLOT Statement (1/2)
    4. 11.3 PLOT Statement (2/2)
    5. 11.4 COMPARE Statement
    6. 11.5 MATRIX Statement (1/2)
    7. 11.5 MATRIX Statement (2/2)
  17. Chapter 12: Health and Life Sciences Graphs
    1. 12.1 Introduction
    2. 12.2 Forest Plot
    3. 12.3 Forest Plot (9.3)
    4. 12.4 Survival Plot
    5. 12.5 Adverse Event Timeline
    6. 12.6 Adverse Event Timeline (9.3)
    7. 12.7 Maximum LFT Values by Treatment (9.3)
    8. 12.8 Median of Lipid Profile over Time by Treatment (9.3)
    9. 12.9 QTc Change from Baseline over Time by Treatment (9.3)
    10. 12.10 QTc Change Graph with Annotated “At Risk” Values (9.3)
    11. 12.11 QTc Change from Baseline over Time by Treatment
    12. 12.12 LFT Safety Panel, Baseline vs. Study
    13. 12.13 Immunology Profile by Treatment
    14. 12.14 Most Frequent On-Therapy Adverse Events by Frequency
    15. 12.15 LFT Patient Profile
    16. 12.16 Panel of LFT Values
    17. 12.17 Distribution of Eye Irritation Using PROC SGPANEL (9.3)
    18. 12.18 Distribution of Eye Irritation Using PROC SGPLOT (9.3)
    19. 12.19 Vital Signs by Time Point Name
    20. 12.20 Concomitant Medications
    21. 12.21 Creating a 2 x 2 Cell Graph Using PROC SGPLOT
  18. Chapter 13: Business Graphs
    1. 13.1 Introduction
    2. 13.2 Stock Price and Volume Chart
    3. 13.3 Financial Trend and Bond Maturity Graph (9.3)
    4. 13.4 Danger of High P/E Ratios
    5. 13.5 Oil Consumption Trend by Country
    6. 13.6 Product Sales and Target Graph (9.3)
    7. 13.7 Social Network (9.3)
  19. Chapter 14: Styles
    1. 14.1 Introduction
    2. 14.2 Using Styles
    3. 14.3 Style Elements
    4. 14.4 Using Style Elements
    5. 14.5 Style Element Usage Precedence
  20. Chapter 15: ODS Destination and ODS Graphics Options
    1. 15.1 Introduction
    2. 15.2 ODS Destination Options
    3. 15.3 ODS Graphics Options
  21. Chapter 16: Tips for Graph Output
    1. 16.1 Introduction
    2. 16.2 Creating Small Graphs for Use in Documents
    3. 16.3 Creating Large Graphs for Use in Presentations
    4. 16.4 Combining Graph Size and DPI
    5. 16.5 Impact of Graph Size on System Resources

Product information

  • Title: Statistical Graphics Procedures by Example
  • Author(s): Sanjay Matange, Dan Heath
  • Release date: November 2014
  • Publisher(s): SAS Institute
  • ISBN: 9781607648871