SAS Graphics for Clinical Trials by Example
eBook - ePub

SAS Graphics for Clinical Trials by Example

Kriss Harris, Richann Watson

Partager le livre
  1. 268 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

SAS Graphics for Clinical Trials by Example

Kriss Harris, Richann Watson

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

Create industry-compliant graphs with this practical guide for professionals

Analysis of clinical trial results is easier when the data is presented in a visual form. However, clinical graphs must conform to specific guidelines in order to satisfy regulatory agency requirements. If you are a programmer working in the health care and life sciences industry and you want to create straightforward, visually appealing graphs using SAS, then this book is designed specifically for you. Written by two experienced practitioners, the book explains why certain graphs are requested, gives the necessary code to create the graphs, and shows you how to create graphs from ADaM data sets modeled on real-world CDISC pilot study data.

SAS Graphics for Clinical Trials by Example demonstrates step-by-step how to create both simple and complex graphs using Graph Template Language (GTL) and statistical graphics procedures, including the SGPLOT and SGPANEL procedures. You will learn how to generate commonly used plots such as Kaplan-Meier plots and multi-cell survival plots as well as special purpose graphs such as Venn diagrams and interactive graphs. Because your graph is only as good as the aesthetic appearance of the output, you will learn how to create a custom style, change attributes, and set output options. Whether you are just learning how to produce graphs or have been working with graphs for a while, this book is a must-have resource to solve even the most challenging clinical graph problems.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que SAS Graphics for Clinical Trials by Example est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  SAS Graphics for Clinical Trials by Example par Kriss Harris, Richann Watson en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Computer Science et Programming. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Éditeur
SAS Institute
Année
2020
ISBN
9781952365973

Chapter 1: Introduction to Clinical Graphics

1.1 Introduction to Output Delivery System Statistical Graphics

There are several procedures in SAS that use the Output Delivery System (ODS) Statistical Graphics software. Part of the ODS Graphics are Statistical Graphics (SG) procedures and Graph Template Language (GTL). SG procedures generate plots that are based on procedure-driven GTL templates. In other words, the templates are determined based on the plot statements and options provided within the SG procedure. In addition, you can generate graphs from several analytical procedures, such as the LIFETEST procedure. With ODS Graphics, you are able to obtain graphs automatically through the analytical procedures or create custom graphs using SG procedures or GTL (Matange, 2016).
Knowing ODS Graphics enables you to modify or add features that are based on the procedure-driven templates as well as create customized graphs that might not otherwise be possible. GTL makes it easier to incorporate features, such as embedding a table of data within the output area or displaying multiple graphs, regardless of whether the graphs are of the same or different type on the same page. Prior to GTL, these features might have been difficult to achieve. Furthermore, according to Matange (2013) some additional reasons to learn GTL are:
● GTL provides in one system the full set of features that you need to create graphs from the simplest scatter plots to complex diagnostics panels.
● GTL is the language used to create the templates shipped by SAS for the creation of the automatic graphs from the analytical procedures. To customize one of these graphs, you will need to understand GTL.
● GTL represents the future for analytical graphics in SAS. New features are being added to GTL with every SAS release.
The following conventions are used in the text (and not the SAS code) within this book. Terms that are in all capital letters denote SAS procedures, SAS statements, data sets, and variables in a data set (for example, PROC SGPLOT, the SCATTER statement, the ADAE data set, and the AESTDT variable). Terms that are in italic capital letters denote macro variables (for example, SYSDATE and SYSTIME). Bold italic letters denote macros (for example, %SurvivalTemplateRestore).

1.1.1 Understanding the Basic: Statistical Graphics Procedures

SG procedures can be used to create a number of graphs. They use clear and concise syntax. SG procedures include these two procedures: SGPLOT and SGPANEL. Although there are other SG procedures, SGPLOT and SGPANEL are the only SG procedures that are used in the production of some of the graphs illustrated in the book. The SGRENDER procedure is used along with the TEMPLATE procedure to produce custom graphics. These two procedures combined are referred to as GTL in this book.

1.1.1.1 Overview of the SGPLOT Procedure

For many graphs, the SGPLOT procedure is typically sufficient. In order to use SGPLOT at least one plot statement must be specified. Within SGPLOT you can overlay different plots so that they occupy the same data area in the graph. Types of graphs that can be produced with SGPLOT include bar charts, high-low plots, block plots, series plots, and waterfall plots.
Although only one plot statement is needed, further control over the graph’s appearance can be achieved with the use of additional statements. You can control various aspects such as colors and markers that are associated with a style with the use of STYLEATTRS. If there is a particular Unicode character or an image that you want to use in one or more plots specified within the SGPLOT procedure, you can define the marker symbol using the SYMBOLCHAR or SYMBOLIMAGE. In addition, you can control the axes options with the use of XAXIS, X2AXIS, YAXIS, and Y2AXIS. XAXIS and X2AXIS control the X (bottom X axis) and X2 (top X axis) respectively; while YAXIS and Y2AXIS control the Y (left Y axis) and Y2 (right Y axis) respectively.
Each statement within SGPLOT has additional options that allow for further control of the appearance. The options vary based on the plot specified, but you can change other attributes like color, text rotation, fill pattern, and line pattern. The syntax for SGPLOT is simple as illustrated in Program 1-1.
Program 1-1: SGPLOT Procedure Syntax
proc sgplot <options>;
<
 plot statements 
> / <options>;
run;

1.1.1.2 Overview of the SGPANEL Procedure

With the SGPANEL procedure, you can create a panel of similar graphs based on one or more classification variables. In order to use SGPANEL, the PANELBY statement must be specified. The PANELBY statement determines the different combinations of the classification variables. At least one classification variable needs to be provided when using SGPANEL. With SGPANEL, SAS automatically determines the panel layout, that is, SAS determines the number of individual cells for a data area in the graph, and, if necessary, SAS creates multiple graphs if the number of unique combinations of classification variables does not fit on one graph.
Other than the use of PANELBY, SGPANEL can use the same plot statements and options to help control the appearance of each individual cell in the graph. Program 1-2 demonstrates the standard syntax for SGPANEL.
Program 1-2: SGPANEL Procedure Syntax
proc sgpanel <options>;
panelby variable / <options>;
<
 plot statements 
> / <options>;
run;

1.1.1.3 Overview of the SGSCATTER Procedure

While the SGSCATTER procedure can be used to create a simple scatter plot of Y by X, it can also be used to create a panel of scatter plots that are based on the different combinations of variables specified. The type of panel created is determined based on whether the PLOT, COMPARE, or MATRIX statement is used. The use of PLOT, COMPARE, or MATRIX statement is required when using SGSCATTER. In addition, each one of the statements have their own set of options that enable you to control the appearance of the plots being prod...

Table des matiĂšres