A Juxtaposition of Tables and Graphs Using SAS /GRAPH Procedures
|
|
- Ethel Charles
- 6 years ago
- Views:
Transcription
1 A Juxtaposition of Tables and Graphs Using SAS /GRAPH Procedures Suhas R. Sanjee, MaxisIT Inc., Edison, NJ Sheng Zhang, Merck and Co., Upper Gwynedd, PA ABSTRACT Graphs provide high-impact visuals that enable decision makers to gain a quick understanding of critical business issues. However, graphs do not always convey all the details the reviewer wants; hence a corresponding table needs to be provided. Having relevant tables and annotations as part of a graph allows the reviewer to formulate appropriate decisions. The proposed method uses procedures in SAS/GRAPH to include tables as one of the panels of a multi-panel graph. Often it is required to create multiple graphs from the same data for different interpretations. While each graph by itself is useful, seeing all of the graphs on the same page is even more helpful. Multi-panel graphs enable reviewers to compare the performance of two treatment groups/periods. This article starts by introducing PROC GRE- PLAY. PROC GREPLAY enables display of different graphs in a single page. Then, a method to convert a table to graph object using PROC GPRINT is presented. The GPRINT procedure can be used to create graphics output from tabular material, reports, or any external text file produced by the SAS System. The converted graph containing the table is then combined with the corresponding graph using PROC GREPLAY. This process is illustrated with a graph and table generated to present the results of longitudinal data analysis. The resulting graph and table can be displayed on individual panels of a multi-panel graph. Finally, a method to juxtapose correlation statistics and plots using GSLIDE and GREPLAY procedures is presented. INTRODUCTION The goal of this paper is to demonstrate the use of SAS/GRAPH procedures to juxtapose tables and graphs to produce highly effective reports and starts by introducing the SAS/GRAPH procedures: GREPLAY, GPRINT and GSLIDE. In the subsequent section, two examples are presented which use these procedures to juxtapose tables and graphs to effectively communicate business ideas to reviewers. PROC GREPLAY Graphs generated using SAS/GRAPH procedures are stored in catalog files which are special files for storing different elements of SAS-like graphs, formats, macros etc. The GREPLAY procedure is used to replay and manage SAS graphs stored in SAS catalog files. It is a powerful tool which can be used for creating multi-panel graphs. The GREPLAY procedure also allows for the creation of customized templates. Sample code in Fig 1 illustrates definition of a template to replay two graphs one below the other. The options LLX=, LLY=, LRX=, LRY=, ULX=, ULY=, URX=, and URY= in the TDEF statement specify the X and Y coordinate values of the panels. Coordinate values less than 0 and greater than 100 can be specified for these options in order to zoom in on Fig 1: Example Code to define templates PROC GREPLAY TC=sashelp.tamplate NOFS; /* define template to display two graphs one below the other */ TDEF g2 DES='Vertical Graphs' /* Upper panel */ 1/LLX=0 LLY=50 ULX=0 ULY=100 URX=100 URY=100 LRX=100 LRY=50 /* LOWER PANEL */ 2/LLX=0 LLY=0 ULX=0 ULY=50 URX=100 URY=50 LRX=100 LRY=0; /* assign template */ TEMPLATE g2; Fig 2: Example Code to create multi-panel graphs PROC GREPLAY IGOUT=work.gseg TC=sashelp.template TEMPLATE=g2 NOFS; TREPLAY 1:Gplot1 2:Gplot2; Fig 3: Example Code for GPRINT GOPTIONS FTEXT='SAS Monospace' DEVICE=sasbmp HPOS=60; PROC GPRINT FILEREF=summary NAME='G2'; 1
2 the specific area of graphics output. Sample code presented in Fig 2 illustrates the use of the GREPLAY procedure in creating a multi-panel graph. The option TC = in the PROC GREPLAY statement is used to specify the SAS catalog. Gplot1, Gplot2 specified in TREPLAY statement are the two graphs generated using any SAS/GRAPH procedures. Numbers 1 and 2 specify the panel used for replaying each graph. PROC GPRINT The GPRINT procedure can be used to convert information in any list file produced by the SAS system to a SAS graph object. GPRINT can be used with the TABULATE procedure with appropriate options for FORMCHAR and DEVICE to import tables with a solid border into graph objects. Hexadecimal values that correspond to the border characters must be specified with the FORMCHAR option. In addition to this, it should be ensured that specified characters must exist in a hardware font available on the output device. It is also important to use a uniform font to avoid column alignment problems. The sample code to convert a list file to a graph object is given in Fig 3. "Summary" is the file reference to the list file. PROC GSLIDE The GSLIDE procedure is used to produce graphics output consisting of text and straight lines generated by TI- TLE, FOOTNOTE, and NOTE statements. The GSLIDE procedure can be used for creating text slides used in presentations. Text slides can also be overlaid on other graphics output using PROC GREPLAY. The sample code in Fig 4 creates a text slide with the text "Timepoint1" with a red colored frame. Fig 4: Example Code to Create Text Slide Using PROC GSLIDE PROC GSLIDE BORDER CFRAME=red NAME="cslide11" WFRAME=4; NOTE HEIGHT=10 JUSTIFY=center "Timepoint1" ; ILLUSTRATIONS The procedures GREPLAY, GPRINT and GSLIDE are illustrated with the help of two examples to show how SAS/GRAPH procedures can be used to juxtapose tables/text and graphs. The input dataset used in these illustrations is assumed to be from a hypothetical longitudinal study in which the subjects are randomized into three treatment groups and measurements are taken at multiple timepoints for each subject. The dataset contains one observation per subject per timepoint and hence is vertical in structure. Every subject has measurements taken at five different timepoints. ILLUSTRATION 1: JUXTAPOSITION OF TABLE AND PLOT This illustration shows the use of TABULATE, GPRINT, GPLOT and GREPLAY procedures for placing a table and a graph side by side so that information is conveyed more effectively. This involves the following four major steps: Step 1: Create Box plot using PROC GPLOT Box plot showing the distribution of measurements at all five timepoints for all three treatment groups is produced using the GPLOT procedure. Step 2: Create Summary Table using PROC TABULATE A summary table is generated using PROC TABULATE with appropriate hexadecimal values specified for FORMCHAR= option. The generated table is then stored in a list file using PROC PRINTTO. Step 3: Convert Table to Graph Using PROC GPRINT Procedure GPRINT is used to read the list file generated in Step 2 and to convert the table to a graph object. Appropriate values must be specified for DEVICE= option and FTEXT= option to make sure the font mentioned for the output device contains the hexadecimal value mentioned in FORMCHAR= option in the previous step. Step 4: Putting the two graphs together using PROC GREPLAY The two graphs produced in Steps 2 and 3 are combined using the GREPLAY procedure. 2
3 The SAS program for this illustration is presented in Fig 5 with detailed comments for each step. The output graph is shown in Fig 6. Fig 5: SAS Code for Illustration 1 *- Step 01: Create Box plot using PROC GPLOT --*; filename fileref 'C:\illustration1.cgm'; goptions reset=all device = cgmof97p gsfname = fileref gsfmode = replace reset = symbol colors = (black); **** SET SYMBOL DEFINITIONS; symbol1 width = 28 bwidth = 3 color = green line = 1 value = none interpol = BOXJT00 mode = include; symbol2 width = 28 bwidth = 3 color = red line = 1 value = none interpol = BOXJT00 mode = include; symbol3 width = 28 bwidth = 3 color = blue line = 1 value = none interpol = BOXJT00 mode = include; **** DEFINE THE LEGEND ; legend1 frame label = (height = 1.5 justify = right 'Treatment:' ) value = (height = 1.5) down=3 position = (top right inside); **** DEFINE VERTICAL AND VERTICAL AXES OPTIONS.; axis1 label=(h=2 rotate=0 angle=90 "Result") value = (h = 1.5 ) minor = (n = 3) order = (0 to.20 by.02); axis2 label = (h = 2 "Visit") value = (h = 1 "T1" "T2" "T3" "T4" "T5") order = (1 to 5 by 1) offset = (2cm, ) minor = none; **** CREATE BOX PLOT.; proc gplot data = datadir.simdatafin; plot result* ptimepnt = trtcd /vaxis = axis1 haxis = axis2 legend=legend1; format trtcd trtcd.; title1 h = 2 font = "TimesRoman" "Figure X.X"; title2 h = 2 font = "TimesRoman" "Timepoints by Treatment"; quit; *- Step 02: Create summary Table using PROC Tabulate -*; filename summary 'c:\summary.txt'; *Call printto procedure to store tabuate output in a list file; proc printto print=summary new; *Specify appropriate option for FORMCHAR; options formchar=' a8b8c2b3d7c2d2f5c3c3e2a'x nodate center nonumber; goptions hpos=40; proc tabulate data=datadir.simdatafin; var result; class trtcd time; table trtcd="", mean='' * result = "Mean Result"*F=6.2 * timepnt='' /box="treatment"; format trtcd trtcd. time; proc printto; 3
4 Fig 5: SAS Code for Illustration 1 continued. *- Step 03: Convert Table to Graph using PROC GPRINT -*; goptions ftext='sas Monospace' device=sasbmp hpos=60; title1 'Treatment Summary' h=10; footnote1 T1,T2,T3,T4 and T5 refer to Timepoints 1 through 5 respectively; proc gprint fileref=tot name='g2'; quit; *- Step 04: Putting the two graphs together using PROC GREPLAY -*; goptions ftext=swissu hpos=70 vpos=175 device=cgmof97p; proc greplay igout=work.gseg tc=sashelp.templt template=v2 nofs; treplay 1:gplot 2:g2; quit; Fig 6: Output Graph From Illustration 1 4
5 ILLUSTRATION 2: LATTICE PLOT FOR CORRELATION ANALYSIS This section uses only the first three timepoints of the input dataset described above. PROC CORR is used to get the Pearson correlation coefficients between each timepoint. The correlation coefficient, p-value and scatter plot are presented in a single table/graph and provide all the information needed at the same place making it easier for reviewers to make decisions. The input dataset is the first subset to retain only the first three timepoints. The dataset is then transposed to get three variables: timepoint1, timepoint2 and timepoint3. The data manipulation part is not dealt with in detail here since it is not the focus of the paper. The procedure for generating a lattice plot for correlation analysis involves four major steps: Step 1: Get correlation statistics The Pearson correlation statistics generated from PROC CORR is stored into a dataset using ODS. The code Fig 7: Code to get Correlation Coefficients ODS OUTPUT PearsonCorr=pcoff; PROC CORR DATA = transdata; VAR timepoint1 timepoint2 timepoint3; RUN; ODS OUTPUT CLOSE; Fig 8: Code to generate correlation plots PROC GPLOT DATA=transdata; PLOT timepoint1*timepoint2 timepoint2*timepoint3 timepoint1*timepoint3; RUN;QUIT; used for this step is as shown in Fig 7. The correlation statistics are then assigned to macro variables coefs&i&j and pcoefs&i&j where the macro variables i and j range from 1 to 3. These macro variables are passed to PROC GSLIDE to create text slides. Step 2: Generate correlation plots using PROC GPLOT Three scatter plots are obtained using PROC GPLOT. The plots produced by timepoint1*timepoint2 and timepoint2*timepoint1 contain the same information. Hence only one plot is generated for each combination of timepoints. DEVICE=CGMOF97L is used for this step. The code used for this step is as shown in Fig 8. Step 3: Generate text slides with panel labels and correlation statistics The code snippet in Fig 9 is used in a macro within a %DO loop with index variable i varying from 1 to 3 to produce three text slides with panel labels. Code snippet in Fig 10 is used in a macro within two nested %DO loops in which both index variables vary from 1 to 3. Six slides are generated with correlation statistics out of which only three are used since correlation statistics are symmetrical in nature. Fig 9: Code to generate slides with panel labels PROC GSLIDE BORDER CFRAME=red NAME="cslide&i&i" WFRAME=4; NOTE HEIGHT=20; NOTE HEIGHT=10 JUSTIFY=center "Timepoint&i" ; Fig 10: Code to generate slides with correlation statistics PROC GSLIDE BORDER NAME="cslide&i&n" WFRAME=4 CFRAME=red; NOTE HEIGHT=20; NOTE HEIGHT=10 JUSTIFY=center "Rho: &&coefs&n&i" JUSTIFY=center "P-Value: &&pcoefs&n&i"; 5
6 Fig 11: Output Graph from Illustration 2 Fig 11 shows the output graph generated for Illustration 2. Rho refers to the Pearson correlation coefficient; consider this as a matrix of order 3 X 3. The element [1, 2] provides the correlation plot between timepoints 1, 2, and element [2, 1] provides the corresponding correlation statistics. The graph can be interpreted in a similar way for other timepoints as well. This way, no space is wasted in presenting the symmetrical scatter plots which are produced by the option PLOTS in PROC CORR. Redundant information is not presented and space is utilized to provide additional correlation statistics. Step 4: Putting the correlation statistics and plots together PROC GREPLAY is used to define a three-by-three multi-panel template, and all the graph objects generated through GPLOT and GSLIDE are displayed on a multi-panel graph. Fig 12 shows the code for this step. 6
7 Fig 12: Code to generate graph template and multi-panel graph *Define GREPLAY template for three timepoints; PROC GREPLAY TC=sashelp.templat NOFS; TDEF h3v3 DES= "Three by Three" 1/LLX=0 LLY= 66.6 ULX=0 ULY= 100 LRX=33.3 LRY= 66.6 URX=33.3 URY=100 2/LLX=0 LLY=33.3 ULX=0 ULY=66.6 LRX=33.3 LRY= 33.3 URX=33.3 URY=66.6 3/LLX=0 LLY=0 ULX=0 ULY=33.3 LRX=33.3 LRY=0 URX=33.3 URY=33.3 4/LLX=33.3 LLY=66.6 ULX=33.3 ULY= 100 LRX=66.6 LRY= 66.6 URX=66.6 URY=100 5/LLX=33.3 LLY=33.3 ULX=33.3 ULY=66.6 LRX=66.6 LRY=33.3 URX=66.6 URY=66.6 6/LLX=33.3 LLY=0 ULX=33.3 ULY=33.3 LRX=66.6 LRY=0 URX=66.6 URY=33.3 7/LLX=66.6 LLY=66.6 ULX=66.6 ULY=100 LRX=100 LRY=66.6 URX=100 URY=100 8/LLX=66.6 LLY=33.3 ULX=66.6 ULY=66.6 LRX=100 LRY=33.3 URX=100 URY=66.6 9/LLX=66.6 LLY=0 ULX=66.6 ULY=33.3 LRX=100 LRY=0 URX=100 URY=33.3; /* assign current template */ TEMPLATE H3V3; quit; PROC GREPLAY IGOUT=work.gseg TC=sashelp.templat template=h3v3 nofs; TREPLAY 1:cslide11 2:cslide12 3:cslide13 4:gplot 5:cslide22 6:cslide23 7:gplot1 8:gplot2 9:cslide33; RUN;QUIT; CONCLUSION AND FUTURE DIRECTIONS SAS/GRAPH procedures GREPLAY, GPRINT and GSLIDE can be used to juxtapose tables/slides and graphs to provide effective communication. The GPRINT procedure can be used with PROC TABULATE with correct FORMCHAR=, DEVICE= options to produce graph objects containing tables with a solid border. The above mentioned illustrations can be easily adapted to other scenarios in both the pharmaceutical and retail industry. Illustration 2 can be extended to include tables with a solid border instead of text slides enabling the ability to present various correlation statistics like Pearson, Spearman, etc. in tables juxtaposed with correlation plots. However, the possibility of producing similar text juxtaposed with Graph objects using SAS 9.2 procedures like SGSCAT- TER need to be explored. REFERENCES: 1. SAS Institute Inc. (2004). SAS/GRAPH 9.1 Reference, Volumes 1, 2 and 3. Cary, NC: SAS Institute Inc. ACKNOWLEDGMENTS SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. indicates USA registration. Other brand and product names are registered trademarks or trademarks of their respective companies. We would like to thank our managers Amy Gillespie, Margaret Coughlin and management of MaxisIT Inc. for their kind support and cooperation. We would also like to thank Peter Hu, Biometrician, Merck & Co., Inc. for his valuable inputs. CONTACT INFORMATION Your comments and questions are valued and encouraged. Contact the author at: Author Name: Suhas R. Sanjee Author Name: Sheng Zhang Company : MaxisIT Inc. Company : Merck & Co., Inc. Address : 1199 Amboy Ave Address : 351 Sumneytown Pike City: Edison State: NJ ZIP: City: Upper Gwynedd State: PA ZIP: sanjee@maxisit.com sheng_zhang@merck.com 7
MANAGING SAS/GRAPH DISPLAYS WITH THE GREPLAY PROCEDURE. Perry Watts IMS Health
MANAGING SAS/GRAPH DISPLAYS WITH THE PROCEDURE Perry Watts IMS Health Abstract PROC is used for redisplaying graphs that have been stored in temporary or permanent catalogs. This tutorial will show how
More informationODS LAYOUT is Like an Onion
Paper DP03_05 ODS LAYOUT is Like an Onion Rich Mays, University of Rochester Medical Center, Rochester, NY Abstract ODS LAYOUT is like an onion. They both make you cry? No! They both have layers! In version
More informationPharmaSUG 2015 Paper PO03
PharmaSUG 2015 Paper P03 A Visual Reflection on SAS/GRAPH History: Plot, Gplot, Greplay, and Sgrender Haibin Shu, AccuClin Global Services LLC, Wayne, PA John He, AccuClin Global Services LLC, Wayne, PA
More informationSUGI 29 Posters. Paper A Group Scatter Plot with Clustering Xiaoli Hu, Wyeth Consumer Healthcare., Madison, NJ
Paper 146-29 A Group Scatter Plot with Clustering Xiaoli Hu, Wyeth Consumer Healthcare., Madison, NJ ABSTRACT In pharmacokinetic studies, abnormally high values of maximum plasma concentration Cmax of
More informationA Plot & a Table per Page Times Hundreds in a Single PDF file
A Plot & a Table per Page Times Hundreds in a Single PDF file Daniel Leprince DIEM Computing Services, Inc. Elizabeth Li DIEM Computing Services, Inc. SAS is a registered trademark or trademark of SAS
More informationUSING SAS PROC GREPLAY WITH ANNOTATE DATA SETS FOR EFFECTIVE MULTI-PANEL GRAPHICS Walter T. Morgan, R. J. Reynolds Tobacco Company ABSTRACT
USING SAS PROC GREPLAY WITH ANNOTATE DATA SETS FOR EFFECTIVE MULTI-PANEL GRAPHICS Walter T. Morgan, R. J. Reynolds Tobacco Company ABSTRACT This presentation introduces SAS users to PROC GREPLAY and the
More informationGenerating Participant Specific Figures Using SAS Graphic Procedures Carry Croghan and Marsha Morgan, EPA, Research Triangle Park, NC
DP05 Generating Participant Specific Figures Using SAS Graphic Procedures Carry Croghan and Marsha Morgan, EPA, Research Triangle Park, NC ABSTRACT An important part of our research at the US Environmental
More informationDeveloping a Dashboard to Aid in Effective Project Management
Developing a Dashboard to Aid in Effective Project Management M. Paige Borden, University of Central Florida, Orlando, FL Maureen Murray, University of Central Florida, Orlando, FL Ali Yorkos, University
More informationInnovative Graph for Comparing Central Tendencies and Spread at a Glance
Paper 140-28 Innovative Graph for Comparing Central Tendencies and Spread at a Glance Varsha C. Shah, CSCC, Dept. of Biostatistics, UNC-CH, Chapel Hill, NC Ravi M. Mathew, CSCC,Dept. of Biostatistics,
More informationThe GSLIDE Procedure. Overview. About Text Slides CHAPTER 27
959 CHAPTER 27 The GSLIDE Procedure Overview 959 About Text Slides 959 About Annotate Output 960 Procedure Syntax 960 PROC GSLIDE Statement 961 Examples 963 Example 1: Producing Text Slides 963 Example
More informationTop Award and First Place Best Presentation of Data Lan Tran-La. Scios Nova, Inc. BLOOD PRESSURE AND HEART RATE vs TIME
Top Award and First Place Best Presentation of Data Lan Tran-La Scios Nova, Inc. BLOOD PRESSURE AND HEART RATE vs TIME Vital signs were collected before, during, and after the infusion of Drug A. At the
More informationThe GANNO Procedure. Overview CHAPTER 12
503 CHAPTER 12 The GANNO Procedure Overview 503 Procedure Syntax 504 PROC GANNO Statement 504 Examples 507 Example 1: Scaling Data-Dependent Output 507 Example 2: Storing Annotate Graphics 509 Example
More informationUTILIZING SAS TO CREATE A PATIENT'S LIVER ENZYME PROFILE. Erik S. Larsen, Price Waterhouse LLP
UTILIZING SAS TO CREATE A PATIENT'S LIVER ENZYME PROFILE Erik S. Larsen, Price Waterhouse LLP In pharmaceutical research and drug development, it is usually necessary to assess the safety of the experimental
More informationTips to Customize SAS/GRAPH... for Reluctant Beginners et al. Claudine Lougee, Dualenic, LLC, Glen Allen, VA
Paper SIB-109 Tips to Customize SAS/GRAPH... for Reluctant Beginners et al. Claudine Lougee, Dualenic, LLC, Glen Allen, VA ABSTRACT SAS graphs do not have to be difficult or created by SAS/GRAPH experts.
More informationPROC CATALOG, the Wish Book SAS Procedure Louise Hadden, Abt Associates Inc., Cambridge, MA
ABSTRACT Paper CC58 PROC CATALOG, the Wish Book SAS Procedure Louise Hadden, Abt Associates Inc., Cambridge, MA SAS data sets have PROC DATASETS, and SAS catalogs have PROC CATALOG. Find out what the little
More informationGraphically Enhancing the Visual Presentation and Analysis of Univariate Data Using SAS Software
Graphically Enhancing the Visual Presentation and Analysis of Univariate Data Using SAS Software James R. O Hearn, Pfizer Inc., New York, NY ABSTRACT The problem of analyzing univariate data is investigated.
More informationMaking Presentations More Fun with DATA Step Graphics Interface (DSGI) Hui-Ping Chen, Eli Lilly and Company, Indianapolis, Indiana
Paper CC03 Making Presentations More Fun with DATA Step Graphics Interface (DSGI) Hui-Ping Chen, Eli Lilly and Company, Indianapolis, Indiana ABSTRACT Microsoft PowerPoint is powerful and most popular
More informationDisplaying Multiple Graphs to Quickly Assess Patient Data Trends
Paper AD11 Displaying Multiple Graphs to Quickly Assess Patient Data Trends Hui Ping Chen and Eugene Johnson, Eli Lilly and Company, Indianapolis, IN ABSTRACT Populating multiple graphs, up to 15, on a
More informationChanging Titles on Graphs With Minimal Processing
Changing Titles on Graphs With Minimal Processing Deb Cassidy, Computer Horizons Corporation, Indianapolis, IN Have you ever created numerous graphs only to have someone make a "minor" change in the title
More informationIMPROVING A GRAPH USING PROC GPLOT AND THE GOPTIONS STATEMENT
SESUG Paper 33-2017 IMPROVING A GRAPH USING PROC GPLOT AND THE GOPTIONS STATEMENT Wendi Wright, Questar Assessment, Inc. ABSTRACT Starting with a SAS PLOT program, we will transfer this plot into PROC
More informationUsing MACRO and SAS/GRAPH to Efficiently Assess Distributions. Paul Walker, Capital One
Using MACRO and SAS/GRAPH to Efficiently Assess Distributions Paul Walker, Capital One INTRODUCTION A common task in data analysis is assessing the distribution of variables by means of univariate statistics,
More informationSAS/GRAPH Introduction. Winfried Jakob, SAS Administrator Canadian Institute for Health Information
SAS/GRAPH Introduction Winfried Jakob, SAS Administrator Canadian Institute for Health Information 1 Agenda Overview Components of SAS/GRAPH Software Device-Based vs. Template-Based Graphics Graph Types
More informationSAS/GRAPH : Using the Annotate Facility
SAS/GRAPH : Using the Annotate Facility Jack S. Nyberg, ClinTrials Research, Inc., Lexington, KY. Stuart D. Nichols, ClinTrials Research, Inc., Lexington, KY. ABSTRACT The annotate facility in SAS/GRAPH
More informationPicturing Statistics Diana Suhr, University of Northern Colorado
Picturing Statistics Diana Suhr, University of Northern Colorado Abstract Statistical results could be easier to understand if you visualize them. This Hands On Workshop will give you an opportunity to
More informationThe GTESTIT Procedure
967 CHAPTER 28 The GTESTIT Procedure Overview 967 About the Pictures 968 About the LOG 971 Procedure Syntax 972 PROC GTESTIT Statement 972 Examples 973 Example 1: Testing a GOPTIONS Statement 973 Overview
More informationA Picture is worth 3000 words!! 3D Visualization using SAS Suhas R. Sanjee, Novartis Institutes for Biomedical Research, INC.
DG04 A Picture is worth 3000 words!! 3D Visualization using SAS Suhas R. Sanjee, Novartis Institutes for Biomedical Research, INC., Cambridge, USA ABSTRACT Data visualization is an important aspect in
More informationTips and Tricks in Creating Graphs Using PROC GPLOT
Paper CC15 Tips and Tricks in Creating Graphs Using PROC GPLOT Qin Lin, Applied Clinical Intelligence, LLC, Bala Cynwyd, PA ABSTRACT SAS/GRAPH is a very powerful data analysis and presentation tool. Creating
More informationCoders' Corner. Paper ABSTRACT GLOBAL STATEMENTS INTRODUCTION
Paper 70-26 Data Visualization of Outliers from a Health Research Perspective Using SAS/GRAPH and the Annotate Facility Nadia Redmond Kaiser Permanente Center for Health Research, Portland, Oregon ABSTRACT
More informationThe Plot Thickens from PLOT to GPLOT
Paper HOW-069 The Plot Thickens from PLOT to GPLOT Wendi L. Wright, CTB/McGraw-Hill, Harrisburg, PA ABSTRACT This paper starts with a look at basic plotting using PROC PLOT. A dataset with the daily number
More informationChapter 13 Introduction to Graphics Using SAS/GRAPH (Self-Study)
Chapter 13 Introduction to Graphics Using SAS/GRAPH (Self-Study) 13.1 Introduction... 2 13.2 Creating Bar and Pie Charts... 8 13.3 Creating Plots... 20 13-2 Chapter 13 Introduction to Graphics Using SAS/GRAPH
More informationEffective Forecast Visualization With SAS/GRAPH Samuel T. Croker, Lexington, SC
DP01 Effective Forecast Visualization With SAS/GRAPH Samuel T. Croker, Lexington, SC ABSTRACT A statistical forecast is useless without sharp, attractive and informative graphics to present it. It is really
More informationIntroduction to SAS/GRAPH Statistical Graphics Procedures
3 CHAPTER 1 Introduction to SAS/GRAPH Statistical Graphics Procedures Overview of SAS/GRAPH Statistical Graphics Procedures 3 Introduction to the SGPLOT Procedure 4 Introduction to the SGPANEL Procedure
More informationChapter 1 Introduction. Chapter Contents
Chapter 1 Introduction Chapter Contents OVERVIEW OF SAS/STAT SOFTWARE................... 17 ABOUT THIS BOOK.............................. 17 Chapter Organization............................. 17 Typographical
More informationArthur L. Carpenter California Occidental Consultants
Paper HOW-004 SAS/GRAPH Elements You Should Know Even If You Don t Use SAS/GRAPH Arthur L. Carpenter California Occidental Consultants ABSTRACT We no longer live or work in a line printer - green bar paper
More informationDynamic Macro Invocation Utility Paul D Sherman, San Jose, CA
Paper 62-29 Dynamic Macro Invocation Utility Paul D Sherman, San Jose, CA ABSTRACT Often times it is necessary to repeatedly call a macro with only minor differences in its argument list. Most common is
More informationPharmaSUG Paper TT10 Creating a Customized Graph for Adverse Event Incidence and Duration Sanjiv Ramalingam, Octagon Research Solutions Inc.
Abstract PharmaSUG 2011 - Paper TT10 Creating a Customized Graph for Adverse Event Incidence and Duration Sanjiv Ramalingam, Octagon Research Solutions Inc. Adverse event (AE) analysis is a critical part
More informationData Annotations in Clinical Trial Graphs Sudhir Singh, i3 Statprobe, Cary, NC
PharmaSUG2010 - Paper TT16 Data Annotations in Clinical Trial Graphs Sudhir Singh, i3 Statprobe, Cary, NC ABSTRACT Graphical representation of clinical data is used for concise visual presentations of
More informationMultiple Graphical and Tabular Reports on One Page, Multiple Ways to Do It Niraj J Pandya, CT, USA
Paper TT11 Multiple Graphical and Tabular Reports on One Page, Multiple Ways to Do It Niraj J Pandya, CT, USA ABSTRACT Creating different kind of reports for the presentation of same data sounds a normal
More informationINTRODUCTION TO THE SAS ANNOTATE FACILITY
Improving Your Graphics Using SAS/GRAPH Annotate Facility David J. Pasta, Ovation Research Group, San Francisco, CA David Mink, Ovation Research Group, San Francisco, CA ABSTRACT Have you ever created
More informationWant Quick Results? An Introduction to SAS/GRAPH Software. Arthur L. Carpenter California Occidental Consultants
Want Quick Results? An Introduction to SAS/GRAPH Software Arthur L. arpenter alifornia Occidental onsultants KEY WORDS GOPTIONS, GPLOT, GHART, SYMBOL, AXIS, TITLE, FOOTNOTE ABSTRAT SAS/GRAPH software contains
More informationContents of SAS Programming Techniques
Contents of SAS Programming Techniques Chapter 1 About SAS 1.1 Introduction 1.1.1 SAS modules 1.1.2 SAS module classification 1.1.3 SAS features 1.1.4 Three levels of SAS techniques 1.1.5 Chapter goal
More informationUsing SAS/GRAPH Software to Create Graphs on the Web Himesh Patel, SAS Institute Inc., Cary, NC Revised by David Caira, SAS Institute Inc.
Paper 189 Using SAS/GRAPH Software to Create Graphs on the Web Himesh Patel, SAS Institute Inc., Cary, NC Revised by David Caira, SAS Institute Inc., Cary, NC ABSTRACT This paper highlights some ways of
More informationCHAPTER 1 Introduction to SAS/GRAPH Software
3 CHAPTER 1 Introduction to SAS/GRAPH Software Overview 4 Components of SAS/GRAPH Software 4 Device-Based Graphics and Template-Based Graphics 6 Graph Types 6 Charts 7 Block charts 7 Horizontal bar charts
More informationINTRODUCTION TO SAS/GRAPH
INTRODUCTION TO SAS/GRAPH John J. Cohen Advanced Data Concepts Abstract Opening the SAS/GRAPH manual for the first time can be an intimidating experience. Rudimentary charts and plots seem to require more
More informationDeveloping Graphical Standards: A Collaborative, Cross-Functional Approach Mayur Uttarwar, Seattle Genetics, Inc., Bothell, WA
PharmaSUG 2014 - DG03 Developing Graphical Standards: A Collaborative, Cross-Functional Approach Mayur Uttarwar, Seattle Genetics, Inc., Bothell, WA ABSTRACT Murali Kanakenahalli, Seattle Genetics, Inc.,
More informationIt s Not All Relative: SAS/Graph Annotate Coordinate Systems
Paper TU05 It s Not All Relative: SAS/Graph Annotate Coordinate Systems Rick Edwards, PPD Inc, Wilmington, NC ABSTRACT This paper discusses the SAS/Graph Annotation coordinate systems and how a combination
More informationUsinq the VBAR and BBAR statements and the TEMPLATE Facility to Create side-by-side, Horizontal Bar Charts with Shared Vertical Axes Labels
Usinq the VBAR and BBAR statements and the TEMPLATE Facility to Create side-by-side, Horizontal Bar Charts with Shared Vertical Axes Labels Lela M. Brown, University of Oklahoma ABSTRACT PRoe GREPLAY's
More informationChoosing the Right Procedure
3 CHAPTER 1 Choosing the Right Procedure Functional Categories of Base SAS Procedures 3 Report Writing 3 Statistics 3 Utilities 4 Report-Writing Procedures 4 Statistical Procedures 5 Efficiency Issues
More informationSAS Graph: Introduction to the World of Boxplots Brian Spruell, Constella Group LLC, Durham, NC
DP06 SAS Graph: Introduction to the orld of Boxplots Brian Spruell, Constella Group C, Durham, NC ABSTRACT Boxplots provide a graphical representation of a data s distribution. Every elementary statistical
More informationPaper CC01 Sort Your SAS Graphs and Create a Bookmarked PDF Document Using ODS PDF ABSTRACT INTRODUCTION
Paper CC01 Sort Your SAS Graphs and Create a Bookmarked PDF Document Using ODS PDF Dirk Spruck, Accovion GmbH, Marburg, Germany Monika Kawohl, Accovion GmbH, Marburg, Germany ABSTRACT Graphs are a great
More informationA Generalized Procedure to Create SAS /Graph Error Bar Plots
Generalized Procedure to Create SS /Graph Error Bar Plots Sanjiv Ramalingam, Consultant, Octagon Research Solutions, Inc. BSTRCT Different methodologies exist to create error bar related plots. Procedures
More informationRun your reports through that last loop to standardize the presentation attributes
PharmaSUG2011 - Paper TT14 Run your reports through that last loop to standardize the presentation attributes Niraj J. Pandya, Element Technologies Inc., NJ ABSTRACT Post Processing of the report could
More informationAn Introduction to PROC GREPLAY
An Introduction to PROC GREPLAY Marc Jacobs, AT&T, Basking Ridge, NJ April 20, 1993 PROC GREPLAY is a procedure for redisplaying graphs created using SAS/GRAPH software. With this procedure you can redisplay
More informationPharmaSUG Paper DG07
PharmaSUG 2012 - Paper DG07 Easy-to-use Macros to Create a Line Plot with Error Bars Including Functions of Automated Jittering and Adjusting Axis Ranges Andrew Miskell, GlaxoSmithKline, Research Triangle
More informationA SAS Macro to Generate Caterpillar Plots. Guochen Song, i3 Statprobe, Cary, NC
PharmaSUG2010 - Paper CC21 A SAS Macro to Generate Caterpillar Plots Guochen Song, i3 Statprobe, Cary, NC ABSTRACT Caterpillar plots are widely used in meta-analysis and it only requires a click in software
More informationPaper Abstract. Introduction. SAS Version 7/8 Web Tools. Using ODS to Create HTML Formatted Output. Background
Paper 43-25 The International Studies Project : SAS Version 7/8 Web Tools To The Rescue Lilin She, UNC-CH, Department Of Biostatistics, Chapel Hill, NC Jeffrey M. Abolafia, UNC-CH, Department Of Biostatistics,
More informationPharmaSUG 2012 Paper CC13
PharmaSUG 2012 Paper CC13 Techniques for Improvising the Standard Error Bar Graph and Axis Values Completely Through SAS Annotation Sunil Kumar Ganeshna, PharmaNet/i3, Pune, India Venkateswara Rao, PharmaNet/i3,
More informationThe GIMPORT Procedure
705 CHAPTER 17 The GIMPORT Procedure Overview 705 Concepts 706 About Importing Graphics 706 Specifying a Fileref 706 Importing the File 706 CGM Elements Not Supported 707 About Color Mapping 707 About
More informationChoosing the Right Procedure
3 CHAPTER 1 Choosing the Right Procedure Functional Categories of Base SAS Procedures 3 Report Writing 3 Statistics 3 Utilities 4 Report-Writing Procedures 4 Statistical Procedures 6 Available Statistical
More informationGENERATING SAS HARD COpy OUTPUT UNDER THE VMS N VAX ENVIRONMENT
GENERATING SAS HARD COpy OUTPUT UNDER THE VMS N VAX ENVIRONMENT Edmond Williams, Consultant Shi-Tao Yeh, Consultant Abstract SAS output, the result of executing SAS programs, is in the form of text output
More informationPresentation Quality Graphics with SAS/GRAPH
Presentation Quality Graphics with SAS/GRAPH Keith Cranford, Marquee Associates, LLC Abstract The SASI GRAP~ Annotate Facilily along with hardware fonts can be used to produce presentation qualily graphics
More informationWhen Simpler is Better Visualizing Laboratory Data Using SG Procedures Wei Cheng, Isis Pharmaceuticals, Inc., Carlsbad, CA
When Simpler is Better Visualizing Laboratory Data Using SG Procedures Wei Cheng, Isis Pharmaceuticals, Inc., Carlsbad, CA ABSTRACT In SAS 9.2, SAS/GRAPH introduces a family of new procedures to create
More informationSparkLines Using SAS and JMP
SparkLines Using SAS and JMP Kate Davis, International Center for Finance at Yale, New Haven, CT ABSTRACT Sparklines are intense word-sized graphics for use inline text or on a dashboard that condense
More informationCreate Flowcharts Using Annotate Facility. Priya Saradha & Gurubaran Veeravel
Create Flowcharts Using Annotate Facility Priya Saradha & Gurubaran Veeravel Abstract With mounting significance to the graphical presentation of data in different forms in the pharmaceutical industry,
More informationTips for Producing Customized Graphs with SAS/GRAPH Software. Perry Watts, Fox Chase Cancer Center, Philadelphia, PA
Tips for Producing Customized Graphs with SAS/GRAPH Software Perry Watts, Fox Chase Cancer Center, Philadelphia, PA Abstract * SAS software is used to produce customized graphics displays by solving a
More informationSomething for Nothing! Converting Plots from SAS/GRAPH to ODS Graphics
ABSTRACT Paper 1610-2014 Something for Nothing! Converting Plots from SAS/GRAPH to ODS Graphics Philip R Holland, Holland Numerics Limited, UK All the documentation about the creation of graphs with SAS
More informationWeek 05 Class Activities
Week 05 Class Activities File: week-05-24sep07.doc Directory (hp/compaq): C:\baileraj\Classes\Fall 2007\sta402\handouts Directory: \\Muserver2\USERS\B\\baileraj\Classes\sta402\handouts Better Graphics
More informationBenchmark Macro %COMPARE Sreekanth Reddy Middela, MaxisIT Inc., Edison, NJ Venkata Sekhar Bhamidipati, Merck & Co., Inc.
Benchmark Macro %COMPARE Sreekanth Reddy Middela, MaxisIT Inc., Edison, NJ Venkata Sekhar Bhamidipati, Merck & Co., Inc., North Wales, PA ABSTRACT The main functionality of benchmark macro %Compare is
More informationPaper Time Contour Plots. David J. Corliss, Wayne State University / Physics and Astronomy
ABSTRACT Paper 1311-2014 Time Contour Plots David J. Corliss, Wayne State University / Physics and Astronomy This new SAS tool is two-dimensional color chart for visualizing changes in a population or
More informationODS and Web Enabled Device Drivers: Displaying and Controlling Large Numbers of Graphs. Arthur L. Carpenter and Richard O. Smith Data Explorations
ODS and Web Enabled Device Drivers: Displaying and Controlling Large Numbers of Graphs Arthur L. Carpenter and Richard O. Smith Data Explorations ABSTRACT With the advent of the Output Delivery System,
More informationUSING GOPTION STATEMENTS FOR PC/SAS GRAPHIC DEVICES. Randy Van Beek South Dakota State University Computing Center
USING GOPTION STATEMENTS FOR PC/SAS GRAPHIC DEVICES Randy Van Beek South Dakota State University Computing Center Making Transparencies on HP Colorpro Using GOPTION Statements For PC/SAS Graphic Devices
More informationSAS Online Training: Course contents: Agenda:
SAS Online Training: Course contents: Agenda: (1) Base SAS (6) Clinical SAS Online Training with Real time Projects (2) Advance SAS (7) Financial SAS Training Real time Projects (3) SQL (8) CV preparation
More informationSAS CLINICAL SYLLABUS. DURATION: - 60 Hours
SAS CLINICAL SYLLABUS DURATION: - 60 Hours BASE SAS PART - I Introduction To Sas System & Architecture History And Various Modules Features Variables & Sas Syntax Rules Sas Data Sets Data Set Options Operators
More informationConverting Annotate to ODS Graphics. Is It Possible?
ABSTRACT Paper 2686-2015 Converting Annotate to ODS Graphics. Is It Possible? Philip R Holland, Holland Numerics Limited In the previous chapter I described how many standard SAS/GRAPH plots can be converted
More informationInteractive Graphs from the SAS System
Interactive Graphs from the SAS System Shi-Tao Yeh, GlaxoSmithKline, King of Prussia, PA. ABSTRACT An interactive graph is a dynamic graph interface that allows viewers interaction. The SAS System provides
More informationData Driven Annotations: An Introduction to SAS/GRAPH s Annotate Facility
Paper HW03 Data Driven Annotations: An Introduction to SAS/GRAPH s Annotate Facility Arthur L. Carpenter California Occidental Consultants ABSTRACT When SAS/GRAPH was first introduced, it was the only
More informationCreating Forest Plots Using SAS/GRAPH and the Annotate Facility
PharmaSUG2011 Paper TT12 Creating Forest Plots Using SAS/GRAPH and the Annotate Facility Amanda Tweed, Millennium: The Takeda Oncology Company, Cambridge, MA ABSTRACT Forest plots have become common in
More informationCreating Maps in SAS/GRAPH
Creating Maps in SAS/GRAPH By Jeffery D. Gilbert, Trilogy Consulting Corporation, Kalamazoo, MI Abstract This paper will give an introduction to creating graphs using the PROC GMAP procedure in SAS/GRAPH.
More informationPatricia Guldin, Merck & Co., Inc., Kenilworth, NJ USA
SESUG 2015 Paper AD-35 Programming Compliance Made Easy with a Time Saving Toolbox Patricia Guldin, Merck & Co., Inc., Kenilworth, NJ USA ABSTRACT Programmers perform validation in accordance with established
More informationPharmaSUG China. Systematically Reordering Axis Major Tick Values in SAS Graph Brian Shen, PPDI, ShangHai
PharmaSUG China Systematically Reordering Axis Major Tick Values in SAS Graph Brian Shen, PPDI, ShangHai ABSTRACT Once generating SAS graphs, it is a headache to programmers to reorder the axis tick values
More informationA Visual Revolution Statistical Graphics in SAS 9.2 Bob Newman, Amadeus Software Limited
A Visual Revolution Statistical Graphics in SAS 9.2 Bob Newman, Amadeus Software Limited ABSTRACT This paper gives an introduction to the ODS Statistical Graphics facilities of SAS 9.2, emphasising ease
More informationExporting Variable Labels as Column Headers in Excel using SAS Chaitanya Chowdagam, MaxisIT Inc., Metuchen, NJ
Paper 74924-2011 Exporting Variable Labels as Column Headers in Excel using SAS Chaitanya Chowdagam, MaxisIT Inc., Metuchen, NJ ABSTRACT Excel output is the desired format for most of the ad-hoc reports
More informationPaper S Data Presentation 101: An Analyst s Perspective
Paper S1-12-2013 Data Presentation 101: An Analyst s Perspective Deanna Chyn, University of Michigan, Ann Arbor, MI Anca Tilea, University of Michigan, Ann Arbor, MI ABSTRACT You are done with the tedious
More informationSAS Graphs in Small Multiples Andrea Wainwright-Zimmerman, Capital One, Richmond, VA
Paper SIB-113 SAS Graphs in Small Multiples Andrea Wainwright-Zimmerman, Capital One, Richmond, VA ABSTRACT Edward Tufte has championed the idea of using "small multiples" as an effective way to present
More informationMove =(+0,+5): Making SAS/GRAPH Work For You
Move =(+0,+5): Making SAS/GRAPH Work For You Deb Cassidy, Computer Horizons Corporation, ndianapolis, N 've often been asked "Can SAS/GRAPH do...?" SAS/GRAPH can do almost anything - if you are willing
More informationTime Contour Plots. David J. Corliss Magnify Analytic Solutions, Detroit, MI
Time Contour Plots David J. Corliss Magnify Analytic Solutions, Detroit, MI ABSTRACT This new SAS tool is two-dimensional color chart for visualizing changes in a population or system over time. Data for
More informationPharmaSUG 2013 CC26 Automating the Labeling of X- Axis Sanjiv Ramalingam, Vertex Pharmaceuticals, Inc., Cambridge, MA
PharmaSUG 2013 CC26 Automating the Labeling of X- Axis Sanjiv Ramalingam, Vertex Pharmaceuticals, Inc., Cambridge, MA ABSTRACT Labeling of the X-axis usually involves a tedious axis statement specifying
More informationProfessional outputs with ODS LATEX
Paper TU04 Professional outputs with ODS LATEX Arnaud DAUCHY, Sanofi Aventis, Paris, France Solenn LE GUENNEC, Sanofi Aventis, Paris, France ABSTRACT ODS tagset and ODS markup have been embedded from SAS
More informationChapter 41 SAS/INSIGHT Statements. Chapter Table of Contents
Chapter 41 SAS/INSIGHT Statements Chapter Table of Contents DETAILS...706 PROCINSIGHTStatement...707 WINDOWStatement...708 OPENStatement...708 BYStatement...709 CLASSStatement...709 BARStatement...709
More informationModifying Graphics in SAS
Modifying Graphics in SAS Statistics 135 Autumn 2005 Copyright c 2005 by Mark E. Irwin Modifying Graphs As in S, it is possible to modify fonts, colours, symbols, lines, etc in SAS. The approach is a bit
More informationCreating Graphs Using SAS ODS Graphics Designer
Creating Graphs Using SAS ODS Graphics Designer William Knabe Former Director of Statistical Applications, UI Information Technology Services SAS Summer Training Institute 2016 Slide 1 Overview. Evolution
More informationOverview 14 Table Definitions and Style Definitions 16 Output Objects and Output Destinations 18 ODS References and Resources 20
Contents Acknowledgments xiii About This Book xv Part 1 Introduction 1 Chapter 1 Why Use ODS? 3 Limitations of SAS Listing Output 4 Difficulties with Importing Standard Listing Output into a Word Processor
More informationChapter 27 Saving and Printing Graphics
Chapter 27 Saving and Printing Graphics Chapter Table of Contents CHOOSING FONTS...404 SETTING DISPLAY OPTIONS...406 SAVING GRAPHICS...407 SavingGraphicsCatalogs...407 SavingGraphicsFiles...408 PRINTING...410
More informationPaper SIB-096. Richard A. DeVenezia, Independent Consultant, Remsen, NY
Paper SIB-096 Tag Clouds - A list of tokens, sized by relative frequency Richard A. DeVenezia, Independent Consultant, Remsen, NY Abstract A tag cloud is a list of tokens, wherein the text size of a token
More information* builds the RGB color string from the color. * reads the red, green; and blue values for. * constructs an ANNOTATE dataset by
IMPORTING X WINDOW SYSTEMTM RASTER IMAGES INTO SAS/GRAPHR SOFIWARE OUTPUT Bernadette Johnson Wendy D. Johnson Pharmaceutical Product Development, Inc. SAS Institute Inc. Introduction Under the UNIXR operating
More informationPharmaSUG China Paper 059
PharmaSUG China 2016 - Paper 059 Using SAS @ to Assemble Output Report Files into One PDF File with Bookmarks Sam Wang, Merrimack Pharmaceuticals, Inc., Cambridge, MA Kaniz Khalifa, Leaf Research Services,
More informationODS AND STATISTICAL GRAPHICS
ODS AND STATISTICAL GRAPHICS Shi-Tao Yeh, GlaxoSmithKline, King of Prussia, PA ABSTRACT SAS Output Delivery System (ODS) provides several features that greatly enhance the statistical graphics presentation.
More informationFILLPATTERNS in SGPLOT Graphs Pankhil Shah, PPD, Morrisville, NC
PharmaSUG 2015 - Paper QT30 FILLPATTERNS in SGPLOT Graphs Pankhil Shah, PPD, Morrisville, NC ABSTRACT With more updates to PROC SGPLOT in SAS 9.3, there has been a substantial change in graph programming.
More informationTeaching statistics and the SAS System
Teaching statistics and the SAS System Ass. Prof. Dipl.Ing. Dr. Barbara Schneider Institute for Medical Statistics, University of Vienna,Vienna, Austria Abstract This presentation offers ideas and examples
More informationChapter 28 Saving and Printing Tables. Chapter Table of Contents SAVING AND PRINTING TABLES AS OUTPUT OBJECTS OUTPUT OBJECTS...
Chapter 28 Saving and Printing Tables Chapter Table of Contents SAVING AND PRINTING TABLES AS OUTPUT OBJECTS...418 OUTPUT OBJECTS...422 415 Part 2. Introduction 416 Chapter 28 Saving and Printing Tables
More information