Week 05 Class Activities

Size: px
Start display at page:

Download "Week 05 Class Activities"

Transcription

1 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 in SAS via SAS/Graph HIGH-RESOLUTION GRAPHICS AND FORMATS * Introduce concepts related to high-resolution graphs * PROC GCHART and PROC GPLOT for producing high-resolution graphs other SAS high resolution graphics procedures GCHART (bar charts, pie charts, star charts) GPLOT (line plot, scatter plot, regression plot, high-low plots, bubble plots) G3D (3-dimensional surface plots) GCONTOUR, G3GRID (interpolate/smooth data) GMAP (block, choropleth, prism, surface) GSLIDE (create text slide) GPRINT (display as a graphic SAS procedure output that has been saved in a text file) GREPLAY (combine several graphs into a single output) To list all graphics devices in the current catalog proc gdevice catalog=sashelp.devices nofs; list;

2 * SAS-supplied formats and PROC FORMAT for user-defined formats References (follow SAS/GRAPH links) or GPLOT figures /* example sas program that does simple linear regression */ /* defines library location for permanently storing a SAS data set */ libname class \\Muserver2\USERS\B\BAILERAJ\public.www\classes\sta402\examples ; options ls=75; data class.manatee; input year nboats manatees; cards; ;

3 proc print data=class.manatee; title Manatee mortality data ; /* Line printer scatterplot */ proc plot data=class.manatee; title2 PROC PLOT: manatees killed plotted vs. # boats registered ; plot manatees*nboats; /* SAS has an experimental ODS procedures for Statistical Graphics Using ODS */ ODS GRAPHICS (experimental in SAS 9) From On an experimental basis in SAS 9.1, a number of SAS/STAT procedures support an extension to the Output Delivery System (ODS) to create statistical graphics as automatically as tables. This facility is referred to as ODS Statistical Graphics (or ODS Graphics for short). With ODS Graphics, a procedure creates the graphs that are most commonly needed for a particular analysis. Using ODS Graphics eliminates the need to save numerical results in an output data set, manipulate them with a DATA step program, and display them with a graphics procedure. ODS Graph produces graphs similar in nature to what Minitab does. [Thanks to Dr. Schaefer for the links] SAS Procedures with ODS Graphics support Base SAS SAS/STAT CORR SAS/ETS ARIMA AUTOREG ENTROPY EXPAND MODEL SYSLIN TIMESERIES UCM ANOVA CORRESP GAM GENMOD GLM KDE LIFETEST LOESS LOGISTIC MI MIXED PHREG

4 VARMAX X12 SAS High-Performance Forecasting PRINCOMP PRINQUAL REG ROBUSTREG HPF (from In many ways, creating graphics with ODS is analogous to creating tables with ODS. You use procedure options and defaults to determine which graphs are created ODS destination statements (such as ODS HTML) to specify the output destination for graphics Additionally, you can use graph names in ODS SELECT and ODS EXCLUDE statements to select or exclude graphs from your output ODS styles to control the general appearance and consistency of all graphs ODS templates to control the layout and details of individual graphs. A default template is provided by SAS for each graph. In SAS 9.1, the ODS destinations that support ODS Graphics include HTML, LATEX, PRINTER, and RTF. ODS html; ODS graphics on; proc reg data=class.manatee plots(unpack); title2 Stat graphics with ODS ; model manatees=nboats; quit; ODS graphics off; ODS html close; Manatee mortality data Stat graphics with ODS The REG Procedure Model: MODEL1 Dependent Variable: manatees Number of Observations Read 14

5 Number of Observations Used 14 Analysis of Variance Source DF Sum of Squares Mean Square F Value Pr > F Model <.0001 Error Corrected Total Root MSE R-Square Dependent Mean Adj R-Sq Coeff Var Parameter Estimates Variable DF Parameter Estimate Standard Error t Value Pr > t Intercept nboats <.0001

6 Manatee mortality data Stat graphics with ODS The REG Procedure Model: MODEL1 Dependent Variable: manatees

7

8

9

10

11

12

13

14

15 /* Now look at what ODS graphics does with GLM */ data meat; input condition $ datalines; Plastic 7.66 Plastic 6.98 Plastic 7.80 Vacuum 5.26 Vacuum 5.44 Vacuum 5.80 Mixed 7.41 Mixed 7.33 Mixed 7.04 Co Co Co ; title bacteria growth under 4 packaging conditions; ods html; ods graphics on; proc glm data=meat order=data; title2 fitting the one-way anova model via GLM;

16 class condition; model logcount = condition; quit; ods graphics off; ods html close; bacteria growth under 4 packaging conditions fitting the one-way anova model via GLM The GLM Procedure Class Level Information Class Levels Values condition 4 Plastic Vacuum Mixed Co2 Number of Observations Read 12 Number of Observations Used 12

17 bacteria growth under 4 packaging conditions fitting the one-way anova model via GLM The GLM Procedure Dependent Variable: logcount Source DF Sum of Squares Mean Square F Value Pr > F Model <.0001 Error Corrected Total R-Square Coeff Var Root MSE logcount Mean Source DF Type I SS Mean Square F Value Pr > F condition <.0001 Source DF Type III SS Mean Square F Value Pr > F condition <.0001

18 /* Now how about specifying graphs in SAS/Graph */ ODS RTF file= \\Muserver2\USERS\B\BAILERAJ\public.www\classes\sta402\examples\week05- fig1a.rtf ; proc gplot data=class.manatee; title Number of Manatees killed regressed on the number of boats registered in Florida ; plot manatees*nboats; ODS RTF CLOSE;

19 /* Let s now add bells and whistles to this plot */ ODS RTF file= \\Muserver2\USERS\B\BAILERAJ\public.www\classes\sta402\examples\week05- fig2.rtf ; proc gplot data=class.manatee; title h=1.5 'A plot of the number of manatee deaths versus the number of boats registered in Florida';

20 title2 h=1 '[Regression line with CI for mean along with smoothing spline fit displayed]'; symbol1 interpol=rlclm95 /* r=regression, l=linear (q,c also possible), clm=conf. int. mean (cli option), 95= conf. level */ value=diamond height=3 cv=red ci=blue co=green width=2; symbol2 interpol=sm55s /* smoothing spline (SM) that first sorts the x-axis data */ ; plot manatees*nboats manatees*nboats / hminor=1 overlay regeqn; /* adds regression eqn to bottom left of plot */ ODS RTF CLOSE;

21 /* The NITROFEN data set revisited */ data class.nitrofen; infile 'M:\public.www\classes\sta402\SAS-programs\ch2-dat.txt' firstobs=16 expandtabs missover pad ; animal conc brood1 brood2 2.

22 @41 brood3 total 2.; /* creates character variable based on format */ * cbrood3 = put(brood3,totfmt.); label animal = animal ID number; label conc = Nitrofen concentration; label brood1 = number of young in first brood; label brood2 = number of young in 2nd brood; label brood3 = number of young in 3rd brood; *label total = total young produced in three broods; proc print data=class.nitrofen; * ODS RTF file='d:\baileraj\classes\fall 2003\sta402\SAS-programs\week5- fig2.rtf'; ODS RTF file= \\Muserver2\USERS\B\BAILERAJ\public.www\classes\sta402\examples\week05- fig2.rtf ; /* SYMBOL = defines characteristics of plotted symbols */ proc gplot data=class.nitrofen; title h=1.5 'A plot of the number of C. dubia produced at different Nitrofen concentrations'; title2 h=1 '[mean +/- 2SD is plotted for each concentration]'; symbol1 interpol=std2t /* plots +/- 2 SD from the mean at each conc */ /* T= add top and bottom to each 2 SD diff */ value=dot; plot total*conc / hminor=1 /* hminor=# tick markets before x values */ haxis=0 to 350 by 50; ODS RTF CLOSE;

23 proc means data=class.nitrofen; class conc; var total; output out=nitromean mean=n_mean stddev=n_sd; proc print; Obs conc _TYPE FREQ_ n_mean n_sd

24 * ODS RTF file='d:\baileraj\classes\fall 2003\sta402\SAS-programs\week5- fig3.rtf'; ODS RTF file= \\Muserver2\USERS\B\BAILERAJ\public.www\classes\sta402\examples\week05- fig3.rtf ; proc gplot data=nitromean; title h=1.5 'Plot of mean number of C. dubia young produced at different Nitrofen concentrations'; title2 h=1 '[bubble area proportional to std dev.]'; bubble n_mean*conc=n_sd / bsize=15; /* bsize helps resize bubble for display */ ODS RTF CLOSE;

25 GCHART figures * ODS RTF file='d:\baileraj\classes\fall 2003\sta402\SAS-programs\week5- fig4.rtf'; ODS RTF file= \\Muserver2\USERS\B\BAILERAJ\public.www\classes\sta402\examples\week05- fig4.rtf ;

26 goptions reset=global gunit=pct border cback=white colors=(black blue green red) ftext=swiss ftitle=swissb htitle=5 htext=3.5; title1 'Average Total Young by Nitrofen concentration'; axis1 label=('total Young' j=c 'Error Bar Confidence Limits: 95%') minor=(number=1); axis2 label=('nitrofen' j=r 'Concentration'); pattern1 color=cyan; proc gchart data=class.nitrofen; hbar conc / type=mean sumvar=total /* freqlabel='number in Group' */ /* meanlabel='mean Number Young' */ errorbar=bars clm=95 midpoints=( ) raxis=axis1 maxis=axis2 noframe coutline=black; ODS RTF CLOSE;

27 ODS RTF file= \\Muserver2\USERS\B\BAILERAJ\public.www\classes\sta402\examples\week05- fig5.rtf ; * ODS RTF file='d:\baileraj\classes\fall 2003\sta402\SAS-programs\week5- fig5.rtf'; proc gchart data=class.nitrofen; title1 'Total Young by Nitrofen concentration'; star conc / sumvar=total; proc gchart data=class.nitrofen; title1 'Total Young by Nitrofen concentration';

28 pie conc / sumvar=total; ODS RTF CLOSE;

29 GREPLAY figures /* now trying something fancy using templates and GREPLAY to get multiple figures on a page REF: */ * libname class 'D:\baileraj\Classes\Fall 2003\sta402\data ; libname class \\Muserver2\USERS\B\BAILERAJ\public.www\classes\sta402\examples ; /* libname class previously defined */

30 ftext=swissb htitle=6 htext=3; proc greplay tc=class.tempcat nofs; tdef newtemp des='five panel template' 1/llx=0 lly=10 ulx=0 uly=50 urx=50 ury=50 lrx=50 lry=10 color=blue 2/llx=0 lly=50 ulx=0 uly=90 urx=50 ury=90 lrx=50 lry=50 color=red 3/llx=50 lly=50 ulx=50 uly=90 urx=100 ury=90 lrx=100 lry=50 color=green 4/llx=50 lly=10 ulx=50 uly=50 urx=100 ury=50 lrx=100 lry=10 color=cyan; template newtemp; list template; quit; proc gplot data=class.nitrofen gout=class.graph; title c=red 'Brood 1'; plot brood1*conc; title 'Brood 2'; plot brood2*conc; title 'Brood 3'; plot brood3*conc; title 'TOTAL'; plot total*conc; goptions hsize=0in vsize=0in; proc gslide gout=class.graph; title 'PLOT of brood and total responses versus nitrofen concentration'; goptions display; ODS RTF file= \\Muserver2\USERS\B\BAILERAJ\public.www\classes\sta402\examples\week05-fig6.rtf ; * ODS RTF file='d:\baileraj\classes\fall 2003\sta402\SAS-programs\week5-fig6.rtf'; proc greplay igout=class.graph gout=class.excat tc=class.tempcat nofs template=newtemp; treplay 3:gplot2 /* plot bottom left - brood 3 */ 1:gplot /* top left - brood 1 */ 2:gplot1 /* top right - brood 2 */ 4:gplot3 ; /* bottom right - total */ quit; ODS RTF CLOSE;

31 G3D figures libname class \\Muserver2\USERS\B\BAILERAJ\public.www\classes\sta402\examples ; * libname class 'D:\baileraj\Classes\Fall 2003\sta402\data ; data new; set class.nitrofen; retain conc; brood=1; young=brood1; output; brood=2; young=brood2; output; brood=3; young=brood3; output; keep conc brood young; data new2; set new; jconc = conc + (10-20*ranuni(0)); jbrood = brood + (1-2*ranuni(0)); ODS RTF file=

32 * ODS RTF file='d:\baileraj\classes\fall 2003\sta402\SAS-programs\week5-fig7.rtf'; proc g3d data=new2; title h=1 Scatter plot of # young by conc. and brood (jittered) ; scatter jconc*jbrood=young / xticknum=2 yticknum=2; quit; ODF RTF CLOSE; proc means data=new; class conc brood; var young; output out=new3 mean=ymean; ODS RTF file= \\Muserver2\USERS\B\BAILERAJ\public.www\classes\sta402\examples\week05-fig8.rtf ; * ODS RTF file='d:\baileraj\classes\fall 2003\sta402\SAS-programs\week5-fig8.rtf';

33 title h=1 'Surface plot of mean # young by conc. and brood'; plot conc*brood=ymean / xticknum=2 yticknum=2 tilt=80; quit; ODS RTF CLOSE;

34 /* Collection of graphics used to compare distributions Stefan Stanev contributed to the code presented below as part of an independent study */ /* ================================================================= Enter a simple two group comparison data set REF: ================================================================= */ options formdlim='-'; data one; input value treat datalines; 18 Drug 40 Untreated 43 Drug 54 Untreated 28 Drug 26 Untreated 50 Drug 63 Untreated 16 Drug 21 Untreated 32 Drug 37 Untreated 13 Drug 39 Untreated 35 Drug 23 Untreated 38 Drug 48 Untreated 33 Drug 58 Untreated 6 Drug 28 Untreated 7 Drug 39 Untreated ; /* ================================================================= Construct summary statistics for the two groups ================================================================= */ proc sort data=one; by treat; proc means mean std data=one; by treat; output out=bar mean=mean std=std; options nocenter nodate nonumber; proc print data=bar; Obs treat _TYPE FREQ_ mean std 1 Drug Untreated /* ============================================================================== Dynamite/ bar graphs not necessarily best data display but often constructed ================================================================================= */ proc gchart data = bar; vbar treat/ sumvar=mean type=mean;

35 mean MEAN Drug treat Untreated goptions reset; axis1 label=none value=('drug' 'Untreated'); axis2 label=('number of Tapeworms') order=(0, 10, 20, 30, 40, 50, 60); proc gchart data = bar; vbar treat/ maxis =axis1 raxis = axis2 sumvar=mean type=mean; Number of Tapeworms Drug Untreated

36 * positioning GROUP (GCHART) MIDPOINT (GCHART) SUBGROUP (GCHART) X, Y, Z (G3D) * attributes ANGLE (pie)/ CBORDER / COLOR /LINE POSITION (placement and alignment for text strings) TEXT (text to used in label, symbol, comment) */ goptions reset; axis1 offset = (2 cm) label=none value=('drug' 'Untreated'); axis2 label=(angle =90 'Number of Tapeworms') order=(0, 10, 20, 30, 40, 50, 60); proc gchart data = bar; vbar treat/ maxis =axis1 raxis = axis2 sumvar=mean type=mean; Drug Untreated [*] So, how can we add whiskers? /* creating an ANNOTATE data set Can label points on a graph Can create custom graphs From SAS help >>>> * annotate data set each observation = command to draw graphic element = command to perform an action - annotate variables = action/position/attribute ( what / where / how ) - variable types * drawing/programming action = FUNCTION POLY/ DRAW/ MOVE/ POINT/ BAR/ LABEL (draw text)

37 data myanno; retain xsys ysys '2' ; set bar; function='move'; midpoint=treat; y=mean; output; function='draw'; y=mean+std; width=2; output; proc print data=myanno; Obs xsys ysys treat _TYPE FREQ_ mean std function midpoint y width Drug move Drug Drug draw Drug Untreated move Untreated Untreated draw Untreated goptions reset; axis1 offset = (2 cm) label=none value=('drug' 'Untreated'); axis2 label=(angle =90 'Number of Tapeworms') order=(0, 10, 20, 30, 40, 50, 60); proc gchart data = bar; vbar treat/ anno=myanno space = 2 maxis =axis1 raxis = axis2 sumvar=mean type=mean; Drug Untreated /* ================================================================= Side-by-side boxplots ================================================================= */ proc sort data=one; by treat; proc boxplot data=one; plot value*treat;

38 80 60 v a l u e Drug treat Untreated goptions reset; axis1 offset = (2 cm) label=none value=('drug' 'Untreated'); axis2 label=(angle =90 'Number of Tapeworms') order=(0, 10, 20, 30, 40, 50, 60); proc boxplot data = one; plot value*treat=' ' / haxis=axis1 vaxis=axis2 ; 80 N u m b e r o f T a p e w o r m s Drug Untreated /* ================================================================= Stacked histograms ================================================================= */ axis3 label=none; axis4 order = ( ) label=(angle =90 'Frequency'); proc capability data=one; by treat;

39 haxis = axis3 vaxis = axis4;

40 /* ================================================================= Scatterplot with superimposed mean ================================================================= */ axis5 offset = (2 cm) label = ('Points Jittered horizontally') order = ( ) value = (' ' 'Drug' ' ' 'Untreated' ' ') major=none minor=none; data jitter; set one; if treat = 'Drug' then x = ranuni(0)/3; else x =.75 + ranuni(0)/3; data anno2; retain xsys ysys '2' ; set bar; if treat = 'Drug' then do function='move'; x=0; y=mean; output; function='draw'; x=0.33; width=2; output; end; if treat = 'Untreated' then do function='move'; x=0.75; y=mean; output;

41 proc gplot data=jitter; plot value*x / haxis=axis5 vaxis=axis2 anno=anno2;

42

USING 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 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 information

SUGI 29 Posters. Paper A Group Scatter Plot with Clustering Xiaoli Hu, Wyeth Consumer Healthcare., Madison, NJ

SUGI 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 information

An Introduction to ODS for Statistical Graphics in SAS 9.1 Robert N. Rodriguez SAS Institute Inc., Cary, North Carolina, USA

An Introduction to ODS for Statistical Graphics in SAS 9.1 Robert N. Rodriguez SAS Institute Inc., Cary, North Carolina, USA An Introduction to ODS for Statistical Graphics in SAS 9.1 Robert N. Rodriguez SAS Institute Inc., Cary, North Carolina, USA ABSTRACT In SAS 9.1, over two dozen SAS/STAT and SAS/ETS procedures have been

More information

Week 3/4 [06+ Sept.] Class Activities. File: week sep07.doc Directory: \\Muserver2\USERS\B\\baileraj\Classes\sta402\handouts

Week 3/4 [06+ Sept.] Class Activities. File: week sep07.doc Directory: \\Muserver2\USERS\B\\baileraj\Classes\sta402\handouts Week 3/4 [06+ Sept.] Class Activities File: week-03-04-10sep07.doc Directory: \\Muserver2\USERS\B\\baileraj\Classes\sta402\handouts Week 3 Topic -- REPORT WRITING * Introduce the Output Delivery System

More information

Chapter 13 Introduction to Graphics Using SAS/GRAPH (Self-Study)

Chapter 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 information

The GSLIDE Procedure. Overview. About Text Slides CHAPTER 27

The 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 information

Innovative Graph for Comparing Central Tendencies and Spread at a Glance

Innovative 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 information

A 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 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 information

Picturing Statistics Diana Suhr, University of Northern Colorado

Picturing 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 information

A Juxtaposition of Tables and Graphs Using SAS /GRAPH Procedures

A Juxtaposition of Tables and Graphs Using SAS /GRAPH Procedures 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

More information

SAS/GRAPH Introduction. Winfried Jakob, SAS Administrator Canadian Institute for Health Information

SAS/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 information

Developing a Dashboard to Aid in Effective Project Management

Developing 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 information

CHAPTER 1 Introduction to SAS/GRAPH Software

CHAPTER 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 information

INTRODUCTION TO THE SAS ANNOTATE FACILITY

INTRODUCTION 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 information

Focusing healthcare quality improvement dollars: Using SAS

Focusing healthcare quality improvement dollars: Using SAS Focusing healthcare quality improvement dollars: Using SAS for geographic targeting Barbara B. Okerson, Ph.D., Charlotte F. Carroll, M.S., Virginia Health Quality Center, Glen Allen, VA ABSTRACT Like many

More information

ODS LAYOUT is Like an Onion

ODS 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 information

How to annotate graphics

How to annotate graphics Paper TU05 How to annotate graphics Sandrine STEPIEN, Quintiles, Strasbourg, France ABSTRACT Graphs can be annotated using different functions that add graphics elements to the output. Amongst other things,

More information

Coders' Corner. Paper ABSTRACT GLOBAL STATEMENTS INTRODUCTION

Coders' 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 information

Want 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. 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 information

It s Not All Relative: SAS/Graph Annotate Coordinate Systems

It 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 information

Graphically 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 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 information

Data Driven Annotations: An Introduction to SAS/GRAPH s Annotate Facility

Data 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 information

Tips to Customize SAS/GRAPH... for Reluctant Beginners et al. Claudine Lougee, Dualenic, LLC, Glen Allen, VA

Tips 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 information

PharmaSUG 2015 Paper PO03

PharmaSUG 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 information

ODS The output delivery system

ODS The output delivery system SAS Lecture 6 ODS and graphs ODS The output delivery system Aidan McDermott, May 2, 2006 1 2 The output delivery system During the 1990 s SAS introduced a more extensive way of dealing with SAS output

More information

ABC s of Graphs in Version 8 Caroline Bahler, Meridian Software, Inc.

ABC s of Graphs in Version 8 Caroline Bahler, Meridian Software, Inc. ABC s of Graphs in Version 8 Caroline Bahler, Meridian Software, Inc. Abstract Version 8 has greatly increased the versatility and usability of graphs that can be created by SAS. This paper will discuss

More information

Effective Forecast Visualization With SAS/GRAPH Samuel T. Croker, Lexington, SC

Effective 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 information

Chapter 1 Introduction. Chapter Contents

Chapter 1 Introduction. Chapter Contents Chapter 1 Introduction Chapter Contents OVERVIEW OF SAS/STAT SOFTWARE................... 17 ABOUT THIS BOOK.............................. 17 Chapter Organization............................. 17 Typographical

More information

Splitting Axis Text. Splitting Text in Axis Tick Mark Values

Splitting Axis Text. Splitting Text in Axis Tick Mark Values CHAPTER 3 Splitting Axis Text Purpose: This chapter describes techniques you can use to split long text into two (or more) lines in your axes. Two techniques are described one to split text in axis tick

More information

MANAGING SAS/GRAPH DISPLAYS WITH THE GREPLAY PROCEDURE. Perry Watts IMS Health

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 information

Creating Maps in SAS/GRAPH

Creating 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 information

Data Annotations in Clinical Trial Graphs Sudhir Singh, i3 Statprobe, Cary, NC

Data 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 information

Generating Participant Specific Figures Using SAS Graphic Procedures Carry Croghan and Marsha Morgan, EPA, Research Triangle Park, NC

Generating 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 information

Using SAS/GRAPH Software to Create Graphs on the Web Himesh Patel, SAS Institute Inc., Cary, NC Revised by David Caira, SAS Institute Inc.

Using 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 information

SAS: Proc GPLOT. Computing for Research I. 01/26/2011 N. Baker

SAS: Proc GPLOT. Computing for Research I. 01/26/2011 N. Baker SAS: Proc GPLOT Computing for Research I 01/26/2011 N. Baker Introduction to SAS/GRAPH Graphics component of SAS system. Includes charts, plots, and maps in both 2 and 3 dimensions. Procedures included

More information

Creating Forest Plots Using SAS/GRAPH and the Annotate Facility

Creating 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 information

The GANNO Procedure. Overview CHAPTER 12

The 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 information

Applied Regression Modeling: A Business Approach

Applied Regression Modeling: A Business Approach i Applied Regression Modeling: A Business Approach Computer software help: SAS code SAS (originally Statistical Analysis Software) is a commercial statistical software package based on a powerful programming

More information

Paper S Data Presentation 101: An Analyst s Perspective

Paper 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 information

Statistical Programming in SAS. From Chapter 10 - Programming with matrices and vectors - IML

Statistical Programming in SAS. From Chapter 10 - Programming with matrices and vectors - IML Week 12 [30+ Nov.] Class Activities File: week-12-iml-prog-16nov08.doc Directory: \\Muserver2\USERS\B\\baileraj\Classes\sta402\handouts From Chapter 10 - Programming with matrices and vectors - IML 10.1:

More information

Using 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 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 information

AURA ACADEMY SAS TRAINING. Opposite Hanuman Temple, Srinivasa Nagar East, Ameerpet,Hyderabad Page 1

AURA ACADEMY SAS TRAINING. Opposite Hanuman Temple, Srinivasa Nagar East, Ameerpet,Hyderabad Page 1 SAS TRAINING SAS/BASE BASIC THEORY & RULES ETC SAS WINDOWING ENVIRONMENT CREATION OF LIBRARIES SAS PROGRAMMING (BRIEFLY) - DATASTEP - PROC STEP WAYS TO READ DATA INTO SAS BACK END PROCESS OF DATASTEP INSTALLATION

More information

The G3GRID Procedure. Overview CHAPTER 30

The G3GRID Procedure. Overview CHAPTER 30 1007 CHAPTER 30 The G3GRID Procedure Overview 1007 Concepts 1009 About the Input Data Set 1009 Multiple Vertical Variables 1009 Horizontal Variables Along a Nonlinear Curve 1009 About the Output Data Set

More information

Thumbs Up For ODS Graphics, But Don t Throw Out All Your SAS/GRAPH Programs!

Thumbs Up For ODS Graphics, But Don t Throw Out All Your SAS/GRAPH Programs! Paper 083-29 Thumbs Up For ODS Graphics, But Don t Throw Out All Your SAS/GRAPH Programs! Rick M. Mitchell, Westat, Rockville, MD ABSTRACT A huge sigh of relief can be heard throughout the SAS/GRAPH community

More information

PharmaSUG Paper TT10 Creating a Customized Graph for Adverse Event Incidence and Duration Sanjiv Ramalingam, Octagon Research Solutions Inc.

PharmaSUG 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 information

PharmaSUG 2012 Paper CC13

PharmaSUG 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 information

Creating Complex Graphics for Survival Analyses with the SAS System

Creating Complex Graphics for Survival Analyses with the SAS System Creating Complex Graphics for Survival Analyses with the SAS System Steven E. Elkin, MBH Consulting, Inc., New York, NY William Mietlowski, Novartis Pharmaceuticals Corp., East Hanover, NJ Kevin McCague,

More information

Centering and Interactions: The Training Data

Centering and Interactions: The Training Data Centering and Interactions: The Training Data A random sample of 150 technical support workers were first given a test of their technical skill and knowledge, and then randomly assigned to one of three

More information

Factorial ANOVA with SAS

Factorial ANOVA with SAS Factorial ANOVA with SAS /* potato305.sas */ options linesize=79 noovp formdlim='_' ; title 'Rotten potatoes'; title2 ''; proc format; value tfmt 1 = 'Cool' 2 = 'Warm'; data spud; infile 'potato2.data'

More information

IMPROVING A GRAPH USING PROC GPLOT AND THE GOPTIONS STATEMENT

IMPROVING 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 information

Chapters 18, 19, 20 Solutions. Page 1 of 14. Demographics from COLLEGE Data Set

Chapters 18, 19, 20 Solutions. Page 1 of 14. Demographics from COLLEGE Data Set 18.2 proc tabulate data=learn.college format=7.; class schoolsize gender scholarship; table schoolsize ALL, gender scholarship ALL; n = ' '; Demographics from COLLEGE Data Set ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ

More information

UTILIZING 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 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 information

CSC 328/428 Summer Session I 2002 Data Analysis for the Experimenter FINAL EXAM

CSC 328/428 Summer Session I 2002 Data Analysis for the Experimenter FINAL EXAM options pagesize=53 linesize=76 pageno=1 nodate; proc format; value $stcktyp "1"="Growth" "2"="Combined" "3"="Income"; data invstmnt; input stcktyp $ perform; label stkctyp="type of Stock" perform="overall

More information

Please login. Take a seat Login with your HawkID Locate SAS 9.3. Raise your hand if you need assistance. Start / All Programs / SAS / SAS 9.

Please login. Take a seat Login with your HawkID Locate SAS 9.3. Raise your hand if you need assistance. Start / All Programs / SAS / SAS 9. Please login Take a seat Login with your HawkID Locate SAS 9.3 Start / All Programs / SAS / SAS 9.3 (64 bit) Raise your hand if you need assistance Introduction to SAS Procedures Sarah Bell Overview Review

More information

Something for Nothing! Converting Plots from SAS/GRAPH to ODS Graphics

Something 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 information

Figure 1. Paper Ring Charts. David Corliss, Marketing Associates, Bloomfield Hills, MI

Figure 1. Paper Ring Charts. David Corliss, Marketing Associates, Bloomfield Hills, MI Paper 16828 Ring Charts David Corliss, Marketing Associates, Bloomfield Hills, MI Abstract Ring Charts are presented as a new, graphical technique for analyzing complex relationships between tables in

More information

Arthur L. Carpenter California Occidental Consultants

Arthur 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 information

Top 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 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 information

PharmaSUG Paper DG07

PharmaSUG 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 information

Creating Population Tree Charts (Using SAS/GRAPH Software) Robert E. Allison, Jr. and Dr. Moon W. Suh College of Textiles, N. C.

Creating Population Tree Charts (Using SAS/GRAPH Software) Robert E. Allison, Jr. and Dr. Moon W. Suh College of Textiles, N. C. SESUG 1994 Creating Population Tree Charts (Using SAS/GRAPH Software) Robert E. Allison, Jr. and Dr. Moon W. Suh College of Textiles, N. C. State University ABSTRACT This paper describes a SAS program

More information

Modifying Graphics in SAS

Modifying 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 information

INTRODUCTION TO SAS/GRAPH

INTRODUCTION 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 information

SAS CLINICAL SYLLABUS. DURATION: - 60 Hours

SAS 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 information

Introduction to SAS. I. Understanding the basics In this section, we introduce a few basic but very helpful commands.

Introduction to SAS. I. Understanding the basics In this section, we introduce a few basic but very helpful commands. Center for Teaching, Research and Learning Research Support Group American University, Washington, D.C. Hurst Hall 203 rsg@american.edu (202) 885-3862 Introduction to SAS Workshop Objective This workshop

More information

The Plot Thickens from PLOT to GPLOT

The 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 information

Tips 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 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 information

Annotate Dictionary CHAPTER 11

Annotate Dictionary CHAPTER 11 427 CHAPTER 11 Annotate Dictionary Overview 428 Annotate Functions 429 BAR Function 431 CNTL2TXT Function 432 COMMENT Function 434 DEBUG Function 435 DRAW Function 435 DRAW2TXT Function 436 FRAME Function

More information

Chapter 2 (was Ch. 8) (September 21, 2008; 4:54 p.m.) Constructing a data set for analysis: reading, combining, managing and manipulating data sets

Chapter 2 (was Ch. 8) (September 21, 2008; 4:54 p.m.) Constructing a data set for analysis: reading, combining, managing and manipulating data sets Chapter 2 (was Ch. 8) (September 21, 2008 4:54 p.m.) Constructing a data set for analysis: reading, combining, managing and manipulating data sets 2. Constructing a data set for analysis: reading, combining,

More information

Introductory SAS example

Introductory SAS example Introductory SAS example STAT:5201 1 Introduction SAS is a command-driven statistical package; you enter statements in SAS s language, submit them to SAS, and get output. A fairly friendly user interface

More information

Fiqure 1. Graphics 229. NESUG '93 Proceedings

Fiqure 1. Graphics 229. NESUG '93 Proceedings Graphics 229 THREE-DIMENSIONAL GRAPBICS IN SAS: MY KINGDOM FOR AN AXIS STATEMENT CInimoa Malangone and Ireae Mendebon Pbanna 'Research Div&on, Hoffmann-La Roche Inc. ABSTRACT This paper gives a step-by-step

More information

BUSINESS ANALYTICS. 96 HOURS Practical Learning. DexLab Certified. Training Module. Gurgaon (Head Office)

BUSINESS ANALYTICS. 96 HOURS Practical Learning. DexLab Certified. Training Module. Gurgaon (Head Office) SAS (Base & Advanced) Analytics & Predictive Modeling Tableau BI 96 HOURS Practical Learning WEEKDAY & WEEKEND BATCHES CLASSROOM & LIVE ONLINE DexLab Certified BUSINESS ANALYTICS Training Module Gurgaon

More information

Converting Annotate to ODS Graphics. Is It Possible?

Converting 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 information

STAT:5201 Applied Statistic II

STAT:5201 Applied Statistic II STAT:5201 Applied Statistic II Two-Factor Experiment (one fixed blocking factor, one fixed factor of interest) Randomized complete block design (RCBD) Primary Factor: Day length (short or long) Blocking

More information

EXST3201 Mousefeed01 Page 1

EXST3201 Mousefeed01 Page 1 EXST3201 Mousefeed01 Page 1 3 /* 4 Examine differences among the following 6 treatments 5 N/N85 fed normally before weaning and 85 kcal/wk after 6 N/R40 fed normally before weaning and 40 kcal/wk after

More information

Presentation Quality Graphics with SAS/GRAPH

Presentation 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 information

Multiple Forest Plots and the SAS System

Multiple Forest Plots and the SAS System Multiple Forest Plots and the SAS System Poster 10 Anne Barfield, Quanticate, Manchester, United Kingdom ABSTRACT This paper is the accompanying paper to the poster entitled Multiple Forest Plots and the

More information

THE IMPACT OF DATA VISUALIZATION IN A STUDY OF CHRONIC DISEASE

THE IMPACT OF DATA VISUALIZATION IN A STUDY OF CHRONIC DISEASE THE IMPACT OF DATA VISUALIZATION IN A STUDY OF CHRONIC DISEASE South Central SAS Users Group SAS Educational Forum 2007 Austin, TX Gabe Cano, Altarum Institute Brad Smith, Altarum Institute Paul Cuddihy,

More information

SAS Graphs in Small Multiples Andrea Wainwright-Zimmerman, Capital One, Richmond, VA

SAS 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 information

Using Annotate Datasets to Enhance Charts of Data with Confidence Intervals: Data-Driven Graphical Presentation

Using Annotate Datasets to Enhance Charts of Data with Confidence Intervals: Data-Driven Graphical Presentation Using Annotate Datasets to Enhance Charts of Data with Confidence Intervals: Data-Driven Graphical Presentation Gwen D. Babcock, New York State Department of Health, Troy, NY ABSTRACT Data and accompanying

More information

Interactive Graphs from the SAS System

Interactive 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 information

FILLPATTERNS in SGPLOT Graphs Pankhil Shah, PPD, Morrisville, NC

FILLPATTERNS 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 information

Controlling Titles. Purpose: This chapter demonstrates how to control various characteristics of the titles in your graphs.

Controlling Titles. Purpose: This chapter demonstrates how to control various characteristics of the titles in your graphs. CHAPTER 5 Controlling Titles Purpose: This chapter demonstrates how to control various characteristics of the titles in your graphs. The Basics For the first examples in this chapter, we ll once again

More information

Within-Cases: Multivariate approach part one

Within-Cases: Multivariate approach part one Within-Cases: Multivariate approach part one /* sleep2.sas */ options linesize=79 noovp formdlim=' '; title "Student's Sleep data: Matched t-tests with proc reg"; data bedtime; infile 'studentsleep.data'

More information

SAS/GRAPH Blues? SAS/FRAME to the Rescue Kathy Shelley, Iowa State University, Ames, Iowa

SAS/GRAPH Blues? SAS/FRAME to the Rescue Kathy Shelley, Iowa State University, Ames, Iowa SAS/GRAPH Blues? SAS/FRAME to the Rescue {:^( }:^) Kathy Shelley, Iowa State University, Ames, Iowa ABSTRACT This paper shows how SAS/FRAME can be used to automate repetitive graph production, thus enabling

More information

Cell means coding and effect coding

Cell means coding and effect coding Cell means coding and effect coding /* mathregr_3.sas */ %include 'readmath.sas'; title2 ''; /* The data step continues */ if ethnic ne 6; /* Otherwise, throw the case out */ /* Indicator dummy variables

More information

Factorial ANOVA. Skipping... Page 1 of 18

Factorial ANOVA. Skipping... Page 1 of 18 Factorial ANOVA The potato data: Batches of potatoes randomly assigned to to be stored at either cool or warm temperature, infected with one of three bacterial types. Then wait a set period. The dependent

More information

Coders' Corner. Scaling Mount GCHART: Using a MACRO to Dynamically Reset the Scale Nina L. Werner, Dean Health Plan, Inc., Madison, WI.

Coders' Corner. Scaling Mount GCHART: Using a MACRO to Dynamically Reset the Scale Nina L. Werner, Dean Health Plan, Inc., Madison, WI. Paper 111-25 Scaling Mount GCHART: Using a MACRO to Dynamically Reset the Scale Nina L. Werner, Dean Health Plan, Inc., Madison, WI ABSTRACT If you do not set the scale yourself, PROC GCHART will automatically

More information

CH5: CORR & SIMPLE LINEAR REFRESSION =======================================

CH5: CORR & SIMPLE LINEAR REFRESSION ======================================= STAT 430 SAS Examples SAS5 ===================== ssh xyz@glue.umd.edu, tap sas913 (old sas82), sas https://www.statlab.umd.edu/sasdoc/sashtml/onldoc.htm CH5: CORR & SIMPLE LINEAR REFRESSION =======================================

More information

Stat 302 Statistical Software and Its Applications SAS: Data I/O

Stat 302 Statistical Software and Its Applications SAS: Data I/O Stat 302 Statistical Software and Its Applications SAS: Data I/O Yen-Chi Chen Department of Statistics, University of Washington Autumn 2016 1 / 33 Getting Data Files Get the following data sets from the

More information

Using PC SAS/ASSIST* for Statistical Analyses

Using PC SAS/ASSIST* for Statistical Analyses Using PC SAS/ASSIST* for Statistical Analyses Margaret A. Nemeth, Monsanto Company lptroductjon SAS/ASSIST, a user friendly, menu driven applications system, is available on several platforms. This paper

More information

ODS AND STATISTICAL GRAPHICS

ODS 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 information

ODS 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 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 information

SAS Graph: Introduction to the World of Boxplots Brian Spruell, Constella Group LLC, Durham, NC

SAS 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 information

The GREMOVE Procedure

The GREMOVE Procedure 905 CHAPTER 25 The GREMOVE Procedure Overview 905 Concepts 906 About the Input Map Data Set 906 About the Output Map Data Set 907 About Unmatched Area Boundaries 907 Procedure Syntax 908 PROC GREMOVE Statement

More information

Using SAS/GRAPH Software to Analyze Student Study Habits. Bill Wallace Computing Services University of Saskatchewan

Using SAS/GRAPH Software to Analyze Student Study Habits. Bill Wallace Computing Services University of Saskatchewan Using SAS/GRAPH Software to Analyze Student Study Habits Bill Wallace Computing Services University of Saskatchewan Abstract This paper describes the steps taken to create unusual vertical bar charts for

More information

CREATING STATISTICAL GRAPHICS IN SAS

CREATING STATISTICAL GRAPHICS IN SAS CREATING STATISTICAL GRAPHICS IN SAS INTRODUCING SG ANNOTATION AND ATTRIBUTE MAPS HIGHLY CUSTOMIZED GRAPHS USING ODS GRAPHICS WARREN F. KUHFELD, SAS INSTITUTE INC. Copyright 2016, SAS Institute Inc. All

More information

Making Presentations More Fun with DATA Step Graphics Interface (DSGI) Hui-Ping Chen, Eli Lilly and Company, Indianapolis, Indiana

Making 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 information

Using SAS Graphics to Explore Behavioral Health Cost Risk Barbara B. Okerson, HMC, Richmond, VA

Using SAS Graphics to Explore Behavioral Health Cost Risk Barbara B. Okerson, HMC, Richmond, VA Paper PO-085 Using SAS Graphics to Explore Behavioral Health Cost Risk Barbara B. Okerson, HMC, Richmond, VA ABSTRACT Behavioral health disorders result in significant economic loss through costs associated

More information

PROC CATALOG, the Wish Book SAS Procedure Louise Hadden, Abt Associates Inc., Cambridge, MA

PROC 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 information

Producing Publication Quality Business Graphs with SASIGRAPH Software

Producing Publication Quality Business Graphs with SASIGRAPH Software Producing Publication Quality Business Graphs with SASIGRAPH Software Andrew Kopras, Parliamentary Library, Canberra A.C.T., Australia INTRODUCTION Modern colour graphic output devioes like ink jet or

More information