Advanced Figures using SAS Graph Template Language (GTL)Wei (Tony) Zhang, Msc, is an Asso. Dir. Programming Lead in Pfizer High quality graphs are essential for analysis of data in the clinical trials. The SAS Graph Template Language (GTL) was introduced into SAS Version 9.2 and improved in SAS Version 9.4. It is a different way of creating graphs in SAS compared with traditional SAS/Graph procedures, which starts a new life into graphs within SAS. This paper demonstrates how SAS Graph Template Language can be effectively and easily used to create plots like swimmer plot, waterfall plot, spider plot, forest plots, survival plot, and other graphs using Graph Template Language and the ODS Graphics procedure; new functions in SAS 9.4 GTL; ODS template modification, and other tips to use in GTL for complex figures.
PARSING: Using SAS® When the Data Are Hiding in a Non-Standard FormatAndrew T. Kuligowski, conference chair of SAS Global Forum Sequential files? Spreadsheets? Databases? There are numerous tutorials that instruct the SAS® user in techniques to extract data from standard sources. Sometimes, however, the desired data is hidden inside a non-standard source; information may be found within the flow of a text document, for example. This presentation will address some techniques that can be used when not dealing with cleanly formatted data, through use of an example where data are found within a free-form text file. It will deal with identifying what can be considered useful data and what can be discarded, then tackle techniques to extract the data for further analysis, reporting, or whatever is the desired end result.
Build Popular Clinical Graphs using SAS - Hands-On WorkshopSanjay Matange is an expert in the field of data visualization using SAS graphics software including the SG procedures and GTL. The Survival Plot and Forest Plot are popular graphs frequently requested for clinical research. These graphs are easy to build with the SGPLOT procedure. Once you understand how SGPLOT works, you can develop a plan, prepare the data as per this plan and then use the right plot statements to create almost any graph. This Hands-on workshop will take you step-by-step through the process needed to create these graphs. You will learn how to analyze the graph and make a plan. Then, put together the data set with all the needed information. Finally, layer the right plot statements in the right order to build the graph. Once you master the process for these graphs, you can use the same process to build almost any other graph. Come and learn how to use SGPLOT procedure like an expert.
The Shape of SAS® code Charu Shankar, SAS Senior Technical Trainer, has presented at over 100 SAS international user group conferences on SAS programming. There are many languages that co-exist in the ecosystem of your SAS® toolbox. This Hands-On Workshop teaches you how to use four SAS languages - Base SAS, PROC SQL, Perl language elements, and the SAS® Macro Language - to help you manipulate and investigate your data. Learn to leverage these powerful languages to check your data with simple, yet elegant techniques such as Boolean logic in PROC SQL, operators such as the SOUNDS-LIKE operator in the DATA step and PROC step, functions such as the SCAN function in the DATA step, efficient checking of your data with Perl regular expressions, and last but not least, the amazing marriage between PROC SQL and the SAS Macro Language to hold data you just found in a variable that you can use over and over again. This workshop focuses on coding techniques for data investigation and manipulation using Base SAS.
SAS® ODS Graphics - How to Position your Annotations Rowland Hale, Senior Principal Statistical Programmer at Syneos Health in Berlin The myriad options that come with the Statistical Graphics procedures and particularly Graph Template Language allow us to generate highly complex, bespoke graphics. Occasionally though we need to go beyond what is possible using options alone, and that is where annotations come in. Annotations were first introduced in SAS® ODS Graphics with SAS 9.3 (via draw statements) and this was quickly followed by support for annotation data sets in SAS 9.4. This paper focuses on the trickiest aspect of annotations, namely defining their placement on the graphic. Using so-called drawing spaces, SAS provides us with all the flexibility we need to position annotations accurately and dynamically, but choosing the correct drawing space and unit for a particular annotation is vital. We see what drawing spaces are, what positioning units are available and, using annotation data sets, we see some real world use cases to help us understand the concepts.