Sas Procedures Essay

7722 Words Jun 17th, 2012 31 Pages
SAS Global Forum 2009

Pharma, Life Sciences and Healthcare

Paper 174-2009

Clinical Trial Reporting Using SAS/GRAPH® SG Procedures Susan Schwartz, SAS Institute Inc., Cary, NC
Graphics are a powerful way to display clinical trial data. By their very nature, clinical trials generate a large amount of information, and a concise visual presentation of the results is essential. Information about the patient population, drug dosages, clinical responses, and adverse events must be clear. Clinical laboratory results need to be presented within the context of acceptable limits, and subtle changes over time must be highlighted. This presentation will show, by example, how such graphs can easily be created using the SAS/GRAPH® SG
…show more content…
The output you can produce is limited only by your imagination. Unless otherwise noted, all graphs in this paper were produced with the ODS LISTING style.

Single-cell graphs are produced by the SGPLOT procedure. Figure 1 shows a simple dose response plot that displays the mean clinical response of two treatment groups over a 10-day study. The SGPLOT procedure’s cell is a composite of one PLOT statement and two supporting elements. The input data set contains three numeric variables: response visit 9.40 0 9.35 1 ..... etc trt 1 1

• •

The PROC FORMAT step defines two user-defined formats, VISITFMT and TRTFMT, and the FORMAT statement associates the user-defined formats with their (numeric) variables. The SERIES statement produces a grouped series plot with marker symbols. The plot's colors, marker symbols, and line patterns are assigned automatically from the style elements GRAPHDATA1 through GRAPHDATAn. The REFLINE statement draws a reference line at X=1 to indicate day one of treatment.


SAS Global Forum 2009

Pharma, Life Sciences and Healthcare

The options in the KEYLEGEND statement position the legend in the upper-right, inside corner of the plot. By default, a legend is generated for grouped data, but it is placed at the bottom, outside of the plot area. The options in the KEYLEGEND statement customize the placement. The X and Y axes are drawn and labeled

Related Documents