A Generalized Procedure to Create SAS /Graph Error Bar Plots
|
|
- Alexis Stone
- 6 years ago
- Views:
Transcription
1 Generalized Procedure to Create SS /Graph Error Bar Plots Sanjiv Ramalingam, Consultant, Octagon Research Solutions, Inc. BSTRCT Different methodologies exist to create error bar related plots. Procedures exist to use the dataset by itself to create error bars either for standard deviation +/- mean (INTERPOLTION=STD1JT), standard errors +/- mean (INTERPOLTION= STD1TJM) or min and max values but it becomes cumbersome to generate figures by just using the PROC PLOT procedure as one has to go through numerous options available to find the right option. This paper discusses a methodology to plot the difference between the means with the standard error as an example. INTRODUCTION typical scenario involving error bars is to obtain standard errors. If the error bars are obtained as the standard errors of not one treatment (as related to the pharmaceutical industry) but as the difference of two different treatments it is always advantageous to have a general process. In this process, the PROC MENS/UNIVRITE procedure can be used to calculate the statistics and a separate data step can be used to calculate the derived statistics such as the standard error for two different treatments. Then one generalized plot procedure can be used to create the error bar plot. METHODOLOGY CSE 1 The concept is based on the assumption that all values required to create the graph are already available in the form of a dataset. Let the first objective be to create a standard error plot for the difference between two different treatments by visit. The parameters required are the means for each of the treatments (the difference of the means is then computed). The standard error of the difference of the means is computed using the formula: σdiff=sqrt[(σtrt1^2/ntrt1) + (σtrt2^2/ntrt2)] where, σdiff = standard error of the difference 1
2 σtrt1^2= variance of first treatment (square of the standard deviation) σtrt2^2= variance of second treatment ntrt1=number of subjects in the first treatment ntrt2=number of subjects in the second treatment fter the means for each of the treatments have been computed, the following can be computed using the sample code statements namely, the difference of the means(d_mean), the standard error (SE) of the difference of the means (d_se_m), the maximum(maxm;mean+se) and minimum(minm;mean-se). d_mean=trt1_ - trt2_mean; d_se_m=sqrt( ((se_trt1*se_trt1)/n_trt1) +((se_trt2*se_trt2)/n_trt2)) ; maxm= d_mean + d_se_m; minm= d_mean - d_se_m ; The output dataset created namely, DS1 would then have a structure like the one below. VISIT D_MEN MXM MINM Week 2 Week 3. The statistical parameters are now available. Since the error bars basically are two points with a common reference point, the HILOCTJ option in SS/Graph can be used. However to use the HILOCTJ option which basically draws a solid vertical line that connects the minimum and maximum Y values for each X value, the dataset should have individual records for each of the 2
3 maxm and minm variables. Hence a PROC TRNSPOSE can be done on the variables maxm and minm in the dataset DS1: proc transpose data=ds1 out=ds2; by visit ; var d_mean minm maxm; The resulting dataset will be of the structure: VISIT _NME_ COL1 MINM Week 2 Week 2 Week 2... D_MEN MXM MINM D_MEN MXM To automatically assign the range for the Y-axis and also the number of divisions within each unit the dataset can be sorted by the col1 variable. The first and last values would then be the minimum and the maximum values. The difference between the maximum and the minimum divided by 10 (assuming that 10 divisions are preferred within each unit) rounded to the nearest preferred number of decimal places will yield the number of subdivisions (referred by the variable orderby). ll the above parameters (minimum(mino), maximum(maxo) and orderby) would be the inputs to the order option in the XIS statement. lternatively, the standard deviation can be used to determine the number of subdivisions within each unit. Ensure that the dataset is sorted back to its original order by visit. The above-described procedure can be implemented in code as shown below. 3
4 proc sort data=ds2; by col1; /* Create macro variables that serve as parameters in the order statement for vertical axis */ data ds2; retain mintemp; set ds2 end=eof; if _n_ eq 1 then mintemp=col1; if eof then do; maxtemp=col1; orderby_=round(((maxtemp - mintemp)/10),0.1); if orderby_ eq 0 then orderby_=round(((maxtemp-mintemp)/10),0.01); temp1=round(maxtemp+orderby_,0.1); if mintemp gt 0 then temp2=round(mintemp-orderby_,0.01); else temp2=mintemp-orderby_; if temp1 gt temp2 then do; call symput('mino', put(temp2, best12.)); call symput ('maxo', put(temp1, best12.)); end; else do; call symput('mino', put(temp1, best12.)); call symput ('maxo', put(temp2, best12.)); end; call symput ('orderby', put(orderby_, best12.)); end; proc sort data=ds2; by visit; 4
5 The plot procedure can now be implemented. Keeping in mind the objective of obtaining a generalized procedure to create error bar related graphs, less importance has been given to the plethora of options that come along with the GOPTIONS, SYMBOL, XIS and other statements. symbol1 v=star c=black i=hiloctj mode=include ; proc gplot data=ds2; /* Symbol1 represents the symbol used to represent the data points mode=include; specifies SS to use all the values in the dataset v=symbol to be used; I represents the interpolation method and hiloctj connects the lower and upper error bar with a straight line and also connects each of the means with a straight line; c=color */ /*axis 1 refers to the vertical axis */ axis1 label=(angle=90 'Parameter') order=(&mino. to &maxo. by &orderby.) width=1 offset=(0,0); /*axis 2 refers to the horizontal axis */ axis2 label=( 'Visits'); /* plot values. vref basically draws a reference line at Y value=0,color is black and lvref=20 draws a dotted line. The different patterns available can be obtained from the statgraph subsection of the support section in SS. */ plot col1*visit/ vref=0 cvref=black lvref=20 haxis=axis2 vaxis=axis1 ; quit; 5
6 The graph should be similar to Figure 1. Figure 1. n example of a standard error of the difference of the means between two treatments. CSE 2 The same technique can be used to create a standard error bar for comparing different treatments against two parameters. Let there be two treatments of interest ( and B) and let the parameters to be compared be X and Y. We now want to compare the change from baseline(chg) for these two parameters side by side for both the treatments ( and B). fter the means for each of the parameters within each of the treatments are obtained using the PROC MENS procedure, the output dataset is then transposed twice with the transpose variables being mean, min(meanstandard error) and max(mean+standard error). The two transposed datasets are then merged. The merged dataset(ds2) should be of the structure as described below. 6
7 MEN_X MIN_X MX_X MEN_Y MIN_Y MX_Y Week 2 MEN_X.. B MEN_X. The error bars can then be plotted using PROC GPLOT. /* Two legend statements are used one for each of the plot statements for each of the parameters X and Y. The down option is used so that each of the legend values appear one below the other. Down=2 allocates two rows. */ legend1 label=(justify=left 'Treatment:') down=2 position=(top center outside) value=(tick=1 justify=left "; X" tick=2 justify=left "B; X"); legend2 label=(justify=left ' ') down=2 position=(top center outside) value=( tick=1 justify=left "; Y" tick=2 justify=left "B; Y"); 7
8 proc gplot data=ds2 ; /* There are four symbols used, a pair(for each treatment arms and B) for each of the parameters X and Y.*/ symbol1 v=star c=black i=hiloctj mode=include ; symbol2 v=plus height=1 i=hiloctj c=black mode=include; symbol3 v=circle height=1 i=hiloctj c=black mode=include; symbol4 v=dot height=1 i=hiloctj c=black mode=include; /* X-xis */ axis1 label=( 'Visit') order=(0 to 6 by 1) minor=none major=none; /* Vertical axis for parameter X */ axis2 split="," label=(angle=90 'Change from Baseline in X') order=( to yy by z) minor=none ; /* Vertical axis for parameter Y */ axis3 split="," label=(angle=90 'Change from Baseline in Y') order=( to yy by z) minor=none ; /* Two plot statements are used, one for each parameter */ plot X*visitn=trt/haxis=axis1 vaxis=axis2 legend=legend1 ; plot2 Y*visitn=trt/ vaxis=axis3 legend=legend2 ; quit; The graph output should be similar in structure to Figure 2. Figure 2. n example of mean and standard error between two treatments( and B) for two different parameters(x and Y) 8
9 It can be noticed that the spacing between intervals along the x- axis is not equal and reflects true intervals. This can be achieved using proc format and using the picture format for visits that are not represented. proc format; picture trtoth 4=" " 6=" " ; value visit 1="" 2="Week 2" 3="Week 3" 5="Week 5" other=[trtoth.] ; lso there is a slight shift between the error bars for each of the parameters. This is done so that the error bars within each parameter do not overlap and can be visualized better and is achieved by adding a small numerical value (0.04 etc) to the visit (numeric attribute) for one of the treatment arms [1]. CONCLUSION methodology has been shown that can easily create error bar plots and similar graphs. The above code can be made into a macro as the most essential things required are a statistical procedure, a transpose procedure and a very simple plot procedure. CKNOWLEDGEMENTS I would like to thank my colleagues at Octagon Research Solutions for their encouragement and support especially my director Terek Peterson, my project manager Brian Shilling, Katie Mao for 9
10 independently implementing the technique, Frank Canale for his suggestions and to llan Glaser for critiquing the paper. I would also like to thank MCS GLOBL Inc for their support. COPYRIGHT SS and all other SS Institute Inc. product or service names are registered trademarks or trademarks of SS Institute Inc. in the United States of merica and other countries. indicates US registration. Other brand or product names are registered trademarks or trademarks of their respective companies. REFERENCE 1. Qin, Lin. NESUG 2007 Tips and Tricks in Creating Graphs Using PROC GPLOT, pplied clinical Intelligence LLC, SS online Document for Version 9. SS Institute Inc. Cary, NC. uthor contact Sanjiv Ramalingam Consultant (MCS GLOBL Inc.) Octagon Research Solutions Wayne, P r.sanjiv@yahoo.com 10
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 informationTaming the Box Plot. Sanjiv Ramalingam, Octagon Research Solutions, Inc., Wayne, PA
Taming the Box Plot Sanjiv Ramalingam, Octagon Research Solutions, Inc., Wayne, PA ABSTRACT Box plots are used to portray the range, quartiles and outliers if any in the data. PROC BOXPLOT can be used
More informationTips to Customize SAS/GRAPH... for Reluctant Beginners et al. Claudine Lougee, Dualenic, LLC, Glen Allen, VA
Paper SIB-109 Tips to Customize SAS/GRAPH... for Reluctant Beginners et al. Claudine Lougee, Dualenic, LLC, Glen Allen, VA ABSTRACT SAS graphs do not have to be difficult or created by SAS/GRAPH experts.
More informationPharmaSUG 2012 Paper CC13
PharmaSUG 2012 Paper CC13 Techniques for Improvising the Standard Error Bar Graph and Axis Values Completely Through SAS Annotation Sunil Kumar Ganeshna, PharmaNet/i3, Pune, India Venkateswara Rao, PharmaNet/i3,
More informationPharmaSUG 2013 CC26 Automating the Labeling of X- Axis Sanjiv Ramalingam, Vertex Pharmaceuticals, Inc., Cambridge, MA
PharmaSUG 2013 CC26 Automating the Labeling of X- Axis Sanjiv Ramalingam, Vertex Pharmaceuticals, Inc., Cambridge, MA ABSTRACT Labeling of the X-axis usually involves a tedious axis statement specifying
More informationEffective Forecast Visualization With SAS/GRAPH Samuel T. Croker, Lexington, SC
DP01 Effective Forecast Visualization With SAS/GRAPH Samuel T. Croker, Lexington, SC ABSTRACT A statistical forecast is useless without sharp, attractive and informative graphics to present it. It is really
More informationIt s Not All Relative: SAS/Graph Annotate Coordinate Systems
Paper TU05 It s Not All Relative: SAS/Graph Annotate Coordinate Systems Rick Edwards, PPD Inc, Wilmington, NC ABSTRACT This paper discusses the SAS/Graph Annotation coordinate systems and how a combination
More informationSUGI 29 Posters. Paper A Group Scatter Plot with Clustering Xiaoli Hu, Wyeth Consumer Healthcare., Madison, NJ
Paper 146-29 A Group Scatter Plot with Clustering Xiaoli Hu, Wyeth Consumer Healthcare., Madison, NJ ABSTRACT In pharmacokinetic studies, abnormally high values of maximum plasma concentration Cmax of
More informationTips and Tricks in Creating Graphs Using PROC GPLOT
Paper CC15 Tips and Tricks in Creating Graphs Using PROC GPLOT Qin Lin, Applied Clinical Intelligence, LLC, Bala Cynwyd, PA ABSTRACT SAS/GRAPH is a very powerful data analysis and presentation tool. Creating
More informationINTRODUCTION TO THE SAS ANNOTATE FACILITY
Improving Your Graphics Using SAS/GRAPH Annotate Facility David J. Pasta, Ovation Research Group, San Francisco, CA David Mink, Ovation Research Group, San Francisco, CA ABSTRACT Have you ever created
More informationSAS Graphs in Small Multiples Andrea Wainwright-Zimmerman, Capital One, Richmond, VA
Paper SIB-113 SAS Graphs in Small Multiples Andrea Wainwright-Zimmerman, Capital One, Richmond, VA ABSTRACT Edward Tufte has championed the idea of using "small multiples" as an effective way to present
More informationCreating Forest Plots Using SAS/GRAPH and the Annotate Facility
PharmaSUG2011 Paper TT12 Creating Forest Plots Using SAS/GRAPH and the Annotate Facility Amanda Tweed, Millennium: The Takeda Oncology Company, Cambridge, MA ABSTRACT Forest plots have become common in
More informationData Annotations in Clinical Trial Graphs Sudhir Singh, i3 Statprobe, Cary, NC
PharmaSUG2010 - Paper TT16 Data Annotations in Clinical Trial Graphs Sudhir Singh, i3 Statprobe, Cary, NC ABSTRACT Graphical representation of clinical data is used for concise visual presentations of
More informationGraphical Techniques for Displaying Multivariate Data
Graphical Techniques for Displaying Multivariate Data James R. Schwenke Covance Periapproval Services, Inc. Brian J. Fergen Pfizer Inc * Abstract When measuring several response variables, multivariate
More informationCoders' Corner. Paper ABSTRACT GLOBAL STATEMENTS INTRODUCTION
Paper 70-26 Data Visualization of Outliers from a Health Research Perspective Using SAS/GRAPH and the Annotate Facility Nadia Redmond Kaiser Permanente Center for Health Research, Portland, Oregon ABSTRACT
More informationThe Plot Thickens from PLOT to GPLOT
Paper HOW-069 The Plot Thickens from PLOT to GPLOT Wendi L. Wright, CTB/McGraw-Hill, Harrisburg, PA ABSTRACT This paper starts with a look at basic plotting using PROC PLOT. A dataset with the daily number
More informationMultiple Graphical and Tabular Reports on One Page, Multiple Ways to Do It Niraj J Pandya, CT, USA
Paper TT11 Multiple Graphical and Tabular Reports on One Page, Multiple Ways to Do It Niraj J Pandya, CT, USA ABSTRACT Creating different kind of reports for the presentation of same data sounds a normal
More informationTHE 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 informationCreate Flowcharts Using Annotate Facility. Priya Saradha & Gurubaran Veeravel
Create Flowcharts Using Annotate Facility Priya Saradha & Gurubaran Veeravel Abstract With mounting significance to the graphical presentation of data in different forms in the pharmaceutical industry,
More informationTips for Producing Customized Graphs with SAS/GRAPH Software. Perry Watts, Fox Chase Cancer Center, Philadelphia, PA
Tips for Producing Customized Graphs with SAS/GRAPH Software Perry Watts, Fox Chase Cancer Center, Philadelphia, PA Abstract * SAS software is used to produce customized graphics displays by solving a
More informationABSTRACT. The SAS/Graph Scatterplot Object. Introduction
Use of SAS/AF and the SAS/GRAPH Output Class Object to Develop Applications That Can Return Scatterplot Information Michael Hartman, Schering-Plough Corporation, Union, New Jersey ABSTRACT In today s time
More informationA 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 informationA SAS Macro to Generate Caterpillar Plots. Guochen Song, i3 Statprobe, Cary, NC
PharmaSUG2010 - Paper CC21 A SAS Macro to Generate Caterpillar Plots Guochen Song, i3 Statprobe, Cary, NC ABSTRACT Caterpillar plots are widely used in meta-analysis and it only requires a click in software
More informationAn Efficient Method to Create Titles for Multiple Clinical Reports Using Proc Format within A Do Loop Youying Yu, PharmaNet/i3, West Chester, Ohio
PharmaSUG 2012 - Paper CC12 An Efficient Method to Create Titles for Multiple Clinical Reports Using Proc Format within A Do Loop Youying Yu, PharmaNet/i3, West Chester, Ohio ABSTRACT Do you know how to
More informationUsing a Picture Format to Create Visit Windows
SCSUG 2018 Using a Picture Format to Create Visit Windows Richann Watson, DataRich Consulting ABSTRACT Creating visit windows is sometimes required for analysis of data. We need to make sure that we get
More informationThere s No Such Thing as Normal Clinical Trials Data, or Is There? Daphne Ewing, Octagon Research Solutions, Inc., Wayne, PA
Paper HW04 There s No Such Thing as Normal Clinical Trials Data, or Is There? Daphne Ewing, Octagon Research Solutions, Inc., Wayne, PA ABSTRACT Clinical Trials data comes in all shapes and sizes depending
More informationAmie Bissonett, inventiv Health Clinical, Minneapolis, MN
PharmaSUG 2013 - Paper TF12 Let s get SAS sy Amie Bissonett, inventiv Health Clinical, Minneapolis, MN ABSTRACT The SAS language has a plethora of procedures, data step statements, functions, and options
More informationEXCEL SKILLS. Selecting Cells: Step 1: Click and drag to select the cells you want.
Selecting Cells: Step 1: Click and drag to select the cells you want. Naming Cells: Viewlet available Step 2: To select different cells that are not next to each other, hold down as you click and
More informationApplied 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 informationODS LAYOUT is Like an Onion
Paper DP03_05 ODS LAYOUT is Like an Onion Rich Mays, University of Rochester Medical Center, Rochester, NY Abstract ODS LAYOUT is like an onion. They both make you cry? No! They both have layers! In version
More informationIMPROVING A GRAPH USING PROC GPLOT AND THE GOPTIONS STATEMENT
SESUG Paper 33-2017 IMPROVING A GRAPH USING PROC GPLOT AND THE GOPTIONS STATEMENT Wendi Wright, Questar Assessment, Inc. ABSTRACT Starting with a SAS PLOT program, we will transfer this plot into PROC
More informationUsing SAS Macro to Include Statistics Output in Clinical Trial Summary Table
Using SAS Macro to Include Statistics Output in Clinical Trial Summary Table Amy C. Young, Ischemia Research and Education Foundation, San Francisco, CA Sharon X. Zhou, Ischemia Research and Education
More informationReverse-engineer a Reference Curve: Capturing Tabular Data from Graphical Output Brian Fairfield-Carter, ICON Clinical Research, Redwood City, CA
Paper CC23 Reverse-engineer a Reference Curve: Capturing Tabular Data from Graphical Output Brian Fairfield-Carter, ICON Clinical Research, Redwood City, CA ABSTRACT The pharmaceutical industry is a competitive
More informationSAS Graph: Introduction to the World of Boxplots Brian Spruell, Constella Group LLC, Durham, NC
DP06 SAS Graph: Introduction to the orld of Boxplots Brian Spruell, Constella Group C, Durham, NC ABSTRACT Boxplots provide a graphical representation of a data s distribution. Every elementary statistical
More informationInnovative Graph for Comparing Central Tendencies and Spread at a Glance
Paper 140-28 Innovative Graph for Comparing Central Tendencies and Spread at a Glance Varsha C. Shah, CSCC, Dept. of Biostatistics, UNC-CH, Chapel Hill, NC Ravi M. Mathew, CSCC,Dept. of Biostatistics,
More informationTop Award and First Place Best Presentation of Data Lan Tran-La. Scios Nova, Inc. BLOOD PRESSURE AND HEART RATE vs TIME
Top Award and First Place Best Presentation of Data Lan Tran-La Scios Nova, Inc. BLOOD PRESSURE AND HEART RATE vs TIME Vital signs were collected before, during, and after the infusion of Drug A. At the
More informationSAS: 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 informationUsing MACRO and SAS/GRAPH to Efficiently Assess Distributions. Paul Walker, Capital One
Using MACRO and SAS/GRAPH to Efficiently Assess Distributions Paul Walker, Capital One INTRODUCTION A common task in data analysis is assessing the distribution of variables by means of univariate statistics,
More informationPaper SIB-096. Richard A. DeVenezia, Independent Consultant, Remsen, NY
Paper SIB-096 Tag Clouds - A list of tokens, sized by relative frequency Richard A. DeVenezia, Independent Consultant, Remsen, NY Abstract A tag cloud is a list of tokens, wherein the text size of a token
More informationPaper An Automated Reporting Macro to Create Cell Index An Enhanced Revisit. Shi-Tao Yeh, GlaxoSmithKline, King of Prussia, PA
ABSTRACT Paper 236-28 An Automated Reporting Macro to Create Cell Index An Enhanced Revisit When generating tables from SAS PROC TABULATE or PROC REPORT to summarize data, sometimes it is necessary to
More informationThe Power of Combining Data with the PROC SQL
ABSTRACT Paper CC-09 The Power of Combining Data with the PROC SQL Stacey Slone, University of Kentucky Markey Cancer Center Combining two data sets which contain a common identifier with a MERGE statement
More informationClip Extreme Values for a More Readable Box Plot Mary Rose Sibayan, PPD, Manila, Philippines Thea Arianna Valerio, PPD, Manila, Philippines
ABSTRACT PharmaSUG China 2016 - Paper 72 Clip Extreme Values for a More Readable Box Plot Mary Rose Sibayan, PPD, Manila, Philippines Thea Arianna Valerio, PPD, Manila, Philippines The BOXPLOT procedure
More informationActivity: page 1/10 Introduction to Excel. Getting Started
Activity: page 1/10 Introduction to Excel Excel is a computer spreadsheet program. Spreadsheets are convenient to use for entering and analyzing data. Although Excel has many capabilities for analyzing
More informationCHAPTER 6. The Normal Probability Distribution
The Normal Probability Distribution CHAPTER 6 The normal probability distribution is the most widely used distribution in statistics as many statistical procedures are built around it. The central limit
More informationPlease Don't Lag Behind LAG!
Please Don't Lag Behind LAG! Anjan Matlapudi and J. Daniel Knapp Pharmacy Informatics and Finance PerformRx, The Next Generation PBM 200 Stevens Drive, Philadelphia, PA 19113 ABSTRACT A programmer may
More informationAnd Now, Presenting... Presentation Quality Forecast Visualization with SAS/GRAPH Samuel T. Croker, Independent Consultant, Lexington, SC
Presentation Quality Forecast Visualization with SAS/GRAPH Samuel T. Croker, Independent Consultant, Lexington, SC ABSTRACT A statistical forecast is useless without sharp, attractive and informative graphics
More informationOrganizing and Summarizing Data
1 Organizing and Summarizing Data Key Definitions Frequency Distribution: This lists each category of data and how often they occur. : The percent of observations within the one of the categories. This
More informationWant Quick Results? An Introduction to SAS/GRAPH Software. Arthur L. Carpenter California Occidental Consultants
Want Quick Results? An Introduction to SAS/GRAPH Software Arthur L. arpenter alifornia Occidental onsultants KEY WORDS GOPTIONS, GPLOT, GHART, SYMBOL, AXIS, TITLE, FOOTNOTE ABSTRAT SAS/GRAPH software contains
More informationCREATING THE DISTRIBUTION ANALYSIS
Chapter 12 Examining Distributions Chapter Table of Contents CREATING THE DISTRIBUTION ANALYSIS...176 BoxPlot...178 Histogram...180 Moments and Quantiles Tables...... 183 ADDING DENSITY ESTIMATES...184
More informationArthur L. Carpenter California Occidental Consultants
Paper HOW-004 SAS/GRAPH Elements You Should Know Even If You Don t Use SAS/GRAPH Arthur L. Carpenter California Occidental Consultants ABSTRACT We no longer live or work in a line printer - green bar paper
More informationTaming a Spreadsheet Importation Monster
SESUG 2013 Paper BtB-10 Taming a Spreadsheet Importation Monster Nat Wooding, J. Sargeant Reynolds Community College ABSTRACT As many programmers have learned to their chagrin, it can be easy to read Excel
More informationBar Graphs with Two Grouping Variables 1
Version 4. Step-by-Step Examples Bar Graphs with Two Grouping Variables 1 The following techniques are demonstrated in this article: Graphing data organized by two grouping variables Reformatting those
More informationPharmaSUG China. Systematically Reordering Axis Major Tick Values in SAS Graph Brian Shen, PPDI, ShangHai
PharmaSUG China Systematically Reordering Axis Major Tick Values in SAS Graph Brian Shen, PPDI, ShangHai ABSTRACT Once generating SAS graphs, it is a headache to programmers to reorder the axis tick values
More informationA 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 informationPharmaSUG China Paper 70
ABSTRACT PharmaSUG China 2015 - Paper 70 SAS Longitudinal Data Techniques - From Change from Baseline to Change from Previous Visits Chao Wang, Fountain Medical Development, Inc., Nanjing, China Longitudinal
More informationseparate representations of data.
1 It s been said that there are two kinds of people in the world: those who divide everything into two groups, and those who don t. To taxonomists, these folks are commonly known as lumpers and splitters.
More informationSparkLines Using SAS and JMP
SparkLines Using SAS and JMP Kate Davis, International Center for Finance at Yale, New Haven, CT ABSTRACT Sparklines are intense word-sized graphics for use inline text or on a dashboard that condense
More informationA Practical and Efficient Approach in Generating AE (Adverse Events) Tables within a Clinical Study Environment
A Practical and Efficient Approach in Generating AE (Adverse Events) Tables within a Clinical Study Environment Abstract Jiannan Hu Vertex Pharmaceuticals, Inc. When a clinical trial is at the stage of
More informationSo Much Data, So Little Time: Splitting Datasets For More Efficient Run Times and Meeting FDA Submission Guidelines
Paper TT13 So Much Data, So Little Time: Splitting Datasets For More Efficient Run Times and Meeting FDA Submission Guidelines Anthony Harris, PPD, Wilmington, NC Robby Diseker, PPD, Wilmington, NC ABSTRACT
More informationStatistics and Data Analysis. Paper
Paper 264-27 Using SAS to Perform Robust I-Sample Analysis of Means Type Randomization Tests for Variances for Unbalanced Designs Peter Wludyka, University of North Florida, Jacksonville, FL Ping Sa, University
More informationUTILIZING SAS TO CREATE A PATIENT'S LIVER ENZYME PROFILE. Erik S. Larsen, Price Waterhouse LLP
UTILIZING SAS TO CREATE A PATIENT'S LIVER ENZYME PROFILE Erik S. Larsen, Price Waterhouse LLP In pharmaceutical research and drug development, it is usually necessary to assess the safety of the experimental
More informationMicrosoft Excel 2007
Microsoft Excel 2007 1 Excel is Microsoft s Spreadsheet program. Spreadsheets are often used as a method of displaying and manipulating groups of data in an effective manner. It was originally created
More informationSubmitting SAS Code On The Side
ABSTRACT PharmaSUG 2013 - Paper AD24-SAS Submitting SAS Code On The Side Rick Langston, SAS Institute Inc., Cary NC This paper explains the new DOSUBL function and how it can submit SAS code to run "on
More informationDisplaying Multiple Graphs to Quickly Assess Patient Data Trends
Paper AD11 Displaying Multiple Graphs to Quickly Assess Patient Data Trends Hui Ping Chen and Eugene Johnson, Eli Lilly and Company, Indianapolis, IN ABSTRACT Populating multiple graphs, up to 15, on a
More informationCreate a Format from a SAS Data Set Ruth Marisol Rivera, i3 Statprobe, Mexico City, Mexico
PharmaSUG 2011 - Paper TT02 Create a Format from a SAS Data Set Ruth Marisol Rivera, i3 Statprobe, Mexico City, Mexico ABSTRACT Many times we have to apply formats and it could be hard to create them specially
More informationContents of SAS Programming Techniques
Contents of SAS Programming Techniques Chapter 1 About SAS 1.1 Introduction 1.1.1 SAS modules 1.1.2 SAS module classification 1.1.3 SAS features 1.1.4 Three levels of SAS techniques 1.1.5 Chapter goal
More informationEasing 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 informationPaper Abstract. Introduction. SAS Version 7/8 Web Tools. Using ODS to Create HTML Formatted Output. Background
Paper 43-25 The International Studies Project : SAS Version 7/8 Web Tools To The Rescue Lilin She, UNC-CH, Department Of Biostatistics, Chapel Hill, NC Jeffrey M. Abolafia, UNC-CH, Department Of Biostatistics,
More informationMICROSOFT EXCEL Working with Charts
MICROSOFT EXCEL 2010 Working with Charts Introduction to charts WORKING WITH CHARTS Charts basically represent your data graphically. The data here refers to numbers. In Excel, you have various types of
More informationStatistics and Data Analysis. Common Pitfalls in SAS Statistical Analysis Macros in a Mass Production Environment
Common Pitfalls in SAS Statistical Analysis Macros in a Mass Production Environment Huei-Ling Chen, Merck & Co., Inc., Rahway, NJ Aiming Yang, Merck & Co., Inc., Rahway, NJ ABSTRACT Four pitfalls are commonly
More informationA SAS Macro Utility to Modify and Validate RTF Outputs for Regional Analyses Jagan Mohan Achi, PPD, Austin, TX Joshua N. Winters, PPD, Rochester, NY
PharmaSUG 2014 - Paper BB14 A SAS Macro Utility to Modify and Validate RTF Outputs for Regional Analyses Jagan Mohan Achi, PPD, Austin, TX Joshua N. Winters, PPD, Rochester, NY ABSTRACT Clinical Study
More informationPharmaSUG 2015 Paper PO03
PharmaSUG 2015 Paper P03 A Visual Reflection on SAS/GRAPH History: Plot, Gplot, Greplay, and Sgrender Haibin Shu, AccuClin Global Services LLC, Wayne, PA John He, AccuClin Global Services LLC, Wayne, PA
More informationModifying Graphics in SAS
Modifying Graphics in SAS Statistics 135 Autumn 2005 Copyright c 2005 by Mark E. Irwin Modifying Graphs As in S, it is possible to modify fonts, colours, symbols, lines, etc in SAS. The approach is a bit
More informationGloucester County Library System EXCEL 2007
Gloucester County Library System EXCEL 2007 Introduction What is Excel? Microsoft E x c e l is an electronic s preadsheet program. I t is capable o f performing many diff e r e n t t y p e s o f c a l
More informationTeaching statistics and the SAS System
Teaching statistics and the SAS System Ass. Prof. Dipl.Ing. Dr. Barbara Schneider Institute for Medical Statistics, University of Vienna,Vienna, Austria Abstract This presentation offers ideas and examples
More informationSAS Macros for Grouping Count and Its Application to Enhance Your Reports
SAS Macros for Grouping Count and Its Application to Enhance Your Reports Shi-Tao Yeh, EDP Contract Services, Bala Cynwyd, PA ABSTRACT This paper provides two SAS macros, one for one grouping variable,
More informationLab #9: ANOVA and TUKEY tests
Lab #9: ANOVA and TUKEY tests Objectives: 1. Column manipulation in SAS 2. Analysis of variance 3. Tukey test 4. Least Significant Difference test 5. Analysis of variance with PROC GLM 6. Levene test for
More informationKeeping Track of Database Changes During Database Lock
Paper CC10 Keeping Track of Database Changes During Database Lock Sanjiv Ramalingam, Biogen Inc., Cambridge, USA ABSTRACT Higher frequency of data transfers combined with greater likelihood of changes
More informationRobust Linear Regression (Passing- Bablok Median-Slope)
Chapter 314 Robust Linear Regression (Passing- Bablok Median-Slope) Introduction This procedure performs robust linear regression estimation using the Passing-Bablok (1988) median-slope algorithm. Their
More informationThe GTESTIT Procedure
967 CHAPTER 28 The GTESTIT Procedure Overview 967 About the Pictures 968 About the LOG 971 Procedure Syntax 972 PROC GTESTIT Statement 972 Examples 973 Example 1: Testing a GOPTIONS Statement 973 Overview
More informationGetting it Done with PROC TABULATE
ABSTRACT Getting it Done with PROC TABULATE Michael J. Williams, ICON Clinical Research, San Francisco, CA The task of displaying statistical summaries of different types of variables in a single table
More informationSomething for Nothing! Converting Plots from SAS/GRAPH to ODS Graphics
ABSTRACT Paper 1610-2014 Something for Nothing! Converting Plots from SAS/GRAPH to ODS Graphics Philip R Holland, Holland Numerics Limited, UK All the documentation about the creation of graphs with SAS
More informationUsing SAS/GRAPH Software to Create Graphs on the Web Himesh Patel, SAS Institute Inc., Cary, NC Revised by David Caira, SAS Institute Inc.
Paper 189 Using SAS/GRAPH Software to Create Graphs on the Web Himesh Patel, SAS Institute Inc., Cary, NC Revised by David Caira, SAS Institute Inc., Cary, NC ABSTRACT This paper highlights some ways of
More informationAre you Still Afraid of Using Arrays? Let s Explore their Advantages
Paper CT07 Are you Still Afraid of Using Arrays? Let s Explore their Advantages Vladyslav Khudov, Experis Clinical, Kharkiv, Ukraine ABSTRACT At first glance, arrays in SAS seem to be a complicated and
More informationDeveloping Graphical Standards: A Collaborative, Cross-Functional Approach Mayur Uttarwar, Seattle Genetics, Inc., Bothell, WA
PharmaSUG 2014 - DG03 Developing Graphical Standards: A Collaborative, Cross-Functional Approach Mayur Uttarwar, Seattle Genetics, Inc., Bothell, WA ABSTRACT Murali Kanakenahalli, Seattle Genetics, Inc.,
More informationBreaking up (Axes) Isn t Hard to Do: An Updated Macro for Choosing Axis Breaks
SESUG 2016 Paper AD-190 Breaking up (Axes) Isn t Hard to Do: An Updated Macro for Choosing Axis Breaks Alex Buck, Rho ABSTRACT This SAS 9.4 brought some wonderful new graphics options. One of the most
More informationA Strip Plot Gets Jittered into a Beeswarm
ABSTRACT Paper RIV52 A Strip Plot Gets Jittered into a Beeswarm Shane Rosanbalm, Rho, Inc. The beeswarm is a relatively new type of plot and one that SAS does not yet produce automatically (as of version
More informationData Edit-checks Integration using ODS Tagset Niraj J. Pandya, Element Technologies Inc., NJ Vinodh Paida, Impressive Systems Inc.
PharmaSUG2011 - Paper DM03 Data Edit-checks Integration using ODS Tagset Niraj J. Pandya, Element Technologies Inc., NJ Vinodh Paida, Impressive Systems Inc., TX ABSTRACT In the Clinical trials data analysis
More informationA Picture is worth 3000 words!! 3D Visualization using SAS Suhas R. Sanjee, Novartis Institutes for Biomedical Research, INC.
DG04 A Picture is worth 3000 words!! 3D Visualization using SAS Suhas R. Sanjee, Novartis Institutes for Biomedical Research, INC., Cambridge, USA ABSTRACT Data visualization is an important aspect in
More informationCompute; Your Future with Proc Report
Paper PO10 Compute; Your Future with Proc Report Ian J Dixon, GlaxoSmithKline, Harlow, UK Suzanne E Johnes, GlaxoSmithKline, Harlow, UK ABSTRACT PROC REPORT is widely used within the pharmaceutical industry
More informationMicrosoft Office Excel
Microsoft Office 2007 - Excel Help Click on the Microsoft Office Excel Help button in the top right corner. Type the desired word in the search box and then press the Enter key. Choose the desired topic
More informationOut of Control! A SAS Macro to Recalculate QC Statistics
Paper 3296-2015 Out of Control! A SAS Macro to Recalculate QC Statistics Jesse Pratt, Colleen Mangeot, Kelly Olano, Cincinnati Children s Hospital Medical Center, Cincinnati, OH, USA ABSTRACT SAS/QC provides
More informationInternet, Intranets, and The Web
Paper 186-25 Producing Interactive Internet Presentations in SAS Software Iza Peszek, Merck & Co., Inc., Rahway, NJ ABSTRACT The ODS in SAS v.7 and higher allows users to create HTML files with drill-down
More informationChapter 3 - Displaying and Summarizing Quantitative Data
Chapter 3 - Displaying and Summarizing Quantitative Data 3.1 Graphs for Quantitative Data (LABEL GRAPHS) August 25, 2014 Histogram (p. 44) - Graph that uses bars to represent different frequencies or relative
More informationMultiple 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 informationCorrecting for natural time lag bias in non-participants in pre-post intervention evaluation studies
Correcting for natural time lag bias in non-participants in pre-post intervention evaluation studies Gandhi R Bhattarai PhD, OptumInsight, Rocky Hill, CT ABSTRACT Measuring the change in outcomes between
More informationPROC FORMAT: USE OF THE CNTLIN OPTION FOR EFFICIENT PROGRAMMING
PROC FORMAT: USE OF THE CNTLIN OPTION FOR EFFICIENT PROGRAMMING Karuna Nerurkar and Andrea Robertson, GMIS Inc. ABSTRACT Proc Format can be a useful tool for improving programming efficiency. This paper
More informationUsing PROC SQL to Generate Shift Tables More Efficiently
ABSTRACT SESUG Paper 218-2018 Using PROC SQL to Generate Shift Tables More Efficiently Jenna Cody, IQVIA Shift tables display the change in the frequency of subjects across specified categories from baseline
More informationProve QC Quality Create SAS Datasets from RTF Files Honghua Chen, OCKHAM, Cary, NC
Prove QC Quality Create SAS Datasets from RTF Files Honghua Chen, OCKHAM, Cary, NC ABSTRACT Since collecting drug trial data is expensive and affects human life, the FDA and most pharmaceutical company
More informationTips and Techniques for Designing the Perfect Layout with SAS Visual Analytics
SAS2166-2018 Tips and Techniques for Designing the Perfect Layout with SAS Visual Analytics Ryan Norris and Brian Young, SAS Institute Inc., Cary, NC ABSTRACT Do you want to create better reports but find
More information