1st Edition
Producing High-Quality Figures Using SAS/GRAPH® and ODS Graphics Procedures
Create Top-Quality Figures Using SAS
Producing High-Quality Figures Using SAS/GRAPH® and ODS Graphics Procedures gives statisticians and SAS programmers practical guidance on presenting research data in high-quality figures that meet the publication requirements of academic institutions and various industries, such as pharmaceutical companies, agricultural businesses, and financial organizations.
Choose the Proper Graph Formats, Options, and Fonts
The book provides all the details on selecting the right figure formats, options, and fonts to produce high-quality figures. In-depth instructions and SAS programs using procedures in both SAS/GRAPH and ODS Graphics show how to generate sample figures in listing graphics formats and ODS document files. Each chapter includes practical examples and SAS programs. Readers can easily modify the SAS programs to develop high-quality figures to meet their own needs. For those unfamiliar with SAS programming and SAS Graphics, the author describes how to produce sample figures in SAS ODS Graphics designer, a convenient tool for generating figures without having to write SAS programs. The book also discusses how to produce figures in a SAS Enterprise Guide project.
SAS Can Produce High-Quality Figures
Introduction
Two Sample Figures Produced in SAS with Different Quality
Bitmap and Vector Format Figures
Why Vector Format Figures?
Publication Requirements for Art and Figure Preparation
SAS Can Produce High-Quality Figures to Meet Publication Requirements
Principles of Producing High-Quality Figures in SAS
Introduction
SAS/GRAPH and ODS Graphics Procedures
Listing Output to Save Figures from One Procedure (PS, EPS, EMF, CGM, and so on)
ODS Output to Save Figures from Several Procedures into a Document (PDF, RTF, and so on)
GOPTIONS in SAS/GRAPH
Software vs. Hardware Fonts
Controlling Titles and Footnotes in RTF Format Figure Files
Adding Bookmarks in PDF Format Figure Files
Setting Up Global Options and Macro Variables
Line Plots
Introduction
Application Examples
Producing the Sample Figures
Summary and Discussion
Appendix: SAS Programs for Producing the Sample Figures
Scatter and Jittered Scatter Plots
Introduction
Application Examples
Producing the Sample Figures
Summary and Discussion
Appendix: SAS Programs for Producing the Sample Figures
Line-Up Jittered Scatter Plots
Introduction
Algorithms for Line-Up Jittered Scatter Plots
Application Examples
Producing the Sample Figures
Summary and Discussion
Appendix: SAS Programs for Producing the Sample Figures
Thunderstorm or Raindrop Scatter Plots
Introduction
Application Examples
Producing the Sample Figures
Summary and Discussion
Appendix: SAS Programs for Producing the Sample Figures
Spaghetti Plots
Introduction
Application Examples
Producing the Sample Figures
Summary and Discussion
Appendix: SAS Programs for Producing the Sample Figures
Bar Charts
Introduction
Application Examples
Producing the Sample Figures
Summary and Discussion
Appendix: SAS Programs for Producing the Sample Figures
Box Plots
Introduction
Application Examples
Producing the Sample Figures
Understanding Box Plots
Summary and Discussion
Appendix: SAS Programs for Producing the Sample Figures
Forest Plots
Introduction
Application Examples
Producing the Sample Figures
Summary and Discussion
Appendix: SAS Programs for Producing the Sample Figures
Survival Plots
Introduction
Application Examples
Producing the Sample Figures
Summary and Discussion
Appendix: SAS Programs for Producing the Sample Figures
Waterfall Plots and Histograms
Introduction
Application Examples
Producing the Sample Figures
Summary and Discussion
Appendix: SAS Programs for Producing the Sample Figures
Bland-Altman Plots for Agreement Analyses
Introduction
Agreement versus Correlation
Application Example
Producing the Sample Figures
Summary and Discussion
Appendix: SAS Programs for Producing the Sample Figures
SAS ODS Graphic Designer
Introduction
SAS ODS Graphic Designer
Using the ODS Graphic Designer to Reproduce Some Figures in the Previous Chapters
Summary and Discussion
Appendix: SAS Programs for Producing the Datasets and Generated by the Designer
Producing Figures in the SAS Enterprise Guide Environment
Introduction
Create, Run, and Save an EG Project
Server List
Some Good Features and Notes for SAS EG
Producing Graphics Directly in SAS EG Using the Point-and-Click Feature
Summary and Discussion
Index
References appear at the end of each chapter.
Biography
Charlie Chunhua Liu, PhD, is an associate director of biostatistics at Kythera Biopharmaceuticals Inc. in Westlake Village, California. Dr. Liu has been a SAS programmer and project statistician in several research institutions and pharmaceutical companies, including the U.S. Environmental Protection Agency (EPA), the National Institute of Statistical Sciences (NISS), the Washington University School of Medicine in St. Louis, Eli Lilly and Company, and Allergan Inc. He received a PhD in crop science and a master’s in statistics from North Carolina State University.
"This is a nice reference for someone wanting to go beyond the basics of graphics, especially if they want to make one of the graph types discussed. While different subject areas are represented, most examples are medical in nature."
—David A. Dickey, Department of Statistics, North Carolina State University"SAS programmers looking to master SAS graphs and produce high-quality, customized plots do not need to search any more. Producing High-Quality Figures Using SAS/GRAPH® and ODS Graphics Procedures has it all hands down. By showing traditional SAS graph procedures with new SAS graph procedures, readers can benefit from the comparisons and enhancements in the new SAS graph procedures. With his many years of industry experience, the author guides us down the difficult path with many graph examples such as forest and survival plots. This book is a must for any SAS programmer wanting to take advantage of the latest SAS options to produce high-quality plots."
—Sunil Gupta, Gupta Programming, SASSavvy.com"… very easily readable, understandable, and comprehensive for all levels of SAS experiences. … this is one of the few SAS books that is pertinent to the daily life of a SAS programmer in the pharmaceutical or biotech industry."
—Tracy Turschman, Vertex Pharmaceuticals Incorporated