Picturing Statistics Diana Suhr, University of Northern Colorado

Size: px
Start display at page:

Download "Picturing Statistics Diana Suhr, University of Northern Colorado"

Transcription

1 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 program SAS statistical procedures (e.g., PROC FREQ, PROC MEANS, PROC CORR) and learn to illustrate the results with PROC GCHART/PROC GPLOT. Comparisons will be shown between PROC GCHART, PROC CHART, PROC PLOT, and PROC GPLOT. Introduction Understanding statistics can be difficult. Visual representations (graphs, plots) sometimes make statistical results easier to understand. This hands on workshop will give you an opportunity to learn ways to picture statistics. Syntax for PROC CHART, PROC GCHART, PROC PLOT, and PROC GCHART is shown. Examples illustrate frequencies, correlations, and means. PROC CHART PROC CHART produces vertical and horizontal bar charts (histograms), block charts, pie charts, and star charts (SAS Procedures, 1990). PROC CHART produces charts for both numeric and character variables. PROC CHART automatically selects intervals. However, interval midpoints can be explicitly defined. PROC CHART syntax is PROC CHART <options>; <options are DATA= FORMCHAR <list> formchar LIP= > BY variable(s); VBAR variable(s) <options>; HBAR variable(s) <options>; BLOCK variable(s) <options>; PIE variable(s) <options>; STAR variable(s) <options>; See SAS Procedures Guide and SAS Online Docs for explanations of statement specific options. Standard and statement-specific options include ASCENDING AXIS= CFREQ CPERCENT DESCENDING DISCRETE FREQ FREQ=variable GROUP=variable G100 LEVELS=# of midpoints MEAN MIDPOINTS=midpoint list MISSING NOHEADER NOSPACE NOSTATS NOSYMBOL NOLEGEND NOZEROS PERCENT REF=value SUBGROUP=variable SUM SUMVAR=variable SYMBOL= character-list TYPE=(CFREQ CPERCENT FREQ MEAN) PERCENT SUM. The types of charts are VBAR for vertical bar chart HBAR for horizontal bar chart BLOCK for block chart PIE for pie chart STAR for star chart. The appearance of the chart can be changed by specifying The type of chart Summary measures Grouping variables Line-size, page-size, form-character options. Types of statistics that can be presented are TYPE=FREQ for frequency counts TYPE=PCT for percentages TYPE=CFREQ for cumulative percentages TYPE=CPCT for cumulative percentages TYPE=SUM for totals TYPE=MEANS for averages. Options to control grouping are DISCRETE groups numeric variables as categorical variables GROUP= groups variable values SUBGROUP= determines subgroups MIDPOINTS= uses interval midpoints SUMVAR= names the variables to collect summaries for means, sums, or frequencies. PROC GCHART The GCHART procedure produces vertical and horizontal bar charts (also called histograms), block charts, pie and donut charts, and star charts. You can use these charts to represent pictorially a given variable value or the relationship between two or more variables or the value of a statistic calculated for one or more variables (SAS Online Doc, 1999). Syntax for PROC GCHART is PROC GCHART <options>; <options are DATA= ANNOTATE= GOUT= IMPAGEMAP= > BLOCK chart-variable(s) </options>; HBAR HBAR3D VBAR VBAR3D chart-variables </options>; PIE PIE3D DONUT chart-varible(s) </options>; STAR chart-varible(s) </options>; PROC PLOT PROC PLOT plots the values of two variables for each observation. To produce a plot, specify which variables to plot. PROC PLOT syntax is PROC PLOT <options> <options are DATA= UNIFORM NOMISS NOLEGEND VTOH= FORMCHAR= HPERCENT= VPERCENT= >; BY variable(s); PLOT vertical variable horizontal variable <options>; <options are HAXIS= VAXIS= HZERO VZERO HREVERSE VREVERSE HEXPAND VEXPAND HSPACE= VSPACE= HREF= VREF= HREFCHAR= VREFCHAR= BOX HPOS= VPOS= OVERLAY CONTOUR S<level>= SLIST= > PROC GPLOT The GPLOT procedure produces two-dimensional graphs that plot one variable against another within a set of coordinate axes. The coordinates of each point on the plot correspond to two variable values in an observation of the input data set. PROC GPLOT produces plots for character variables, as well as numeric variables. Graphs are automatically scaled to the values of the data, although scaling can be controlled with options or with AXIS statements. The GPLOT procedure can produce

2 several kinds of graphs: overlays plots; plots against one or two vertical axes; bubble plots in which circles of varying proportions representing the values of a third variable are plotted on the vertical and horizontal axes; plots with a legend; scatter graphs, needle plots, and plots with simple or spline-interpolated lines (SAS Online Doc, 1999). The syntax for PROC GPLOT is PROC GPLOT <options > <options are DATA= ANNOTATE= GOUT= UNIFORM IMAGEMAP= > BUBBLE plot-request(s) </options>; BUBBLE2 plot-request(s) </options >; PLOT plot-request(s) </options >; PLOT2 plot-request(s) </options >; Graphics Options A few graphics options can be set for PROC GCHART AND PROC GPLOT so that your results match the graphics shown in the examples (SAS/GRAPH Software, 1990). gooptions gunit=pct cback=white htitle=6 htext=3 ftext=swissb ctext=blue; gunit= sets the character height units measurement to percentage of display height cback= sets monitor background color to white htitle= sets the first title text height to 6 (in units of display height percent) htext= sets graph text height to 3 (in unites of display height percent) ftext= sets graph text font to swissb ctext= sets graph text color to blue Options for PROC GCHART AND PROC GPLOT may be reset to default values by using goptions reset = all ! #"!#"#!# $$%!" %&!!!!,----- %!!!$!!! proc chart data = rawsub; vbar deg; +++++!! $! ! ! %! , hbar deg; Examples Frequencies count the values of a variable. The PROC FREQ procedure produces a frequency table. A visual representation produced with PROC CHART or PROC GCHART can illustrate frequencies. proc freq data = rawsub; tables deg;! "!##"#!# $$ %&%!"!!!! '(() vbar deg; proc chart data = rawsub; hbar deg; Hbar produces a histogram with frequencies.

3 hbar3d deg; vbar deg/subgroup=gend; block deg; vbar deg/group=gend; proc freq; tables gender deg;. / ----.# &#% %&$%&%&!"% $%$! """"$ ---- #$#& % &!% $$ "%" %&% "$"$" % ----! $$%!" "!# %&!!!! '(() Title height=5 pct Research Study#95 ; Title2 font=simplex group by gender ; Pattern1 value=right color=blue; Pattern2 value=x3 color=red; vbar deg / subgroup=gend;

4 vbar deg / group=gend; vbar3d deg / subgroup=gend; Correlations Correlation measures the strength of the linear relationship between two variables. If one variable can be expressed exactly as a linear relationship of another variable, then the correlation is 1 (directly related) or 1 (inversely related). A correlation of 0 indicates no relationship. PROC CORR computes correlation coefficients. proc corr; var s5 s7; 0 (..(12)%!$ 3445!6)! ("(# ("!!!!!!$ 7!!! (#!$!!!!! 7!!! proc plot; plot s5s7; vbar deg3d / group=gend; plot s5s7; proc corr; var yrstch yrscoach;

5 0 (..( 3445!6)! 2.0(( proc sort data = rawsub; (( (!!!!!8!%!!!! &$& (8!%!!!!!!!!! &%! Graphing mean values Means (averages) may be calculated and graphed for groups with the following code. by grp; proc means noprint; by grp; var s2 s3 s7 s9; output out=mnfl mean=m2 m3 m7 m9; proc gplot data = mnfl; plot m2grp; plot yrstchyrscoach; symbol1 interpol=join; proc gplot data=mnfl; plot m2grp; proc plot; plot yrstchyrscoach; plot m2grp m3grp; The code above produces two plots. If you want one plot, an overlay plot, use the code below. plot m2grp m3grp/overlay; Options haxis and vaxis can be used to change the horizontal axis and vertical axis. Try the following code and see what happens. Did the axis change? Did the axis default to a maximum value? pattern1 color=red value=solid; pattern2 color=blue value=solid; plot m2grp m3grp/overlay area=2; proc plot; plot yrstchyrscoach /haxis=0 to 50 by 2 vaxis= ; plot yrstchyrscoach /haxis=0 to 50 by 2 vaxis= ;

6 plot m2grp m3grp m7grp m9grp /overlay; Analysis of Variance PROC GLM can be used to determine significant differences between the means of two or more groups. The overlay plot above illustrates means of the four groups on four items. proc glm; class grp; model s2 s3 s7 s9 = grp; means grp; What now? You ve run plots or graphs and want to get the pictures into a document or a presentation. Adobe PhotoShop or Microsoft Paint will assist you. Copy from SAS and paste to PhotoShop or Paint and resize your picture. Then copy and paste into Word or Powerpoint. Conclusion Try picturing statistics with PROC PLOT, PROC GPLOT, PROC CHART, or PROC GCHART. The results will provide you with an easier way to explain your statistical results. References SAS Applications Guide, 1980 Edition, Cary, N.C.: SAS Institute. SAS/Graph Software, Version 6, First Edition. Cary, N.C.: SAS Institute, SAS Language, Version 6. Cary, N.C.: SAS Institute, SAS Language and Procedures, Version 6, First Edition. Cary, N.C.: SAS Institute, 1989 SAS OnlineDoc, Version 8, SAS/STAT User s Guide, Chapter 63. Cary, N.C.: SAS Institute, SAS Procedures, Version 6, Third Edition. Cary, N.C.: SAS Institute, About the author Diana Suhr is a Statistical Analyst in the Office of Institutional Research at the University of Northern Colorado. She earned a Ph.D. in Educational Psychology at UNC in The first programming language she learned was Fortran in She has been a SAS programmer since Contact Diana Suhr, Statistical Analyst Institutional Research University of Northern Colorado Greeley, CO , diana.suhr@unco.edu SAS and all other SAS Institute product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. indicates USA registration.

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

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

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

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

Chapter 25 PROC PARETO Statement. Chapter Table of Contents. OVERVIEW SYNTAX SummaryofOptions DictionaryofOptions...

Chapter 25 PROC PARETO Statement. Chapter Table of Contents. OVERVIEW SYNTAX SummaryofOptions DictionaryofOptions... Chapter 25 PROC PARETO Statement Chapter Table of Contents OVERVIEW...793 SYNTAX...794 SummaryofOptions...794 DictionaryofOptions...795 791 Part 7. The CAPABILITY Procedure SAS OnlineDoc : Version 8 792

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

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

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

Archer R. Gravely, UNC Asheville, Asheville, NC

Archer R. Gravely, UNC Asheville, Asheville, NC Achieving Graphical Excellence With SAS/GRAPH Software Archer R. Gravely, UNC Asheville, Asheville, NC Abstract This paper will integrate Tufte s (1983) principles of graphical excellence with the use

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

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

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

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

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

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

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

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

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

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

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

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

Intermediate SAS: Statistics

Intermediate SAS: Statistics Intermediate SAS: Statistics OIT TSS 293-4444 oithelp@mail.wvu.edu oit.wvu.edu/training/classmat/sas/ Table of Contents Procedures... 2 Two-sample t-test:... 2 Paired differences t-test:... 2 Chi Square

More information

From Getting Started with the Graph Template Language in SAS. Full book available for purchase here.

From Getting Started with the Graph Template Language in SAS. Full book available for purchase here. From Getting Started with the Graph Template Language in SAS. Full book available for purchase here. Contents About This Book... xi About The Author... xv Acknowledgments...xvii Chapter 1: Introduction

More information

The GTESTIT Procedure

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

New Visualization in V8.2

New Visualization in V8.2 Paper 161-26 New Visualization in V8.2 Himesh Patel, SAS Institute Sanjay Matange, SAS Institute ABSTRACT Looking for a pain-free way to combine tables and graphs on the same page? Well, the search is

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

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

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

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

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

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

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

Section 2-2 Frequency Distributions. Copyright 2010, 2007, 2004 Pearson Education, Inc

Section 2-2 Frequency Distributions. Copyright 2010, 2007, 2004 Pearson Education, Inc Section 2-2 Frequency Distributions Copyright 2010, 2007, 2004 Pearson Education, Inc. 2.1-1 Frequency Distribution Frequency Distribution (or Frequency Table) It shows how a data set is partitioned among

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

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

Chapter 27 HBAR Statement. Chapter Table of Contents

Chapter 27 HBAR Statement. Chapter Table of Contents Chapter 27 HBAR Statement Chapter Table of Contents OVERVIEW...835 GETTING STARTED...836 CreatingaParetoChartfromRawData...836 CreatingaParetoChartUsingFrequencyData...838 Restricting the Number of Pareto

More information

SAS Training Spring 2006

SAS Training Spring 2006 SAS Training Spring 2006 Coxe/Maner/Aiken Introduction to SAS: This is what SAS looks like when you first open it: There is a Log window on top; this will let you know what SAS is doing and if SAS encountered

More information

Introduction to ODS Graphics for the Non-Statistician

Introduction to ODS Graphics for the Non-Statistician ABSTRACT Paper RV-01 Introduction to ODS Graphics for the Non-Statistician Mike Kalt and Cynthia Zender, SAS Institute Inc., Cary, NC Are you a History, English, or other humanities major who has stumbled

More information

A SAS Macro to Generate Caterpillar Plots. Guochen Song, i3 Statprobe, Cary, NC

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

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

The Evolution of a SAS/GRAPH Application Jenine Eason, AutoTrader.com, Atlanta, GA

The Evolution of a SAS/GRAPH Application Jenine Eason, AutoTrader.com, Atlanta, GA Paper P05-04 The Evolution of a SAS/GRAPH Application Jenine Eason, AutoTrader.com, Atlanta, GA INTRODUCTION Graphs are an excellent way to represent any activity. The author is using web server errors

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

SAS Visual Analytics 8.2: Getting Started with Reports

SAS Visual Analytics 8.2: Getting Started with Reports SAS Visual Analytics 8.2: Getting Started with Reports Introduction Reporting The SAS Visual Analytics tools give you everything you need to produce and distribute clear and compelling reports. SAS Visual

More information

Getting Started with the SGPLOT Procedure

Getting Started with the SGPLOT Procedure ABSTRACT Getting Started with the SGPLOT Procedure Joshua M. Horstman, Nested Loop Consulting Do you want to create highly-customizable, publication-ready graphics in just minutes using SAS? This workshop

More information

Math 227 EXCEL / MEGASTAT Guide

Math 227 EXCEL / MEGASTAT Guide Math 227 EXCEL / MEGASTAT Guide Introduction Introduction: Ch2: Frequency Distributions and Graphs Construct Frequency Distributions and various types of graphs: Histograms, Polygons, Pie Charts, Stem-and-Leaf

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

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

The GIMPORT Procedure

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

Is your picture worth a thousand words? Creating Effective Presentations with SAS/GRAPH

Is your picture worth a thousand words? Creating Effective Presentations with SAS/GRAPH Is your picture worth a thousand words? Creating Effective Presentations with SAS/GRAPH Justina M. Flavin, Pfizer Global Research & Development, La Jolla Laboratories, San Diego, CA Arthur L. Carpenter,

More information

Choosing the Right Procedure

Choosing 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 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

PART I: USING SAS FOR THE PC AN OVERVIEW 1.0 INTRODUCTION

PART I: USING SAS FOR THE PC AN OVERVIEW 1.0 INTRODUCTION PART I: USING SAS FOR THE PC AN OVERVIEW 1.0 INTRODUCTION The statistical package SAS (Statistical Analysis System) is a large computer program specifically designed to do statistical analyses. It is very

More information

Introduction to SAS/GRAPH Statistical Graphics Procedures

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

Using SAS/GRAPH Software to Create Graphs on The Web Himesh Patel, SAS Institute Inc., Cary, NC

Using SAS/GRAPH Software to Create Graphs on The Web Himesh Patel, SAS Institute Inc., Cary, NC Using SAS/GRAPH Software to Create Graphs on The Web Himesh Patel, SAS Institute Inc., Cary, NC ABSTRACT Version 7 SAS/GRAPH software will contain several enhancements that enable users to easily display

More information

Lab #3. Viewing Data in SAS. Tables in SAS. 171:161: Introduction to Biostatistics Breheny

Lab #3. Viewing Data in SAS. Tables in SAS. 171:161: Introduction to Biostatistics Breheny 171:161: Introduction to Biostatistics Breheny Lab #3 The focus of this lab will be on using SAS and R to provide you with summary statistics of different variables with a data set. We will look at both

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

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

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

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

Easing into Data Exploration, Reporting, and Analytics Using SAS Enterprise Guide

Easing into Data Exploration, Reporting, and Analytics Using SAS Enterprise Guide Paper 809-2017 Easing into Data Exploration, Reporting, and Analytics Using SAS Enterprise Guide ABSTRACT Marje Fecht, Prowerk Consulting Whether you have been programming in SAS for years, are new to

More information

SparkLines Using SAS and JMP

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

Multiple Graphical and Tabular Reports on One Page, Multiple Ways to Do It Niraj J Pandya, CT, USA

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

MATH 117 Statistical Methods for Management I Chapter Two

MATH 117 Statistical Methods for Management I Chapter Two Jubail University College MATH 117 Statistical Methods for Management I Chapter Two There are a wide variety of ways to summarize, organize, and present data: I. Tables 1. Distribution Table (Categorical

More information

Paper Time Contour Plots. David J. Corliss, Wayne State University / Physics and Astronomy

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

New SAS/GRAPH Features. Jack Bulkley, SAS Institute Inc. GPLOT INTRODUCTION

New SAS/GRAPH Features. Jack Bulkley, SAS Institute Inc. GPLOT INTRODUCTION New SAS/GRAP Features Jack Bulkley SAS Institute Inc. INTRODUCTION The SAS/GRAP product is an evolving product. New features as suggested by users or developed in-house are constantly considered and added.

More information

Chapter 25 Editing Windows. Chapter Table of Contents

Chapter 25 Editing Windows. Chapter Table of Contents Chapter 25 Editing Windows Chapter Table of Contents ZOOMING WINDOWS...368 RENEWING WINDOWS...375 ADDING AND DELETING...378 MOVING AND SIZING...385 ALIGNING GRAPHS...391 365 Part 2. Introduction 366 Chapter

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

OS/390 DASD I/O Drill Down Computer Performance Chart Using ODS SAS/GRAPH & MXG Software

OS/390 DASD I/O Drill Down Computer Performance Chart Using ODS SAS/GRAPH & MXG Software Paper 216-27 OS/390 DASD I/O Drill Down Computer Performance Chart Using ODS SAS/GRAPH & MXG Software Neal Musitano Jr. Department of Veterans Affairs Information Technology Center Philadelphia, Pennsylvania

More information

Analysis of Complex Survey Data with SAS

Analysis of Complex Survey Data with SAS ABSTRACT Analysis of Complex Survey Data with SAS Christine R. Wells, Ph.D., UCLA, Los Angeles, CA The differences between data collected via a complex sampling design and data collected via other methods

More information

Information Visualization

Information Visualization Paper 158-25 Graphs In a Minute Harry J. Maxwell Jr., SAS Institute Inc, Cary, NC ABSTRACT Software from SAS Institute provides multiple ways of producing attractive graphics quickly using simple and intuitive

More information

Applications Development. Paper 24-27

Applications Development. Paper 24-27 Paper 24-27 Optimizing SAS Version 8 in a Windows Environment from the User Interface to Automated Document Production Roger D. Muller, Ph.D., Elanco Animal Health, Indianapolis, IN ABSTRACT The Microsoft

More information

Week 05 Class Activities

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

Creating a Basic Chart in Excel 2007

Creating a Basic Chart in Excel 2007 Creating a Basic Chart in Excel 2007 A chart is a pictorial representation of the data you enter in a worksheet. Often, a chart can be a more descriptive way of representing your data. As a result, those

More information

a. divided by the. 1) Always round!! a) Even if class width comes out to a, go up one.

a. divided by the. 1) Always round!! a) Even if class width comes out to a, go up one. Probability and Statistics Chapter 2 Notes I Section 2-1 A Steps to Constructing Frequency Distributions 1 Determine number of (may be given to you) a Should be between and classes 2 Find the Range a The

More information

2.1: Frequency Distributions and Their Graphs

2.1: Frequency Distributions and Their Graphs 2.1: Frequency Distributions and Their Graphs Frequency Distribution - way to display data that has many entries - table that shows classes or intervals of data entries and the number of entries in each

More information

Time Contour Plots. David J. Corliss Magnify Analytic Solutions, Detroit, MI

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

ABC Macro and Performance Chart with Benchmarks Annotation

ABC Macro and Performance Chart with Benchmarks Annotation Paper CC09 ABC Macro and Performance Chart with Benchmarks Annotation Jing Li, AQAF, Birmingham, AL ABSTRACT The achievable benchmark of care (ABC TM ) approach identifies the performance of the top 10%

More information

SAS/GRAPH 9.4: Java Applets and ActiveX Control User s Guide

SAS/GRAPH 9.4: Java Applets and ActiveX Control User s Guide SAS/GRAPH 9.4: Java Applets and ActiveX Control User s Guide SAS Documentation August 30, 2017 The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2014. SAS/GRAPH 9.4:

More information

2.1: Frequency Distributions

2.1: Frequency Distributions 2.1: Frequency Distributions Frequency Distribution: organization of data into groups called. A: Categorical Frequency Distribution used for and level qualitative data that can be put into categories.

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

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

Elementary Statistics

Elementary Statistics 1 Elementary Statistics Introduction Statistics is the collection of methods for planning experiments, obtaining data, and then organizing, summarizing, presenting, analyzing, interpreting, and drawing

More information

A Summary of the Types of Graphs Compiled by Mr. A. Caruso

A Summary of the Types of Graphs Compiled by Mr. A. Caruso A Summary of the Types of Graphs A graph is a representation of a relationship between variables. A graph usually has two called the -axis (horizontal) and -axis (vertical). The axes are labeled with different

More information

Chapter 3. Determining Effective Data Display with Charts

Chapter 3. Determining Effective Data Display with Charts Chapter 3 Determining Effective Data Display with Charts Chapter Introduction Creating effective charts that show quantitative information clearly, precisely, and efficiently Basics of creating and modifying

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

Data Explore Matrix Quality Control by Exploring and Mining Data in Clinical Study

Data Explore Matrix Quality Control by Exploring and Mining Data in Clinical Study PharmaSUG China 2017 - Paper 34 Data Explore Matrix Quality Control by Exploring and Mining Data in Clinical Study Yongxu Tang, Merck, Beijing, China Yu Meng, Merck, Beijing, China Yongjian Zhou, Merck,

More information

SPSS. (Statistical Packages for the Social Sciences)

SPSS. (Statistical Packages for the Social Sciences) Inger Persson SPSS (Statistical Packages for the Social Sciences) SHORT INSTRUCTIONS This presentation contains only relatively short instructions on how to perform basic statistical calculations in SPSS.

More information

Making Science Graphs and Interpreting Data

Making Science Graphs and Interpreting Data Making Science Graphs and Interpreting Data Eye Opener: 5 mins What do you see? What do you think? Look up terms you don t know What do Graphs Tell You? A graph is a way of expressing a relationship between

More information

Graphical Presentation for Statistical Data (Relevant to AAT Examination Paper 4: Business Economics and Financial Mathematics) Introduction

Graphical Presentation for Statistical Data (Relevant to AAT Examination Paper 4: Business Economics and Financial Mathematics) Introduction Graphical Presentation for Statistical Data (Relevant to AAT Examination Paper 4: Business Economics and Financial Mathematics) Y O Lam, SCOPE, City University of Hong Kong Introduction The most convenient

More information

Appendix A: Graph Types Available in OBIEE

Appendix A: Graph Types Available in OBIEE Appendix A: Graph Types Available in OBIEE OBIEE provides a wide variety of graph types to assist with data analysis, including: Pie Scatter Bar Area Line Radar Line Bar Combo Step Pareto Bubble Each graph

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

+ Statistical Methods in

+ Statistical Methods in + Statistical Methods in Practice STA/MTH 3379 + Dr. A. B. W. Manage Associate Professor of Statistics Department of Mathematics & Statistics Sam Houston State University Discovering Statistics 2nd Edition

More information

The basic arrangement of numeric data is called an ARRAY. Array is the derived data from fundamental data Example :- To store marks of 50 student

The basic arrangement of numeric data is called an ARRAY. Array is the derived data from fundamental data Example :- To store marks of 50 student Organizing data Learning Outcome 1. make an array 2. divide the array into class intervals 3. describe the characteristics of a table 4. construct a frequency distribution table 5. constructing a composite

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

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

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