PROC REPORT AN INTRODUCTION

Size: px
Start display at page:

Download "PROC REPORT AN INTRODUCTION"

Transcription

1 Table Generation Using the PROC REPORT Feature Edward R. Smith, Senior Scientific Programmer Covance Periapproval Services Inc, Radnor, PA ABSTRACT The PROC REPORT procedure is a powerful report generation tool that allows the user to combine many of the capabilities of the SAS system in a single step. The focus of this paper is to introduce the batch version of PROC REPORT as a tool for table generation. This paper provides the reader with much of the basic PROC REPORT essentials and an introduction to some of the more advanced techniques. It is not meant to be a full introduction to the capabilities of this feature. Full documentation can be found in SAS Technical Report P-258, Using the REPORT Procedure in a Nonwindowing Environment. Additional documentation can be found in SAS Report Writing: A Programming Approach course notes. PROC REPORT offers the user a wide variety of options in the level of use of the procedure. At a minimum PROC REPORT offers the programmer another tool to use instead of PROC PRINT. At the other end of the scale, the REPORT procedure offers the ability to generate a statistical table and save the table definition for later use. What attracted me to the REPORT procedure is how easily tables can be generated. This procedure will automatically take care of tasks such as column placement, column alignment, table and column header management, and value formatting in conjunction with its easy customization. As I stated earlier, PROC REPORT is a powerful report writing tool and this paper can only begin to show the new user some of its capabilities. This paper does not present a comprehensive discussion of any topic. I will focus only on those topics needed to produce the output for the table presented at the end of this paper. While this may not address some of the features available, it should provide the new user with an idea of the capabilities that PROC REPORT provides. PROC REPORT AN INTRODUCTION PROC REPORT can be used to generate output just like PROC PRINT. The PROC statement used alone will use the procedure using the default parameters. ANATOMY OF PROC REPORT PROC Statement: This is used to invoke the REPORT procedure and if submitted by itself will display all variables in the data set with the default parameters. The user does have control over the output and its layout and that control starts in the PROC statement. The PROC statement inputs the data set to be used and controls the report characteristics for the report as a whole. These would include the keywords HEADLINE and HEADSKIP which would create an underline and a blank line just under the column headings. The PROC statement also allows the user to change the default spacing between columns by using the SPACING=n option. The control of column header layout is established here by the use of the SPLIT= splitcharacter option. PROC REPORT DATA=DSET HEADLINE HEADSKIP SPLIT= ^ SPACING=4 ; COLUMN statement: This follows the PROC statement and has two main functions. It is here that the variables to be included in the report are identified. Also, the report structure is dictated by this line. The procedure will process the variables in their order of appearance in this line from left to right. The COLUMN line has numerous options associated with it some of which will be shown in the course of this paper. COLUMN TREAT KITNO PTNO SEX RACE HT WT; DEFINE statement: This statement has two main functions. The first is to provide how a variable will be use in the report generation. PROC REPORT has six different ways that a variable can be use in the DEFINE statement. They are : DISPLAY, ANALYSIS, ORDER, GROUP, ACROSS and COMPUTED. Note the DEFINE option and their effect below: DEFINE OPTION ACROSS ANALYSIS COMPUTED DISPLAY GROUP ORDER EFFECT ON OUTPUT Form column headers Calculate a statistic for all Observations that have unique Combination of values for all group variables. Locally created variables that do not appear in the input data set but are derived within the procedure. Variables appear as they do in the Input data set. Consolidate into one row all observations from the input data set that have the same value for the variable. Determine the order of the rows in the report. GROUP and ORDER variables are used to determine the sort order, to create breaks in the report and where the

2 report will SUMMARIZE. DISPLAY variables are character and ANALYSIS variables are numeric by default. The keyword is not needed in the define statement but should be included as part of good programming standards. The ACROSS option in the DEFINE statement creates a column for each value of a data set variable, computed variable or statistic. The ANALYSIS option will calculate statistics for a data set variable or computed variable contained within the data set. The default statistic is SUM but other statistics may be generated by specifying the statistic in the DEFINE statement. Other DEFINE options : The DEFINE statement has many options for manipulating the appearance of your output. Some of these include the following: CENTER centers the formatted values of the specified variable within the column width and centers the column header over the values. LEFT left-justifies the formatted values of the specified variable within the column width and left-justifies the column header over the values. RIGHT right-justifies the formatted values of the specified variable within the column width and right justifies the column header over the values. COLUMN-HEADER:defines the column header for each variable. The definition is enclosed within quotation marks. The split character mentioned in the PROC statement maybe used to split the header over multiple lines. FLOW:wraps the value of a character variable in its column. The FLOW option recognizes the split character but if the text does not contain a split character, PROC REPORT will try to split the text at a blank. FORMAT = Assigns a SAS or user defined format to a variable. NOPRINT: Suppresses printing of a variable this option is helpful when you don t want to show the values in the report but need to use the values to calculate other values you do wish to display. It is useful to establish the order of rows in a report. NOZERO:Suppresses the display of a selected column if its values are all zero or missing. ORDER: Controls the ordering of the rows. The default is ascending. You can alter the order with the DESCENDING option in the DEFINE statement. ORDER= DATA FORMATTED FREQ INTERNAL Orders the values of a GROUP, ORDER or ACROSS variable according to a stated order, Where: DATA orders values by their order in the input data set. FORMATTED orders values by their formatted values. The default is ascending order. FREQ orders by ascending frequency count. INTERNAL orders values by the same sequence as a PROC SORT would use. This is good for displaying dates chronologically. SPACING=horizontal positions: defines the number of blank characters to leave between the selected column and the column immediately to its left. The default is spacing = 2. This spacing overrides the spacing stated in the PROC statement for the DEFINE in which it is used only. The code in the following example will show the use of the PROC, COLUMN and DEFINE statements along with a number of the options discussed previously. PROC REPORT DATA=DEMO HEADLINE HEADSKIP SPLIT= ^ SPACING=4 ; COLUMNS TREAT KITNO PTNO SEX RACE AGE ; DEFINE TREAT/GROUP LEFT TREATMENT GROUP FORMAT=DRUG.; DEFINE KITNO/DISPLAY INVESTIGATOR WIDTH=12 CENTER; DEFINE PTNO/DISPLAY PATIENT^NUMBER CENTER WIDTH=8 ; DEFINE SEX/DISPLAY GENDER FORMAT=SEX. ; DEFINE RACE/DISPLAY RACE FORMAT=RACE.; DEFINE AGE/DISPLAY AGE^AT ^VISIT 1 WIDTH=7 CENTER; CUSTOMIZING THE REPORT DEFINITION Now that a basic report has been generated this section shows how you can customize the report with a few simple options of the REPORT feature. We have seen how the column header can be customized with the use of the split character. You can also extend a column header to fill a column. This is done by using special characters as the first and last characters of the header. When the first and last characters are one of these characters, PROC REPORT uses that character to expand the header to fill the column. The special characters are: -, =, _,., *, and +. Another way to customize you report is by the use of the WIDTH statement in the column definition. The WIDTH= option controls the width of the column. Formats control the display of values within columns. If you specify a column width that is not large enough for the report items format, PROC REPORT writes a note to the SAS log and formats the value as closely as it can to the specified format. When this occurs with a multi-worded text string a solution would be the use of the FLOW option discussed earlier. The use of the FLOW option with the WIDTH=option will cause PROC REPORT to use as many lines as necessary to display then entire value within the appropriate column.

3 Another customization that PROC REPORT offers is to easily underline column headers without underlining the spaces between them. AS discussed earlier, the use of the HEADLINE option in the PROC statement will create a continuous line across the report under the column headers. To create this underline with breaks you need to add to each column DEFINE statement. You need to use only two underlining characters to underline the entire column header. Many reports are customized by having a single header that spans multiple columns. Control of this takes place in the COLUMN statement by using parentheses. The column header is given within single or double quotation marks followed by a list of items to span, separating the items with blanks. Note the example below. PROC REPORT DATA=DEMO HEADSKIP HEADLINE; COLUMN KITNO PTNO ( BASELINE DEMOGRAPHICS AGE SEX RACE HT WT) ; ** NOTE: The spanning option is combined with the column fill option. SKIP writes a blank line after each group of break lines. SUMMARIZE writes a summary line for statistics and computed variables in each group of report lines. SUPPRESS suppress printing of the value of the break variable and any overlining or underlining in break variable column in the break lines. UL underlines by writing a line of hyphens (-) below each value in the summary line. The use of AFTER cause the options specified to occur after the last value of the break variable while the use of BEFORE will cause the specified options to be implemented prior to the first value of the break variable. REPORT CUSTOMIZATION EXAMPLE PROC REPORT DATA=DEMO HEADLINE HEADSKIP SPLIT= ^ ; OUTPUT: COLUMNS TREAT KITNO PTNO ( BASELINE DEMOGRAPHIC CHARACTERISTICS AGE SEX RACE HT WT) ( BLOOD PRESSURE SBP DBP) START; BASELINE DEMOGRAPHICS KITNO PTNO AGE SEX RACE HT WT The use of breaks within a report is another customization that enhances the look and readability of the report. PROC REPORT offers an easy way to provide these breaks between groups. This can be done with the use of the BREAK statement which controls the REPORT procedure s actions when the value of a break variable changes. It must specify the location of the break (BEFORE or AFTER) and the break variable must be either an ORDER or GROUP variable. Some of the most widely used BREAK options include: DOL double-overlines by writing a line of equal signs(=) Above each value in the summary line. DUL double-underlines by writing a line of equal signs(=) Below each value in the summary line. OL - overlines by writing a line of hyphens (-) above each value in the summary line. DEFINE TREAT/ ORDER LEFT WIDTH=14 TREATMENT GROUP FORMAT=TRTGRP. ; DEFINE KITNO / ORDER WIDTH=3 INV^NUM ; DEFINE PTNO / ORDER WIDTH=3 PAT^NUM ; DEFINE AGE / DISPLAY WIDTH=5 AGE^(YRS) ; DEFINE SEX /DISPLAY WIDTH=6 LEFT ^GENDER FORMAT=SEX.; DEFINE RACE / DISPLAY WIDTH=10 LEFT ^ RACE FORMAT=RACE.; DEFINE HT / DISPLAY WIDTH=6 CENTER HEIGHT^(IN.) ; DEFINE WT / DISPLAY WIDTH=6 CENTER WEIGHT^(LBS.) ; DEFINE SBP/DISPLAY WIDTH=8 CENTER ^SYSTOLE ; DEFINE DBP/DISPLAY WIDTH=8 CENTER ^DIASTOLE DEFINE START / DISPLAY LEFT START^DATE FORMAT=DATE9. ; BREAK AFTER TREAT/ SKIP ; BREAK AFTER KITNO/ SKIP; TITLE1 REPORT CUSTOMIZATION ; PAGE starts a new page after each group of break lines.

4 COMPUTE BLOCKS This section looks at COMPUTE blocks and the multiple use of a single variable with different values. One may present a variable in different ways. This is done by the use of an alias so that you can have distinct DEFINE statements for each occurrence of the variable. EXAMPLE COLUMNS RACE RACE=RACEN ; DEFINE RACE/ GROUP FORMAT=RACE. ; DEFINE RACEN/ ANALYSIS N FORMAT=2. ; A report can include variables that do not appear on you data set. This is done by computing the value inside a compute block. A compute block for a computed variable contains: - a COMPUTE statement - necessary SAS statements - an ENDCOMP statement Two things to watch are 1) a computed variable must be calculated from report items that are to its left in the COLUMN statement. 2) Aliases that you create in a column statement are valid only in DEFINE statements. You can not use them in compute blocks. You can reference report variables within a compute block in one of three ways. 1) by name 2) by compound name that identifies both the variable and the name of the statistic calculated. 3) by column number. The options BEFORE and AFTER may be used with the COMPUTE function. COMPUTE EXAMPLE COMPUTE BEFORE TREAT ; NOBS=N ; COUNT = N ; ENDCOMP ; COMPUTE SEXPCT ; _C6_ = ROUND ((_C4_/COUNT)*100,.01) ; _C7_ = ROUND((_C5_/COUNT)*100,.01); ENDCOMP; CREATING AND USING REPORT DEFINITIONS Now that you have done all of this work it would be great to be able to recall this table whenever needed. PROC REPORT allows you to do just that. This is done by creating a REPORT DEFINITION to store the design of the report for later use with different data sets. A report definition contains a set of instructions used to produce a report and does not contain any data or lines of output. The report definition is stored as a catalog entry with a type of REPT and can not be viewed or edited directly by the user. You can use a report definition with any data set containing variables with the same name and type as those referenced in the original data set. A report definition is stored by the use of the OUTREP= option in the PROC REPORT statement. An example of this can be found at the end of this paper. The catalog entry specified in the OUTREPT= option must have a three-level name. Once a report definition has been made and stored you may use it at anytime. To use the report definition you specify the REPORT= option in the PROC REPORT statement and reference the input data set and any titles or footnotes desired and finish with a RUN statement. An example of invoking a stored report definition can be found at the end of this paper. REFERENCES SAS Institute Inc. (1993) SAS Technical Report P-258 Using the REPORT Procedure in a Nonwindowing Environment, Cary, NC: SAS Institute Inc. SAS Institute Inc. (1996) SAS Report Writing: A Programming Approach, Cary NC: SAS Institute Inc. TRADEMARKS SAS is a registered trademark or trademark of SAS Institute, Inc. in the USA and other countries. indicates USA registration. CONTACT INFORMATION If you have additional questions, or would like an electronic copy of the code, feel free to contact me. Edward R. Smith, Senior Scientific Programmer Covance Periapproval Services Inc. One Radnor Corporate Center Radnor, PA Ed.smith@covance.com

5 CREATION OF FINAL REPORT AND STORAGE OF REPORT DEFINITION proc report data = x.eddemo headline headskip split='^' missing outrept=x.reports.demog2 ; columns treat treatn n (' Race ^ ^ ' race race=racen racepct) (' Gender ' sex, sex=sexn sex, sexpct) (' Age ^ ^ ' age age=agemean age=agemin age=agemax age=agestd) (' Height ^ ^ ' ht=htmean ht=htmin ht=htmax) ; define treat /analysis n noprint ; define treatn / group 'Treatment Group' width=22 ; define sex / across order=internal center ' ' format=sex. ; define sexn / analysis n center 'N' width=6 format=2.0 ; define sexpct/ computed width=7 'Percent' format=6.1 ; define race / group ' ' order=internal left format=race. spacing=4 ; define racen / analysis n format=2. 'N' ; define racepct / computed width=7 'Percent' format=6.1; define age / computed noprint ; define agemean /analysis mean format=5.2 'Mean' spacing=4 ; define agemin / analysis min format=3. 'Min' ; define agemax / analysis max format=3. 'Max' ; define agestd / analysis std format=5.2 'Std' ; define htmean / analysis mean format=5.2 'Mean' spacing=4 ; define htmin / analysis min format=3. 'Min' ; define htmax / analysis max format=3. 'Max' ; compute before ; nobs=n ; count = n ; _c6_ = round((_c4_/count)*100,.01) ; _c7_ = round((_c5_/count)*100,.01) ; compute sexpct ; _c6_ = round((_c4_/count)*100,.01) ; _c7_ = round((_c5_/count)*100,.01) ; racepct= round((_c9_/count)*100,.01) ; compute racepct ; racepct= round((_c9_/count)*100,.01) ; break after treatn / summarize ; break after treatn / skip dol ; ** compute before treat ; compute after treatn ; treatn = ' Treatment Total' ; rbreak after / summarize ; rbreak after / skip dol dul ; compute after ; treatn = 'All Patients ' ; title1 ' ' ; title2 'Miracle Drug - Protocol 5432'; title3 'Demographic Listing' ; title4 ' ' ;

6 USE OF STORED REPORT DEFINITION proc report data=x.eddemo report=x.reports.demog2 ; title1 ' ' ; title2 'MIRACLE DRUG - PROTOCOL 8714' ; title3 'DEMOGRAPHIC DATA' ; title4 ' ' ; footnote1 "This table was produced using a stored report definition. The table was produced using /users/smithe/report4.sas and /users/smithe/reports/demog.rept on &sysdate at &systime."; endsas ;

PROC REPORT Basics: Getting Started with the Primary Statements

PROC REPORT Basics: Getting Started with the Primary Statements Paper HOW07 PROC REPORT Basics: Getting Started with the Primary Statements Arthur L. Carpenter California Occidental Consultants, Oceanside, California ABSTRACT The presentation of data is an essential

More information

The REPORT Procedure CHAPTER 32

The REPORT Procedure CHAPTER 32 859 CHAPTER 32 The REPORT Procedure Overview 861 Types of Reports 861 A Sampling of Reports 861 Concepts 866 Laying Out a Report 866 Usage of Variables in a Report 867 Display Variables 867 Order Variables

More information

EXAMPLES OF DATA LISTINGS AND CLINICAL SUMMARY TABLES USING PROC REPORT'S BATCH LANGUAGE

EXAMPLES OF DATA LISTINGS AND CLINICAL SUMMARY TABLES USING PROC REPORT'S BATCH LANGUAGE EXAMPLES OF DATA LISTINGS AND CLINICAL SUMMARY TABLES USING PROC REPORT'S BATCH LANGUAGE Rob Hoffman Hoffmann-La Roche, Inc. Abstract PROC REPORT Is a powerful report writing tool which can easily create

More information

Compute Blocks in Report

Compute Blocks in Report Compute Blocks in Report Compute Blocks Though it is always possible to compute new variables inside a data step, PROC REPORT allows for similar computations to be done internally as well. Computations

More information

There s No Such Thing as Normal Clinical Trials Data, or Is There? Daphne Ewing, Octagon Research Solutions, Inc., Wayne, PA

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

Getting Up to Speed with PROC REPORT Kimberly LeBouton, K.J.L. Computing, Rossmoor, CA

Getting Up to Speed with PROC REPORT Kimberly LeBouton, K.J.L. Computing, Rossmoor, CA SESUG 2012 Paper HW-01 Getting Up to Speed with PROC REPORT Kimberly LeBouton, K.J.L. Computing, Rossmoor, CA ABSTRACT Learning the basics of PROC REPORT can help the new SAS user avoid hours of headaches.

More information

Justina M. Flavin, Synteract, Inc.

Justina M. Flavin, Synteract, Inc. Using PROC REPORT to Summarize Clinical Safety Data Justina M. Flavin, Synteract, Inc. ABSTRACT By using the summary and display features available In PROC REPORT, the amount of code needed to generate

More information

ABSTRACT DATA CLARIFCIATION FORM TRACKING ORACLE TABLE INTRODUCTION REVIEW QUALITY CHECKS

ABSTRACT DATA CLARIFCIATION FORM TRACKING ORACLE TABLE INTRODUCTION REVIEW QUALITY CHECKS Efficient SAS Quality Checks: Unique Error Identification And Enhanced Data Management Analysis Jim Grudzinski, Biostatistics Manager Of SAS Programming Covance Periapproval Services Inc, Radnor, PA ABSTRACT

More information

So You're Still Not Using PROC REPORT. Why Not?

So You're Still Not Using PROC REPORT. Why Not? Paper 149-26 So You're Still Not Using PROC REPORT. Why Not? Ray Pass, Ray Pass Consulting Daphne Ewing, Synteract, Inc. ABSTRACT Everyone who can spell SAS knows how to use PROC PRINT. Its primary use

More information

The REPORT Procedure: A Primer for the Compute Block

The REPORT Procedure: A Primer for the Compute Block Paper TT15-SAS The REPORT Procedure: A Primer for the Compute Block Jane Eslinger, SAS Institute Inc. ABSTRACT It is well-known in the world of SAS programming that the REPORT procedure is one of the best

More information

An Introduction to PROC REPORT

An Introduction to PROC REPORT Paper BB-276 An Introduction to PROC REPORT Kirk Paul Lafler, Software Intelligence Corporation, Spring Valley, California Abstract SAS users often need to create and deliver quality custom reports and

More information

Basic Concepts #6: Introduction to Report Writing

Basic Concepts #6: Introduction to Report Writing Basic Concepts #6: Introduction to Report Writing Using By-line, PROC Report, PROC Means, PROC Freq JC Wang By-Group Processing By-group processing in a procedure step, a BY line identifies each group

More information

Square Peg, Square Hole Getting Tables to Fit on Slides in the ODS Destination for PowerPoint

Square Peg, Square Hole Getting Tables to Fit on Slides in the ODS Destination for PowerPoint PharmaSUG 2018 - Paper DV-01 Square Peg, Square Hole Getting Tables to Fit on Slides in the ODS Destination for PowerPoint Jane Eslinger, SAS Institute Inc. ABSTRACT An output table is a square. A slide

More information

%ANYTL: A Versatile Table/Listing Macro

%ANYTL: A Versatile Table/Listing Macro Paper AD09-2009 %ANYTL: A Versatile Table/Listing Macro Yang Chen, Forest Research Institute, Jersey City, NJ ABSTRACT Unlike traditional table macros, %ANTL has only 3 macro parameters which correspond

More information

MULTI-WAY TABLES IN REPORT

MULTI-WAY TABLES IN REPORT MULTI-WAY TABLES IN REPORT Consider The following PROC REPORT: proc format; value smk 0='Never Smoked' 1='Currently Smoke' 2='Stopped at Pregnancy' 3='Stopped Before Current Pregnancy' 9='Unknown' ; value

More information

Advanced PROC REPORT: Doing More in the Compute Block

Advanced PROC REPORT: Doing More in the Compute Block Paper TU02 Advanced PROC REPORT: Doing More in the Compute Block Arthur L. Carpenter California Occidental Consultants ABSTRACT One of the unique features of the REPORT procedure is the Compute Block.

More information

Compute; Your Future with Proc Report

Compute; 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 information

Using V9 ODS LAYOUT to Simplify Generation of Individual Case Summaries Ling Y. Chen, Rho, Inc., Newton, MA

Using V9 ODS LAYOUT to Simplify Generation of Individual Case Summaries Ling Y. Chen, Rho, Inc., Newton, MA Paper PO02 Using V9 ODS LAYOUT to Simplify Generation of Individual Case Summaries Ling Y. Chen, Rho, Inc., Newton, MA ABSTRACT Up until now, individual case summaries involve complicated data _null_ coding

More information

BY S NOTSORTED OPTION Karuna Samudral, Octagon Research Solutions, Inc., Wayne, PA Gregory M. Giddings, Centocor R&D Inc.

BY S NOTSORTED OPTION Karuna Samudral, Octagon Research Solutions, Inc., Wayne, PA Gregory M. Giddings, Centocor R&D Inc. ABSTRACT BY S NOTSORTED OPTION Karuna Samudral, Octagon Research Solutions, Inc., Wayne, PA Gregory M. Giddings, Centocor R&D Inc., Malvern, PA What if the usual sort and usual group processing would eliminate

More information

Remove this where. statement to produce the. report on the right with all 4 regions. Retain this where. statement to produce the

Remove this where. statement to produce the. report on the right with all 4 regions. Retain this where. statement to produce the Problem 4, Chapter 14, Ex. 2. Using the SAS sales data set, create the report shown in the text. Note: The report shown in the text for this question, contains only East & West region data. However, the

More information

Formatting Highly Detailed Reports: Eye-Friendly, Insight-Facilitating

Formatting Highly Detailed Reports: Eye-Friendly, Insight-Facilitating L.Fine Formatting Highly Detailed Reports 1 Formatting Highly Detailed Reports: Eye-Friendly, Insight-Facilitating Lisa Fine, United BioSource Corporation Introduction Consider a highly detailed report

More information

10 The First Steps 4 Chapter 2

10 The First Steps 4 Chapter 2 9 CHAPTER 2 Examples The First Steps 10 Invoking the Query Window 11 Changing Your Profile 11 ing a Table 13 ing Columns 14 Alias Names and Labels 14 Column Format 16 Creating a WHERE Expression 17 Available

More information

SAS/ETS 13.2 User s Guide. The COMPUTAB Procedure

SAS/ETS 13.2 User s Guide. The COMPUTAB Procedure SAS/ETS 13.2 User s Guide The COMPUTAB Procedure This document is an individual chapter from SAS/ETS 13.2 User s Guide. The correct bibliographic citation for the complete manual is as follows: SAS Institute

More information

A Breeze through SAS options to Enter a Zero-filled row Kajal Tahiliani, ICON Clinical Research, Warrington, PA

A Breeze through SAS options to Enter a Zero-filled row Kajal Tahiliani, ICON Clinical Research, Warrington, PA ABSTRACT: A Breeze through SAS options to Enter a Zero-filled row Kajal Tahiliani, ICON Clinical Research, Warrington, PA Programmers often need to summarize data into tables as per template. But study

More information

PharmaSUG China 2018 Paper AD-62

PharmaSUG China 2018 Paper AD-62 PharmaSUG China 2018 Paper AD-62 Decomposition and Reconstruction of TLF Shells - A Simple, Fast and Accurate Shell Designer Chengeng Tian, dmed Biopharmaceutical Co., Ltd., Shanghai, China ABSTRACT Table/graph

More information

SAS Macros for Grouping Count and Its Application to Enhance Your Reports

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

Ten Great Reasons to Learn SAS Software's SQL Procedure

Ten Great Reasons to Learn SAS Software's SQL Procedure Ten Great Reasons to Learn SAS Software's SQL Procedure Kirk Paul Lafler, Software Intelligence Corporation ABSTRACT The SQL Procedure has so many great features for both end-users and programmers. It's

More information

Using Proc Freq for Manageable Data Summarization

Using Proc Freq for Manageable Data Summarization 1 CC27 Using Proc Freq for Manageable Data Summarization Curtis Wolf, DataCeutics, Inc. A SIMPLE BUT POWERFUL PROC The Frequency procedure can be very useful for getting a general sense of the contents

More information

Going Under the Hood: How Does the Macro Processor Really Work?

Going Under the Hood: How Does the Macro Processor Really Work? Going Under the Hood: How Does the Really Work? ABSTRACT Lisa Lyons, PPD, Inc Hamilton, NJ Did you ever wonder what really goes on behind the scenes of the macro processor, or how it works with other parts

More information

Using PROC REPORT to Cross-Tabulate Multiple Response Items Patrick Thornton, SRI International, Menlo Park, CA

Using PROC REPORT to Cross-Tabulate Multiple Response Items Patrick Thornton, SRI International, Menlo Park, CA Using PROC REPORT to Cross-Tabulate Multiple Response Items Patrick Thornton, SRI International, Menlo Park, CA ABSTRACT This paper describes for an intermediate SAS user the use of PROC REPORT to create

More information

It s Proc Tabulate Jim, but not as we know it!

It s Proc Tabulate Jim, but not as we know it! Paper SS02 It s Proc Tabulate Jim, but not as we know it! Robert Walls, PPD, Bellshill, UK ABSTRACT PROC TABULATE has received a very bad press in the last few years. Most SAS Users have come to look on

More information

An Efficient Method to Create Titles for Multiple Clinical Reports Using Proc Format within A Do Loop Youying Yu, PharmaNet/i3, West Chester, Ohio

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

Paper An Automated Reporting Macro to Create Cell Index An Enhanced Revisit. Shi-Tao Yeh, GlaxoSmithKline, King of Prussia, PA

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

An Introduction to SAS/FSP Software Terry Fain, RAND, Santa Monica, California Cyndie Gareleck, RAND, Santa Monica, California

An Introduction to SAS/FSP Software Terry Fain, RAND, Santa Monica, California Cyndie Gareleck, RAND, Santa Monica, California An Introduction to SAS/FSP Software Terry Fain, RAND, Santa Monica, California Cyndie Gareleck, RAND, Santa Monica, California ABSTRACT SAS/FSP is a set of procedures used to perform full-screen interactive

More information

Producing Summary Tables in SAS Enterprise Guide

Producing Summary Tables in SAS Enterprise Guide Producing Summary Tables in SAS Enterprise Guide Lora D. Delwiche, University of California, Davis, CA Susan J. Slaughter, Avocet Solutions, Davis, CA ABSTRACT This paper shows, step-by-step, how to use

More information

STEP 1 - /*******************************/ /* Manipulate the data files */ /*******************************/ <<SAS DATA statements>>

STEP 1 - /*******************************/ /* Manipulate the data files */ /*******************************/ <<SAS DATA statements>> Generalized Report Programming Techniques Using Data-Driven SAS Code Kathy Hardis Fraeman, A.K. Analytic Programming, L.L.C., Olney, MD Karen G. Malley, Malley Research Programming, Inc., Rockville, MD

More information

Indenting with Style

Indenting with Style ABSTRACT Indenting with Style Bill Coar, Axio Research, Seattle, WA Within the pharmaceutical industry, many SAS programmers rely heavily on Proc Report. While it is used extensively for summary tables

More information

Lecture 1 Getting Started with SAS

Lecture 1 Getting Started with SAS SAS for Data Management, Analysis, and Reporting Lecture 1 Getting Started with SAS Portions reproduced with permission of SAS Institute Inc., Cary, NC, USA Goals of the course To provide skills required

More information

Import and Browse. Review data. bp_stages is a chart based on a graphic

Import and Browse. Review data. bp_stages is a chart based on a graphic Import and Browse Review data is a chart based on a graphic hrs_clin is clinical data patient id (anonymized) some interesting things to note here. female is a boolean age is a number depress_dx is a 0/1,

More information

Quality Control of Clinical Data Listings with Proc Compare

Quality Control of Clinical Data Listings with Proc Compare ABSTRACT Quality Control of Clinical Data Listings with Proc Compare Robert Bikwemu, Pharmapace, Inc., San Diego, CA Nicole Wallstedt, Pharmapace, Inc., San Diego, CA Checking clinical data listings with

More information

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

The correct bibliographic citation for this manual is as follows: SAS Institute Inc Proc FORMS. Cary, NC: SAS Institute Inc.

The correct bibliographic citation for this manual is as follows: SAS Institute Inc Proc FORMS. Cary, NC: SAS Institute Inc. Proc FORMS The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2004. Proc FORMS. Cary, NC: SAS Institute Inc. Proc FORMS Copyright 2004, SAS Institute Inc., Cary, NC, USA

More information

The Power of Combining Data with the PROC SQL

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

The REPORT Procedure and ODS Destination for Microsoft Excel: The Smarter, Faster Way to Create First-Rate Excel Reports

The REPORT Procedure and ODS Destination for Microsoft Excel: The Smarter, Faster Way to Create First-Rate Excel Reports The REPORT Procedure and ODS Destination for Microsoft Excel: The Smarter, Faster Way to Create First-Rate Excel Reports Jane Eslinger, SAS Institute Inc. PROGRAMMERS BOSSES Current Process Develop SAS

More information

The TIMEPLOT Procedure

The TIMEPLOT Procedure 1247 CHAPTER 38 The TIMEPLOT Procedure Overview 1247 Procedure Syntax 1249 PROC TIMEPLOT Statement 1250 BY Statement 1250 CLASS Statement 1251 ID Statement 1252 PLOT Statement 1252 Results 1257 Data Considerations

More information

22S:166. Checking Values of Numeric Variables

22S:166. Checking Values of Numeric Variables 22S:1 Computing in Statistics Lecture 24 Nov. 2, 2016 1 Checking Values of Numeric Variables range checks when you know what the range of possible values is for a given quantitative variable internal consistency

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

The FORMS Procedure. Overview CHAPTER 20

The FORMS Procedure. Overview CHAPTER 20 481 CHAPTER 20 The FORMS Procedure Overview 481 Procedure Syntax 483 PROC FORMS Statement 483 BY Statement 487 FREQ Statement 487 LINE Statement 488 Concepts 489 Form Layout 489 Modes of Operation 490

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

Developing Data-Driven SAS Programs Using Proc Contents

Developing Data-Driven SAS Programs Using Proc Contents Developing Data-Driven SAS Programs Using Proc Contents Robert W. Graebner, Quintiles, Inc., Kansas City, MO ABSTRACT It is often desirable to write SAS programs that adapt to different data set structures

More information

Unit 3 Fill Series, Functions, Sorting

Unit 3 Fill Series, Functions, Sorting Unit 3 Fill Series, Functions, Sorting Fill enter repetitive values or formulas in an indicated direction Using the Fill command is much faster than using copy and paste you can do entire operation in

More information

Unit 3 Functions Review, Fill Series, Sorting, Merge & Center

Unit 3 Functions Review, Fill Series, Sorting, Merge & Center Unit 3 Functions Review, Fill Series, Sorting, Merge & Center Function built-in formula that performs simple or complex calculations automatically names a function instead of using operators (+, -, *,

More information

Tabs, Tables & Columns

Tabs, Tables & Columns Tabs, Tables & Columns What we will cover Creating tables Formatting tables Sorting information in tables Using columns Using tabs Tables You can insert a table several: Insert Table button This will open

More information

STAT 7000: Experimental Statistics I

STAT 7000: Experimental Statistics I STAT 7000: Experimental Statistics I 2. A Short SAS Tutorial Peng Zeng Department of Mathematics and Statistics Auburn University Fall 2009 Peng Zeng (Auburn University) STAT 7000 Lecture Notes Fall 2009

More information

APPENDIX 4 Migrating from QMF to SAS/ ASSIST Software. Each of these steps can be executed independently.

APPENDIX 4 Migrating from QMF to SAS/ ASSIST Software. Each of these steps can be executed independently. 255 APPENDIX 4 Migrating from QMF to SAS/ ASSIST Software Introduction 255 Generating a QMF Export Procedure 255 Exporting Queries from QMF 257 Importing QMF Queries into Query and Reporting 257 Alternate

More information

Chapter 6 Creating Reports. Chapter Table of Contents

Chapter 6 Creating Reports. Chapter Table of Contents Chapter 6 Creating Reports Chapter Table of Contents Introduction...115 Listing Data...115 ListDataOptions...116 List Data Titles...118 ListDataVariables...118 Example:CreateaListingReport...119 Creating

More information

SAS seminar. The little SAS book Chapters 3 & 4. April 15, Åsa Klint. By LD Delwiche and SJ Slaughter. 3.1 Creating and Redefining variables

SAS seminar. The little SAS book Chapters 3 & 4. April 15, Åsa Klint. By LD Delwiche and SJ Slaughter. 3.1 Creating and Redefining variables SAS seminar April 15, 2003 Åsa Klint The little SAS book Chapters 3 & 4 By LD Delwiche and SJ Slaughter Data step - read and modify data - create a new dataset - performs actions on rows Proc step - use

More information

Reporting from Base SAS Tips & Tricks. Fareeza Khurshed BC Cancer Agency

Reporting from Base SAS Tips & Tricks. Fareeza Khurshed BC Cancer Agency Reporting from Base SAS Tips & Tricks Fareeza Khurshed BC Cancer Agency Overview Index for large data Summarizing Data Getting Data to Excel Index Think of book index or library catalogue or search function

More information

Go Ahead and _BREAK_-down: Advanced COMPUTE Block Examples

Go Ahead and _BREAK_-down: Advanced COMPUTE Block Examples Paper SAS431-2017 Go Ahead and _BREAK_-down: Advanced COMPUTE Block Examples Cynthia Zender, SAS Institute Inc. ABSTRACT When you look at examples of the REPORT procedure, you see code that tests _BREAK_

More information

%MAKE_IT_COUNT: An Example Macro for Dynamic Table Programming Britney Gilbert, Juniper Tree Consulting, Porter, Oklahoma

%MAKE_IT_COUNT: An Example Macro for Dynamic Table Programming Britney Gilbert, Juniper Tree Consulting, Porter, Oklahoma Britney Gilbert, Juniper Tree Consulting, Porter, Oklahoma ABSTRACT Today there is more pressure on programmers to deliver summary outputs faster without sacrificing quality. By using just a few programming

More information

OS/390 SAS/MXG Computer Performance Reports in HTML Format

OS/390 SAS/MXG Computer Performance Reports in HTML Format Paper 153-29 E-Mail OS/390 SAS/MXG Computer Performance Reports in HTML Format ABSTRACT Neal Musitano Jr. Department of Veterans Affairs Information Technology Center Philadelphia, Pennsylvania This paper

More information

EXCEL 2003 DISCLAIMER:

EXCEL 2003 DISCLAIMER: EXCEL 2003 DISCLAIMER: This reference guide is meant for experienced Microsoft Excel users. It provides a list of quick tips and shortcuts for familiar features. This guide does NOT replace training or

More information

A Quick and Gentle Introduction to PROC SQL

A Quick and Gentle Introduction to PROC SQL ABSTRACT Paper B2B 9 A Quick and Gentle Introduction to PROC SQL Shane Rosanbalm, Rho, Inc. Sam Gillett, Rho, Inc. If you are afraid of SQL, it is most likely because you haven t been properly introduced.

More information

Processing SAS Data Sets

Processing SAS Data Sets Statistical Data Analysis 1 Processing SAS Data Sets Namhyoung Kim Dept. of Applied Statistics Gachon University nhkim@gachon.ac.kr 1 Using OUT Dataset OUTPUT Statement OUTPUT

More information

Beginning Tutorials. PROC FSEDIT NEW=newfilename LIKE=oldfilename; Fig. 4 - Specifying a WHERE Clause in FSEDIT. Data Editing

Beginning Tutorials. PROC FSEDIT NEW=newfilename LIKE=oldfilename; Fig. 4 - Specifying a WHERE Clause in FSEDIT. Data Editing Mouse Clicking Your Way Viewing and Manipulating Data with Version 8 of the SAS System Terry Fain, RAND, Santa Monica, California Cyndie Gareleck, RAND, Santa Monica, California ABSTRACT Version 8 of the

More information

APPENDIX 2 Customizing SAS/ASSIST Software

APPENDIX 2 Customizing SAS/ASSIST Software 241 APPENDIX 2 Customizing SAS/ASSIST Software Introduction 241 Setting User Profile Options 241 Creating an Alternate Menu Bar 243 Introduction This appendix describes how you can customize your SAS/ASSIST

More information

Create a SAS Program to create the following files from the PREC2 sas data set created in LAB2.

Create a SAS Program to create the following files from the PREC2 sas data set created in LAB2. Topics: Data step Subsetting Concatenation and Merging Reference: Little SAS Book - Chapter 5, Section 3.6 and 2.2 Online documentation Exercise I LAB EXERCISE The following is a lab exercise to give you

More information

Microsoft How to Series

Microsoft How to Series Microsoft How to Series Getting Started with EXCEL 2007 A B C D E F Tabs Introduction to the Excel 2007 Interface The Excel 2007 Interface is comprised of several elements, with four main parts: Office

More information

SAS Programming Basics

SAS Programming Basics SAS Programming Basics SAS Programs SAS Programs consist of three major components: Global statements Procedures Data steps SAS Programs Global Statements Procedures Data Step Notes Data steps and procedures

More information

Exam Questions A00-281

Exam Questions A00-281 Exam Questions A00-281 SAS Certified Clinical Trials Programmer Using SAS 9 Accelerated Version https://www.2passeasy.com/dumps/a00-281/ 1.Given the following data at WORK DEMO: Which SAS program prints

More information

DSCI 325: Handout 9 Sorting and Options for Printing Data in SAS Spring 2017

DSCI 325: Handout 9 Sorting and Options for Printing Data in SAS Spring 2017 DSCI 325: Handout 9 Sorting and Options for Printing Data in SAS Spring 2017 There are a handful of statements (TITLE, FOOTNOTE, WHERE, BY, etc.) that can be used in a wide variety of procedures. For example,

More information

Access Intermediate

Access Intermediate Access 2013 - Intermediate 103-134 Advanced Queries Quick Links Overview Pages AC124 AC125 Selecting Fields Pages AC125 AC128 AC129 AC131 AC238 Sorting Results Pages AC131 AC136 Specifying Criteria Pages

More information

KEYWORDS Metadata, macro language, CALL EXECUTE, %NRSTR, %TSLIT

KEYWORDS Metadata, macro language, CALL EXECUTE, %NRSTR, %TSLIT MWSUG 2017 - Paper BB15 Building Intelligent Macros: Driving a Variable Parameter System with Metadata Arthur L. Carpenter, California Occidental Consultants, Anchorage, Alaska ABSTRACT When faced with

More information

Get SAS sy with PROC SQL Amie Bissonett, Pharmanet/i3, Minneapolis, MN

Get SAS sy with PROC SQL Amie Bissonett, Pharmanet/i3, Minneapolis, MN PharmaSUG 2012 - Paper TF07 Get SAS sy with PROC SQL Amie Bissonett, Pharmanet/i3, Minneapolis, MN ABSTRACT As a data analyst for genetic clinical research, I was often working with familial data connecting

More information

Using SAS to Analyze CYP-C Data: Introduction to Procedures. Overview

Using SAS to Analyze CYP-C Data: Introduction to Procedures. Overview Using SAS to Analyze CYP-C Data: Introduction to Procedures CYP-C Research Champion Webinar July 14, 2017 Jason D. Pole, PhD Overview SAS overview revisited Introduction to SAS Procedures PROC FREQ PROC

More information

Statistics, Data Analysis & Econometrics

Statistics, Data Analysis & Econometrics ST009 PROC MI as the Basis for a Macro for the Study of Patterns of Missing Data Carl E. Pierchala, National Highway Traffic Safety Administration, Washington ABSTRACT The study of missing data patterns

More information

INTRODUCTION to SAS STATISTICAL PACKAGE LAB 3

INTRODUCTION to SAS STATISTICAL PACKAGE LAB 3 Topics: Data step Subsetting Concatenation and Merging Reference: Little SAS Book - Chapter 5, Section 3.6 and 2.2 Online documentation Exercise I LAB EXERCISE The following is a lab exercise to give you

More information

Beginning Tutorials. Introduction to SAS/FSP in Version 8 Terry Fain, RAND, Santa Monica, California Cyndie Gareleck, RAND, Santa Monica, California

Beginning Tutorials. Introduction to SAS/FSP in Version 8 Terry Fain, RAND, Santa Monica, California Cyndie Gareleck, RAND, Santa Monica, California Introduction to SAS/FSP in Version 8 Terry Fain, RAND, Santa Monica, California Cyndie Gareleck, RAND, Santa Monica, California ABSTRACT SAS/FSP is a set of procedures used to perform full-screen interactive

More information

Creating Multi-Sheet Excel Workbooks the Easy Way with SAS Vincent DelGobbo, SAS Institute Inc., Cary, NC

Creating Multi-Sheet Excel Workbooks the Easy Way with SAS Vincent DelGobbo, SAS Institute Inc., Cary, NC Paper HW09 Creating Multi-Sheet Excel Workbooks the Easy Way with SAS Vincent DelGobbo, SAS Institute Inc., Cary, NC ABSTRACT Transferring SAS data and analytical results between SAS and Microsoft Excel

More information

Getting Started. Custom Reports Software

Getting Started. Custom Reports Software Getting Started Custom Reports Software Custom Reports software Custom reporting The Custom Reports software lets you transfer quantitative results from Data Analysis into the Custom Reports spreadsheet

More information

From Manual to Automatic with Overdrive - Using SAS to Automate Report Generation Faron Kincheloe, Baylor University, Waco, TX

From Manual to Automatic with Overdrive - Using SAS to Automate Report Generation Faron Kincheloe, Baylor University, Waco, TX Paper 152-27 From Manual to Automatic with Overdrive - Using SAS to Automate Report Generation Faron Kincheloe, Baylor University, Waco, TX ABSTRACT This paper is a case study of how SAS products were

More information

Chapter 28 Saving and Printing Tables. Chapter Table of Contents SAVING AND PRINTING TABLES AS OUTPUT OBJECTS OUTPUT OBJECTS...

Chapter 28 Saving and Printing Tables. Chapter Table of Contents SAVING AND PRINTING TABLES AS OUTPUT OBJECTS OUTPUT OBJECTS... Chapter 28 Saving and Printing Tables Chapter Table of Contents SAVING AND PRINTING TABLES AS OUTPUT OBJECTS...418 OUTPUT OBJECTS...422 415 Part 2. Introduction 416 Chapter 28 Saving and Printing Tables

More information

Final Exam. STT 305 Summer 2017

Final Exam. STT 305 Summer 2017 Final Exam STT 305 Summer 2017 Question 1 For the text file and code given at the right, which is the correct data set? Answer A Here Answer B Here Figure Answer C Here No data set is produced, the input

More information

Combining TLFs into a Single File Deliverable William Coar, Axio Research, Seattle, WA

Combining TLFs into a Single File Deliverable William Coar, Axio Research, Seattle, WA PharmaSUG 2016 - Paper HT06 Combining TLFs into a Single File Deliverable William Coar, Axio Research, Seattle, WA ABSTRACT In day-to-day operations of a Biostatistics and Statistical Programming department,

More information

I AlB 1 C 1 D ~~~ I I ; -j-----; ;--i--;--j- ;- j--; AlB

I AlB 1 C 1 D ~~~ I I ; -j-----; ;--i--;--j- ;- j--; AlB PROC TABULATE: CONTROLLNG TABLE APPEARANCE August V. Treff Baltimore City Public Schools Office of Research and Evaluation ABSTRACT Proc Tabulate provides one, two, and three dimensional tables. Tables

More information

SAS Web Report Studio 3.1

SAS Web Report Studio 3.1 SAS Web Report Studio 3.1 User s Guide SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2006. SAS Web Report Studio 3.1: User s Guide. Cary, NC: SAS

More information

Get into the Groove with %SYSFUNC: Generalizing SAS Macros with Conditionally Executed Code

Get into the Groove with %SYSFUNC: Generalizing SAS Macros with Conditionally Executed Code Get into the Groove with %SYSFUNC: Generalizing SAS Macros with Conditionally Executed Code Kathy Hardis Fraeman, United BioSource Corporation, Bethesda, MD ABSTRACT %SYSFUNC was originally developed in

More information

CHRIST THE KING BOYS MATRIC HR. SEC. SCHOOL, KUMBAKONAM CHAPTER 2 TEXT FORMATTING

CHRIST THE KING BOYS MATRIC HR. SEC. SCHOOL, KUMBAKONAM CHAPTER 2 TEXT FORMATTING CHAPTER 2 TEXT FORMATTING 1. Explain how to create a Bulleted and Numbered List in Star Office Writer? One way to create a list of points or topics in a document is to create a bulleted list. A bullet

More information

Report Writing, SAS/GRAPH Creation, and Output Verification using SAS/ASSIST Matthew J. Becker, ST TPROBE, inc., Ann Arbor, MI

Report Writing, SAS/GRAPH Creation, and Output Verification using SAS/ASSIST Matthew J. Becker, ST TPROBE, inc., Ann Arbor, MI Report Writing, SAS/GRAPH Creation, and Output Verification using SAS/ASSIST Matthew J. Becker, ST TPROBE, inc., Ann Arbor, MI Abstract Since the release of SAS/ASSIST, SAS has given users more flexibility

More information

Ditch the Data Memo: Using Macro Variables and Outer Union Corresponding in PROC SQL to Create Data Set Summary Tables Andrea Shane MDRC, Oakland, CA

Ditch the Data Memo: Using Macro Variables and Outer Union Corresponding in PROC SQL to Create Data Set Summary Tables Andrea Shane MDRC, Oakland, CA ABSTRACT Ditch the Data Memo: Using Macro Variables and Outer Union Corresponding in PROC SQL to Create Data Set Summary Tables Andrea Shane MDRC, Oakland, CA Data set documentation is essential to good

More information

Maximizing Statistical Interactions Part II: Database Issues Provided by: The Biostatistics Collaboration Center (BCC) at Northwestern University

Maximizing Statistical Interactions Part II: Database Issues Provided by: The Biostatistics Collaboration Center (BCC) at Northwestern University Maximizing Statistical Interactions Part II: Database Issues Provided by: The Biostatistics Collaboration Center (BCC) at Northwestern University While your data tables or spreadsheets may look good to

More information

Run your reports through that last loop to standardize the presentation attributes

Run your reports through that last loop to standardize the presentation attributes PharmaSUG2011 - Paper TT14 Run your reports through that last loop to standardize the presentation attributes Niraj J. Pandya, Element Technologies Inc., NJ ABSTRACT Post Processing of the report could

More information

WHO STEPS Surveillance Support Materials. STEPS Epi Info Training Guide

WHO STEPS Surveillance Support Materials. STEPS Epi Info Training Guide STEPS Epi Info Training Guide Department of Chronic Diseases and Health Promotion World Health Organization 20 Avenue Appia, 1211 Geneva 27, Switzerland For further information: www.who.int/chp/steps WHO

More information

Word Tutorial 3. Creating a Multiple- Page Report COMPREHENSIVE

Word Tutorial 3. Creating a Multiple- Page Report COMPREHENSIVE Word Tutorial 3 Creating a Multiple- Page Report COMPREHENSIVE Objectives Format headings with Quick Styles Insert a manual page break Create and edit a table Sort rows in a table Modify a table s structure

More information

Chapter 7 File Access. Chapter Table of Contents

Chapter 7 File Access. Chapter Table of Contents Chapter 7 File Access Chapter Table of Contents OVERVIEW...105 REFERRING TO AN EXTERNAL FILE...105 TypesofExternalFiles...106 READING FROM AN EXTERNAL FILE...107 UsingtheINFILEStatement...107 UsingtheINPUTStatement...108

More information

Create Custom Tables in No Time

Create Custom Tables in No Time PASW Custom Tables 18 Create Custom Tables in No Time Easily analyze data and communicate your results with PASW Custom Tables Show the results of analyses clearly and quickly You often report the results

More information

PharmaSUG Paper AD21

PharmaSUG Paper AD21 PharmaSUG2010 - Paper AD21 Operational Uses of Patient Profiles Even in an ectd and SDTM World Terek Peterson, Octagon Research Solutions, Wayne, PA Sanjiv Ramalingam, Octagon Research Solutions, Wayne,

More information

Microsoft Excel 2010 Tutorial

Microsoft Excel 2010 Tutorial 1 Microsoft Excel 2010 Tutorial Excel is a spreadsheet program in the Microsoft Office system. You can use Excel to create and format workbooks (a collection of spreadsheets) in order to analyze data and

More information

Getting Your Data into SAS The Basics. Math 3210 Dr. Zeng Department of Mathematics California State University, Bakersfield

Getting Your Data into SAS The Basics. Math 3210 Dr. Zeng Department of Mathematics California State University, Bakersfield Getting Your Data into SAS The Basics Math 3210 Dr. Zeng Department of Mathematics California State University, Bakersfield Outline Getting data into SAS -Entering data directly into SAS -Creating SAS

More information

Introduction Microsoft Word CMPE 101 Fundamentals of Computer Engineering EXPERIMENT - 1

Introduction Microsoft Word CMPE 101 Fundamentals of Computer Engineering EXPERIMENT - 1 CMPE 101 EXPERIMENT 1 * INTRODUCTION TO MICROSOFT WORD AND EXCEL Aims 1. Getting used to the Graphical User Interface (GUI) of Windows Operating Systems. 2. Understanding how word processors work and developing

More information