Utilizing the VNAME SAS function in restructuring data files
|
|
- Blake Harris
- 6 years ago
- Views:
Transcription
1 AD13 Utilizing the VNAME SAS function in restructuring data files Mirjana Stojanovic, Duke University Medical Center, Durham, NC Donna Niedzwiecki, Duke University Medical Center, Durham, NC ABSTRACT Format conversion of data files is a day to day activity in almost all organizations. Files of different types are received and often variable names are descriptive or even include data values, for example, dosing cycle number or day of treatment. Frequently these files are Excel files. SAS provides XMLMap and SAS code specific to Excel to load the Excel XML directly into SAS tables. After conversion of Excel files to SAS data sets using the %XLXP2SAS macro the VNAME function was applied to extract relevant data from variable names. Final data sets were in a format ready for statistical analysis. This paper will illustrate the combined use of a new feature in SAS v9 (the %XLXP2SAS macro), and an older SAS feature (the VNAME function/call routine) to create the final data sets. For this operation you need to have Microsoft Excel 2002 or INTRODUCTION Data from clinical trials, surveys, research and other activities can be collected in various ways and using different input devices. Data files can be text files, MS Excel spread sheets, MS Access data bases, fixed length text files, text files with comma or tab delimited values, or files with other structures. Analysis variables may sometimes be included in these files as column names. In this paper we describe how data can be extracted from the column names of an Excel file and converted into a SAS data file. The paper is composed of four parts. First, we describe the Excel file and the desired SAS data structure after transformation of the Excel files to SAS data sets. We also explain the advantages of using the %XLXP2SAS macro in the conversion process. Second, we illustrate the benefits of using the VNAME function. Third, we present the restructuring of the data files using the combination of the %XLXP2SAS macro and the VNAME function. An example of the code is given in part four. DATA FILE STRUCTURE BIomarker measurements on patients for several treatment cycles and days within treatment cycles were received in an Excel file. The file contained one row and n columns per patient with the name of the biomarker and the associated cycle and day of the measurement as part of each of n-1 column headings. One column contained a patient ID. For data analysis using PROC MIXED the file needed to be restructured with 4 columns (ID, cycle, day, biomarker) and n-1 rows (observations) per patient, one for each cycle, day pair. Example of input Excel file (all values are hypothetical).
2 Example of output SAS data set after restructuring and resorting. In this example, three SAS data variables were defined from each Excel file column name, cycle, day and biomarker. However, there is no limitation to using this approach in converting larger numbers of SAS variables, for example, adding, data collection site, treatment regimen, etc). SAS V9 MACRO %XLXP2SAS %XLXP2SAS is a SAS V9 macro designed, together with SAS XMLMap, specifically for Excel XML data by SAS Institute. XML is an acronym for Extensible Markup Language, and represents a way to define and format data for easy exchange. An XML file is similar to an HTML file. It provides an automatic way to import multiple Excel worksheets with SAS supported by the SAS XML LIBNAME Engine (SXLE) and the SAS XMLMap. This operation is available for Microsoft Excel 2002 or later versions since the Excel file must be saved as an XML file before conversion into a SAS data set with the macro, and only Excel 2002 and later versions support saving Excel spreadsheets in XML format. In order to use this macro for Excel file conversion to a SAS data set you must save the SAS XMLMap in a file named ExcelXP.map and the SAS macro named XLXP2SAS for loading the XML data in a file named LoadXL.sas. Both files should be in the same folder. A detailed explanation is given in (1. To download the SAS macro and SAS XMLMap, go to the SAS Presents Web Site at support.sas.com/saspresents and find the entry Creating AND Importing Multi-Sheet Excel Workbooks the Easy Way with SAS. The entire process is very simple. You only need to define two separate locations for program/macro and data. The next step is to convert the Excel file to the XML version. The code described below requires an XML file as input. To import the workbook into SAS, we submitted the following code with the appropriate directory paths: libname mylib "C:\StudyXXX\sasprogs\";
3 libname db " C:\StudyXXX \sasfiles\"; %include " C:\StudyXXX \LoadXL.sas"; %xlxp2sas(excelfile =PHARMA Raw data-biom1.xml, mapfile = ExcelXP.map, library=mylib); The %include statement makes the XLXP2SAS macro available to SAS. The %XLXP2SAS statement imports the data from all the worksheets into separate SAS tables. By default, the SAS tables are created in the WORK library. You can control which library is used to store the SAS tables by specifying the LIBRARY argument in the XLXP2SAS macro. For example, to store the tables in the SASUSER library, submit this code: %xlxp2sas(excelfile=mydata.xml, mapfile=excelxp.map, library=sasuser); In the conversion of Excel Column Labels to SAS Column Names, the name of the worksheet (for example, "PHARMA_BIOM1_Flow_Data") is used as the SAS table name. The SAS XML Libname Engine, SAS XMLMaps, and the XLXP2SAS macro greatly simplify the task of moving Excel XML-formatted data into SAS. VNAME FUNCTION The VNAME function (2,3,4,5) returns the name attribute of a variable. This function belongs to group of variable information functions, together with VTYPE, VLABEL, and VLENGTH etc. Also, the VNAME function returns the name of a SAS variable when a specific array element is referenced. Syntax: NewVar = VNAME (OldVar); NewVar variable is a string variable and its content is OldVar. By using a LENGTH statement we can allocate length to the new variable. The length of the variable should be equal to the longest variable name or to 32 characters. Otherwise SAS will allocate a length of 200 characters which is unnecessary because the longest variable name allowable in SAS V8 and above is 32 characters. By utilizing the VNAME function we achieved a simple, reliable and straightforward solution. Simple few coding statements. Reliable we get exactly what we expect to get. Straightforward -- the program is easy to understand and maintain. PROGRAM DESIGN Requirements: Content of the final SAS datafile should be PATID, CYCLE, DAY, and Biomarker (BIOM1). Composition of variable names in the Excel file was CaDb_BIOM1 where value of a denotes CYCLE number and value of b denotes DAY number. Steps in program design. Keep necessary variables only. Convert variable names to variable values (separate set of variables) by using the VNAME function. Determine the value of the variable, CYCLE. Determine the value of the variable, DAY. Assign values for the biomarker variable (eg., BIOM1) from the corresponding Excel variable (converted to a SAS variable). Output the observation to newly-created SAS data set.
4 EXAMPLE The following code is an example of a complete program that performs the tasks outlined above. *Converting Excel file to SAS data set by using %XLXP2SAS sas macro; libname mylib "C:\StudyXXX\PHARMA_BIOM1\"; %include ' C:\StudyXXX\LoadXL.sas'; %xlxp2sas(excelfile =PHARMA Raw data-biom1.xml, mapfile = ExcelXP.map, library=mylib); * At this point SAS image of input Excel file was generated ; * For QC purpose only ; proc print data=mylib.pharma_biom1_flow_data ; title "Print mylib.pharma_biom1_flow_data" ; run; * First data step in the program removes complete blank rows from data set and converts variable names ; * to variable values (into separate variables newvar1 to newvar23) by using VNAME Function ; data PHARMA_BIOM1 ; set mylib.pharma_biom1_flow_data(keep=patient C1D1_BIOM1 C1D2_BIOM1_ C1D3_BIOM1 C1D4_BIOM1 C3D1_BIOM1 C3D2_BIOM1 C3D3_BIOM1 C3D4_BIOM1 C6D1_BIOM1 C6D2_BIOM1 C6D3_BIOM1 C6D4_BIOM1 C12D1_BIOM1 C12D2_BIOM1 C12D3_BIOM1 C12D4_BIOM1 C60D1_BIOM1 C60D2_BIOM1 C64D1_BIOM1 C64D2_BIOM1 C69D1_BIOM1 C70D1_BIOM1 C70D2_BIOM1 rename =(patient=patid)) ; array newv(23) $25 newvar1 - newvar23 ; retain newvar1 - newvar23 ; array origv(*) C1D1_BIOM1 C1D2_BIOM1_ C1D3_BIOM1 C1D4_BIOM1 C3D1_BIOM1 C3D2_BIOM1 C3D3_BIOM1 C3D4_BIOM1 C6D1_BIOM1 C6D2_BIOM1 C6D3_BIOM1 C6D4_BIOM1 C12D1_BIOM1 C12D2_BIOM1 C12D3_BIOM1 C12D4_BIOM1 C60D1_BIOM1 C60D2_BIOM1 C64D1_BIOM1 C64D2_BIOM1 C69D1_BIOM1 C70D1_BIOM1 C70D2_BIOM1 ; * By using the RETAIN statement we apply VNAME function once per each variable only ; if _N_ = 1 then do ; do i = 1 to dim(origv) ; newv(i) = vname(origv(i)) ; end ; end ; if patid = ' ' then delete ; * Removing blank lines from conversion ; drop i ; * Second data step in the program determines values for CYCLE, DAY, and BIOM1 from newvar1 to newvar23; data mylib.pharma_biom1(keep=patid CYCLE DAY BIOM1) ; set PHARMA_BIOM1 ; array newvar(23) $25 newvar1 - newvar23 ; array origv(*) C1D1_BIOM1 C1D2_BIOM1_ C1D3_BIOM1 C1D4_BIOM1 C3D1_BIOM1 C3D2_BIOM1 C3D3_BIOM1 C3D4_BIOM1 C6D1_BIOM1 C6D2_BIOM1 C6D3_BIOM1 C6D4_BIOM1 C12D1_BIOM1 C12D2_BIOM1 C12D3_BIOM1 C12D4_BIOM1 C60D1_BIOM1 C60D2_BIOM1 C64D1_BIOM1 C64D2_BIOM1 C69D1_BIOM1 C70D1_BIOM1 C70D2_BIOM1 ; do i = 1 to dim(origv) ; Determining value for CYCLE. ;
5 positiond = index(newvar(i),'d') ; * Determining position of letter 'D' in variable name ; length CycleCHAR $ 2 ; *Auxilliary variable for cycle ; if positiond = 3 then CycleCHAR = substr(newvar(i), positiond-1, positiond-2); else if positiond = 4 then CycleCHAR = substr(newvar(i), positiond-2, positiond-2); CYCLE = input(cyclechar, 2.) ; * Determining value for variable DAY ; DAY = input(substr(newvar(i), positiond+1, 1), 1.) ; * Assigning value for BIOM1 from corresponding member in array ; BIOM1 = origv(i) ; output ; end ; proc contents data=mylib.pharma_biom1 ; title "Final file" ; proc freq data=mylib.pharma_biom1 ; tables CYCLE DAY BIOM1 / missing list ; proc print data=mylib.pharma_biom1 (obs=92) ; title "Print of Final file" ; Program flow diagram We used complementsoft ASAP software (6) to visualize SAS code presented in this paper for better understanding. The ASAP software parses the submitted SAS source code. It also resolves each procedure step and data step and generates graphical view of SAS code. Checking of each procedure is simple by clicking on the corresponding icon. A Data flow diagram (not presented here) provides an exact graphical presentation of the results of each Proc step. Using this tool the user can instantly see all inputs and outputs from each procedure as well as from data steps.
6 CONCLUSION Excel files can be easily converted to SAS data files using the %XLXP2SAS macro in SAS V9. The VNAME function enables the conversion of Excel column names into SAS data. REFERENCES 1. Delgobbo Vincent, Creating AND Importing Multi-Sheet Excel Workbooks the Easy Way with SAS, PharmaSUG 2006, HW08, Bonita Springs, FL 2. Cody Ronn, SAS Functions by Example, SAS Institute, 2006, Cary, NC 3. DiIorio Frank C, Understanding and Using Functions, 4. Carpenter Art, Carpenter s Guide to SAS Macro Language, Second edition, SAS Institute, 2004, Cary, NC 5.First Steven, Hidden Gems in the SAS System, 6. ComplementSoft ASAP, CONTACT INFORMATION Your comments and questions are valued and encouraged. Contact the authors at: Mirjana Stojanovic Donna Niedzwiecki Duke University Medical Center Duke University Medical Center Durham, NC, Durham, NC, mirjana.stojanovic@duke.edu donna.niedzwiecki@duke.edu TRADEMARK INFORMATION SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. indicates USA registration. Other brand and product names are trademarks of their respective companies.
Application of Modular Programming in Clinical Trial Environment Mirjana Stojanovic, CALGB - Statistical Center, DUMC, Durham, NC
PharmaSUG2010 - Paper PO08 Application of Modular Programming in Clinical Trial Environment Mirjana Stojanovic, CALGB - Statistical Center, DUMC, Durham, NC ABSTRACT This paper describes a modular approach
More informationCreating AND Importing Multi-Sheet Excel Workbooks the Easy Way with SAS
Paper HW05 Creating AND Importing Multi-Sheet Excel Workbooks the Easy Way with SAS Vincent DelGobbo, SAS Institute Inc., Cary, NC ABSTRACT Transferring data and analytical results between SAS and Microsoft
More informationMoving Data and Analytical Results between SAS and Microsoft Office
Paper HW05_05 Moving Data and Analytical Results between SAS and Microsoft Office Vincent DelGobbo, SAS Institute Inc., Cary, NC ABSTRACT Transferring data between SAS and Microsoft Office can be difficult,
More informationMoving Data and Analytical Results between SAS and Microsoft Office
Paper #HW06 Moving Data and Analytical Results between SAS and Microsoft Office Vincent DelGobbo, SAS Institute Inc., Cary, NC ABSTRACT Transferring data between SAS and Microsoft Office can be difficult,
More informationUtilizing the Stored Compiled Macro Facility in a Multi-user Clinical Trial Setting
Paper AD05 Utilizing the Stored Compiled Macro Facility in a Multi-user Clinical Trial Setting Mirjana Stojanovic, Duke University Medical Center, Durham, NC Dorothy Watson, Duke University Medical Center,
More informationCDISC Variable Mapping and Control Terminology Implementation Made Easy
PharmaSUG2011 - Paper CD11 CDISC Variable Mapping and Control Terminology Implementation Made Easy Balaji Ayyappan, Ockham Group, Cary, NC Manohar Sure, Ockham Group, Cary, NC ABSTRACT: CDISC SDTM (Study
More informationExporting Variable Labels as Column Headers in Excel using SAS Chaitanya Chowdagam, MaxisIT Inc., Metuchen, NJ
Paper 74924-2011 Exporting Variable Labels as Column Headers in Excel using SAS Chaitanya Chowdagam, MaxisIT Inc., Metuchen, NJ ABSTRACT Excel output is the desired format for most of the ad-hoc reports
More informationET01. LIBNAME libref <engine-name> <physical-file-name> <libname-options>; <SAS Code> LIBNAME libref CLEAR;
ET01 Demystifying the SAS Excel LIBNAME Engine - A Practical Guide Paul A. Choate, California State Developmental Services Carol A. Martell, UNC Highway Safety Research Center ABSTRACT This paper is a
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 informationUse mail merge to create and print letters and other documents
Use mail merge to create and print letters and other documents Contents Use mail merge to create and print letters and other documents... 1 Set up the main document... 1 Connect the document to a data
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 informationSAS Clinical Data Integration 2.6
SAS Clinical Data Integration 2.6 User s Guide SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2015. SAS Clinical Data Integration 2.6: User's Guide.
More informationIt s not the Yellow Brick Road but the SAS PC FILES SERVER will take you Down the LIBNAME PATH= to Using the 64-Bit Excel Workbooks.
Paper FP_82 It s not the Yellow Brick Road but the SAS PC FILES SERVER will take you Down the LIBNAME PATH= to Using the 64-Bit Excel Workbooks. ABSTRACT William E Benjamin Jr, Owl Computer Consultancy,
More informationAutomated Checking Of Multiple Files Kathyayini Tappeta, Percept Pharma Services, Bridgewater, NJ
PharmaSUG 2015 - Paper QT41 Automated Checking Of Multiple Files Kathyayini Tappeta, Percept Pharma Services, Bridgewater, NJ ABSTRACT Most often clinical trial data analysis has tight deadlines with very
More informationSAS Visual Analytics 7.3 for SAS Cloud: Onboarding Guide
SAS Visual Analytics 7.3 for SAS Cloud: Onboarding Guide Introduction This onboarding guide covers tasks that account administrators need to perform to set up SAS Visual Statistics and SAS Visual Analytics
More informationSAS Clinical Data Integration 2.4
SAS Clinical Data Integration 2.4 User s Guide SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2013. SAS Clinical Data Integration 2.4: User's Guide.
More informationLST in Comparison Sanket Kale, Parexel International Inc., Durham, NC Sajin Johnny, Parexel International Inc., Durham, NC
ABSTRACT PharmaSUG 2013 - Paper PO01 LST in Comparison Sanket Kale, Parexel International Inc., Durham, NC Sajin Johnny, Parexel International Inc., Durham, NC The need for producing error free programming
More informationSo, Your Data are in Excel! Ed Heaton, Westat
Paper AD02_05 So, Your Data are in Excel! Ed Heaton, Westat Abstract You say your customer sent you the data in an Excel workbook. Well then, I guess you'll have to work with it. This paper will discuss
More informationReal Time Clinical Trial Oversight with SAS
PharmaSUG 2017 - Paper DA01 Real Time Clinical Trial Oversight with SAS Ashok Gunuganti, Trevena ABSTRACT A clinical trial is an expensive and complex undertaking with multiple teams working together to
More informationRun 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 informationINTRODUCTION TO SAS HOW SAS WORKS READING RAW DATA INTO SAS
TO SAS NEED FOR SAS WHO USES SAS WHAT IS SAS? OVERVIEW OF BASE SAS SOFTWARE DATA MANAGEMENT FACILITY STRUCTURE OF SAS DATASET SAS PROGRAM PROGRAMMING LANGUAGE ELEMENTS OF THE SAS LANGUAGE RULES FOR SAS
More informationQuality 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 informationSAS Clinical Data Integration Server 2.1
SAS Clinical Data Integration Server 2.1 User s Guide Preproduction Documentation THIS DOCUMENT IS A PREPRODUCTION DRAFT AND IS PROVIDED BY SAS INSTITUTE INC. ON AN AS IS BASIS WITHOUT WARRANTY OF ANY
More informationWhat to Expect When You Need to Make a Data Delivery... Helpful Tips and Techniques
What to Expect When You Need to Make a Data Delivery... Helpful Tips and Techniques Louise Hadden, Abt Associates Inc. QUESTIONS YOU SHOULD ASK REGARDING THE PROJECT Is there any information regarding
More informationSAS Drug Development Program Portability
PharmaSUG2011 Paper SAS-AD03 SAS Drug Development Program Portability Ben Bocchicchio, SAS Institute, Cary NC, US Nancy Cole, SAS Institute, Cary NC, US ABSTRACT A Roadmap showing how SAS code developed
More informationSubmission-Ready Define.xml Files Using SAS Clinical Data Integration Melissa R. Martinez, SAS Institute, Cary, NC USA
PharmaSUG 2016 - Paper SS12 Submission-Ready Define.xml Files Using SAS Clinical Data Integration Melissa R. Martinez, SAS Institute, Cary, NC USA ABSTRACT SAS Clinical Data Integration simplifies the
More informationTips and Tricks for Creating Multi-Sheet Microsoft Excel Workbooks the Easy Way with SAS. Vincent DelGobbo, SAS Institute Inc.
Tips and Tricks for Creating Multi-Sheet Microsoft Excel Workbooks the Easy Way with SAS Vincent DelGobbo, SAS Institute Inc., Cary, NC ABSTRACT Transferring SAS data and analytical results between SAS
More informationLocking SAS Data Objects
59 CHAPTER 5 Locking SAS Data Objects Introduction 59 Audience 60 About the SAS Data Hierarchy and Locking 60 The SAS Data Hierarchy 60 How SAS Data Objects Are Accessed and Used 61 Types of Locks 62 Locking
More informationTales from the Help Desk 6: Solutions to Common SAS Tasks
SESUG 2015 ABSTRACT Paper BB-72 Tales from the Help Desk 6: Solutions to Common SAS Tasks Bruce Gilsen, Federal Reserve Board, Washington, DC In 30 years as a SAS consultant at the Federal Reserve Board,
More informationAn Efficient Tool for Clinical Data Check
PharmaSUG 2018 - Paper AD-16 An Efficient Tool for Clinical Data Check Chao Su, Merck & Co., Inc., Rahway, NJ Shunbing Zhao, Merck & Co., Inc., Rahway, NJ Cynthia He, Merck & Co., Inc., Rahway, NJ ABSTRACT
More informationRxWorks Create-Your-Own Supplier Price Catalog Update
RxWorks 4.6 - Create-Your-Own Supplier Price Catalog Update RxWorks has always had the ability to import price update files from suppliers that are part of the e-commerce module. However, manual price
More informationDownload Instructions
Download Instructions The download page provides several options for importing data back into your applications. The Excel template will automatically format the data within the commadelimited file. The
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 informationOne Project, Two Teams: The Unblind Leading the Blind
ABSTRACT PharmaSUG 2017 - Paper BB01 One Project, Two Teams: The Unblind Leading the Blind Kristen Reece Harrington, Rho, Inc. In the pharmaceutical world, there are instances where multiple independent
More informationSyntax Conventions for SAS Programming Languages
Syntax Conventions for SAS Programming Languages SAS Syntax Components Keywords A keyword is one or more literal name components of a language element. Keywords are uppercase, and in reference documentation,
More informationCMISS the SAS Function You May Have Been MISSING Mira Shapiro, Analytic Designers LLC, Bethesda, MD
ABSTRACT SESUG 2016 - RV-201 CMISS the SAS Function You May Have Been MISSING Mira Shapiro, Analytic Designers LLC, Bethesda, MD Those of us who have been using SAS for more than a few years often rely
More informationMicrosoft Office Excel Create a worksheet group. A worksheet group. Tutorial 6 Working With Multiple Worksheets and Workbooks
Microsoft Office Excel 2003 Tutorial 6 Working With Multiple Worksheets and Workbooks 1 Create a worksheet group A workbook is a collection of worksheets. You may want to work with the worksheets within
More informationBaSICS OF excel By: Steven 10.1
BaSICS OF excel By: Steven 10.1 Workbook 1 workbook is made out of spreadsheet files. You can add it by going to (File > New Workbook). Cell Each & every rectangular box in a spreadsheet is referred as
More informationCreate Metadata Documentation using ExcelXP
Paper AD13 Create Metadata Documentation using ExcelXP Christine Teng, Merck Research Labs, Merck & Co., Inc., Rahway, NJ ABSTRACT The purpose of the metadata documentation is two-fold. First, it facilitates
More informationJourney to the center of the earth Deep understanding of SAS language processing mechanism Di Chen, SAS Beijing R&D, Beijing, China
Journey to the center of the earth Deep understanding of SAS language processing Di Chen, SAS Beijing R&D, Beijing, China ABSTRACT SAS is a highly flexible and extensible programming language, and a rich
More informationStructured Solutions Inc. Tools MS Project to Excel Export/Import Tools
Structured Solutions Inc. Tools MS Project to Excel Export/Import Tools This Macro Enabled Excel workbook contains a collection of useful tools that enables the user to Get, Post or Lookup data from MS
More informationDSCI 325: Handout 2 Getting Data into SAS Spring 2017
DSCI 325: Handout 2 Getting Data into SAS Spring 2017 Data sets come in many different formats. In some situations, data sets are stored on paper (e.g., surveys) and other times data are stored in huge
More informationPaper HOW-06. Tricia Aanderud, And Data Inc, Raleigh, NC
Paper HOW-06 Building Your First SAS Stored Process Tricia Aanderud, And Data Inc, Raleigh, NC ABSTRACT Learn how to convert a simple SAS macro into three different stored processes! Using examples from
More informationAn Introduction to SAS/SHARE, By Example
Paper AD01 An Introduction to SAS/SHARE, By Example Larry Altmayer, U.S. Census Bureau, Washington, DC ABSTRACT SAS/SHARE software is a useful tool for allowing several users to access and edit the same
More informationCEU Online System, The Friday Center for Continuing Education, UNC-Chapel Hill How to Obtain Participant IDs for Awarding of CEUs
The Friday Center for Continuing Education has the responsibility of approving continuing education activities for which CEUs are recorded and maintained as a permanent record for individual participants.
More informationHidden in plain sight: my top ten underpublicized enhancements in SAS Versions 9.2 and 9.3
Hidden in plain sight: my top ten underpublicized enhancements in SAS Versions 9.2 and 9.3 Bruce Gilsen, Federal Reserve Board, Washington, DC ABSTRACT SAS Versions 9.2 and 9.3 contain many interesting
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 informationAssessing superiority/futility in a clinical trial: from multiplicity to simplicity with SAS
PharmaSUG2010 Paper SP10 Assessing superiority/futility in a clinical trial: from multiplicity to simplicity with SAS Phil d Almada, Duke Clinical Research Institute (DCRI), Durham, NC Laura Aberle, Duke
More informationFall 2012 OASUS Questions and Answers
Fall 2012 OASUS Questions and Answers The following answers are provided to the benefit of the OASUS Users Group and are not meant to replace SAS Technical Support. Also, an Enterprise Guide project is
More informationChapter 2: Getting Data Into SAS
Chapter 2: Getting Data Into SAS Data stored in many different forms/formats. Four categories of ways to read in data. 1. Entering data directly through keyboard 2. Creating SAS data sets from raw data
More informationCreating and Executing Stored Compiled DATA Step Programs
465 CHAPTER 30 Creating and Executing Stored Compiled DATA Step Programs Definition 465 Uses for Stored Compiled DATA Step Programs 465 Restrictions and Requirements 466 How SAS Processes Stored Compiled
More informationUsing Excel 2011 at Kennesaw State University
Using Excel 2011 at Kennesaw State University Getting Started Information Technology Services Outreach and Distance Learning Technologies Copyright 2011 - Information Technology Services Kennesaw State
More informationApril 4, SAS General Introduction
PP 105 Spring 01-02 April 4, 2002 SAS General Introduction TA: Kanda Naknoi kanda@stanford.edu Stanford University provides UNIX computing resources for its academic community on the Leland Systems, which
More informationExchanging data between SAS and Microsoft Excel
Paper CC 011 Exchanging data between SAS and Microsoft Excel Yuqing Xiao, Southern Company, Atlanta, GA ABSTRACT Transferring data between SAS and Microsoft Excel has gained popularity over the years.
More informationExcel 101. DJ Wetzel Director of Financial Aid Greenville Technical College
Excel 101 DJ Wetzel Director of Financial Aid Greenville Technical College Introduction Spreadsheets are made up of : Columns identified with alphabetic headings Rows - identified with numeric headings.
More informationSAS Business Rules Manager 1.2
SAS Business Rules Manager 1.2 User s Guide Second Edition SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2012. SAS Business Rules Manager 1.2. Cary,
More informationPharmaSUG Paper TT11
PharmaSUG 2014 - Paper TT11 What is the Definition of Global On-Demand Reporting within the Pharmaceutical Industry? Eric Kammer, Novartis Pharmaceuticals Corporation, East Hanover, NJ ABSTRACT It is not
More informationDBLOAD Procedure Reference
131 CHAPTER 10 DBLOAD Procedure Reference Introduction 131 Naming Limits in the DBLOAD Procedure 131 Case Sensitivity in the DBLOAD Procedure 132 DBLOAD Procedure 132 133 PROC DBLOAD Statement Options
More informationCreating Zillions of Labels (and Other Documents) the Easy Way with ODS and Microsoft Word
Creating Zillions of Labels (and Other Documents) the Easy Way with ODS and Microsoft Word Vincent DelGobbo, SAS Institute Inc., Cary, NC ABSTRACT This paper provides a quick and easy way to generate address
More informationSAS Data Libraries. Definition CHAPTER 26
385 CHAPTER 26 SAS Data Libraries Definition 385 Library Engines 387 Library Names 388 Physical Names and Logical Names (Librefs) 388 Assigning Librefs 388 Associating and Clearing Logical Names (Librefs)
More information2. create the workbook file
2. create the workbook file Excel documents are called workbook files. A workbook can include multiple sheets of information. Excel supports two kinds of sheets for working with data: Worksheets, which
More informationExcel window. This will open the Tools menu. Select. from this list, Figure 3. This will launch a window that
Getting Started with the Superpave Calculator worksheet. The worksheet containing the Superpave macros must be copied onto the computer. The user can place the worksheet in any desired directory or folder.
More informationUsing GSUBMIT command to customize the interface in SAS Xin Wang, Fountain Medical Technology Co., ltd, Nanjing, China
PharmaSUG China 2015 - Paper PO71 Using GSUBMIT command to customize the interface in SAS Xin Wang, Fountain Medical Technology Co., ltd, Nanjing, China One of the reasons that SAS is widely used as the
More informationThe Impossible An Organized Statistical Programmer Brian Spruell and Kevin Mcgowan, SRA Inc., Durham, NC
Paper CS-061 The Impossible An Organized Statistical Programmer Brian Spruell and Kevin Mcgowan, SRA Inc., Durham, NC ABSTRACT Organization is the key to every project. It provides a detailed history of
More informationEQuIS Data Processor (EDP) User Manual
EQuIS Data Processor (EDP) User Manual Introduction EQuIS Data Processor (EDP) Introduction The EQuIS Data Processor, or EDP, is today s answer to the many data quality issues that plague data managers.
More informationQuick and Efficient Way to Check the Transferred Data Divyaja Padamati, Eliassen Group Inc., North Carolina.
ABSTRACT PharmaSUG 2016 - Paper QT03 Quick and Efficient Way to Check the Transferred Data Divyaja Padamati, Eliassen Group Inc., North Carolina. Consistency, quality and timelines are the three milestones
More information186 Statistics, Data Analysis and Modeling. Proceedings of MWSUG '95
A Statistical Analysis Macro Library in SAS Carl R. Haske, Ph.D., STATPROBE, nc., Ann Arbor, M Vivienne Ward, M.S., STATPROBE, nc., Ann Arbor, M ABSTRACT Statistical analysis plays a major role in pharmaceutical
More informationA Guided Tour Through the SAS Windowing Environment Casey Cantrell, Clarion Consulting, Los Angeles, CA
A Guided Tour Through the SAS Windowing Environment Casey Cantrell, Clarion Consulting, Los Angeles, CA ABSTRACT The SAS system running in the Microsoft Windows environment contains a multitude of tools
More informationSAS Visual Analytics Environment Stood Up? Check! Data Automatically Loaded and Refreshed? Not Quite
Paper SAS1952-2015 SAS Visual Analytics Environment Stood Up? Check! Data Automatically Loaded and Refreshed? Not Quite Jason Shoffner, SAS Institute Inc., Cary, NC ABSTRACT Once you have a SAS Visual
More informationBasic tasks in Excel 2013
Basic tasks in Excel 2013 Excel is an incredibly powerful tool for getting meaning out of vast amounts of data. But it also works really well for simple calculations and tracking almost any kind of information.
More informationMedDRA Dictionary: Reporting Version Updates Using SAS and Excel
MedDRA Dictionary: Reporting Version Updates Using SAS and Excel Richard Zhou, Johnson & Johnson Pharmaceutical Research and Development, L.L.C Denis Michel, Johnson & Johnson Pharmaceutical Research and
More informationPharmaSUG China Mina Chen, Roche (China) Holding Ltd.
PharmaSUG China 2017-50 Writing Efficient Queries in SAS Using PROC SQL with Teradata Mina Chen, Roche (China) Holding Ltd. ABSTRACT The emergence of big data, as well as advancements in data science approaches
More informationSAS 101. Based on Learning SAS by Example: A Programmer s Guide Chapter 21, 22, & 23. By Tasha Chapman, Oregon Health Authority
SAS 101 Based on Learning SAS by Example: A Programmer s Guide Chapter 21, 22, & 23 By Tasha Chapman, Oregon Health Authority Topics covered All the leftovers! Infile options Missover LRECL=/Pad/Truncover
More informationABSTRACT MORE THAN SYNTAX ORGANIZE YOUR WORK THE SAS ENTERPRISE GUIDE PROJECT. Paper 50-30
Paper 50-30 The New World of SAS : Programming with SAS Enterprise Guide Chris Hemedinger, SAS Institute Inc., Cary, NC Stephen McDaniel, SAS Institute Inc., Cary, NC ABSTRACT SAS Enterprise Guide (with
More informationSAS 9 Programming Enhancements Marje Fecht, Prowerk Consulting Ltd Mississauga, Ontario, Canada
SAS 9 Programming Enhancements Marje Fecht, Prowerk Consulting Ltd Mississauga, Ontario, Canada ABSTRACT Performance improvements are the well-publicized enhancement to SAS 9, but what else has changed
More informationTHE FORMULAS TAB, CELL REFERENCING,THE VIEW TAB & WORKBOOK SECURITY THE FORMULAS TAB, CELL REFERENCING, THE VIEW TAB & WORKBOOK SECURITY OBJECTIVES
THE FORMULAS TAB, CELL REFERENCING,THE VIEW TAB & WORKBOOK SECURITY Session 9 THE FORMULAS TAB, CELL REFERENCING, THE VIEW TAB & WORKBOOK SECURITY General Objectives OBJECTIVES Session 9 In this Session,
More informationStat 302 Statistical Software and Its Applications SAS: Data I/O
Stat 302 Statistical Software and Its Applications SAS: Data I/O Yen-Chi Chen Department of Statistics, University of Washington Autumn 2016 1 / 33 Getting Data Files Get the following data sets from the
More informationCC13 An Automatic Process to Compare Files. Simon Lin, Merck & Co., Inc., Rahway, NJ Huei-Ling Chen, Merck & Co., Inc., Rahway, NJ
CC13 An Automatic Process to Compare Files Simon Lin, Merck & Co., Inc., Rahway, NJ Huei-Ling Chen, Merck & Co., Inc., Rahway, NJ ABSTRACT Comparing different versions of output files is often performed
More informationThe Power of PROC SQL Techniques and SAS Dictionary Tables in Handling Data
Paper PO31 The Power of PROC SQL Techniques and SAS Dictionary Tables in Handling Data MaryAnne DePesquo Hope, Health Services Advisory Group, Phoenix, Arizona Fen Fen Li, Health Services Advisory Group,
More informationAn Introduction to Stata Part I: Data Management
An Introduction to Stata Part I: Data Management Kerry L. Papps 1. Overview These two classes aim to give you the necessary skills to get started using Stata for empirical research. The first class will
More informationThe DATA Statement: Efficiency Techniques
The DATA Statement: Efficiency Techniques S. David Riba, JADE Tech, Inc., Clearwater, FL ABSTRACT One of those SAS statements that everyone learns in the first day of class, the DATA statement rarely gets
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 informationNorth Dakota University System. ConnectND Finance 9.0. Spread sheet journal import job aid
North Dakota University System ConnectND Finance 9.0 Spread sheet journal import job aid On occasion you may use a spreadsheet application such as Excel to calculate amounts for large Journal Entries (i.e.
More informationB I Z N E T B R O A D C A S T Release Notes. BizNet Broadcast Build /5/ P a g e
B I Z N E T B R O A D C A S T 2. 2. 1 Release Notes BizNet Broadcast Build 2.2.1 5/5/2015 1 P a g e Copyright Notice BizNet Software makes no representations or warranties with respect to the contents
More informationMakeLabels A PDS4 Label Generator Tool PDS Geosciences Node
MakeLabels A PDS4 Label Generator Tool PDS Geosciences Node Version 5.3 7-19-2017 Created by Dan Scholes scholes@wunder.wustl.edu Send question and comments to Dan Scholes. 1 Table of Contents Summary...
More informationA Brief Word About Your Exam
Exam 1 Studyguide A Brief Word About Your Exam Your exam will be MONDAY, FEBRUARY 20 DURING CLASS TIME. You will have 50 minutes to complete Exam 1. If you arrive late or leave early, you forfeit any time
More informationOUT= IS IN: VISUALIZING PROC COMPARE RESULTS IN A DATASET
OUT= IS IN: VISUALIZING PROC COMPARE RESULTS IN A DATASET Prasad Ilapogu, Ephicacy Consulting Group; Masaki Mihaila, Pfizer; ABSTRACT Proc compare is widely used in the pharmaceutical world to validate
More informationStoring and Reusing Macros
101 CHAPTER 9 Storing and Reusing Macros Introduction 101 Saving Macros in an Autocall Library 102 Using Directories as Autocall Libraries 102 Using SAS Catalogs as Autocall Libraries 103 Calling an Autocall
More informationPaper AD12 Using the ODS EXCEL Destination with SAS University Edition to Send Graphs to Excel
Paper AD12 Using the ODS EXCEL Destination with SAS University Edition to Send Graphs to Excel ABSTRACT William E Benjamin Jr, Owl Computer Consultancy LLC, Phoenix Arizona Students now have access to
More information2. INTRODUCTORY EXCEL
CS130 - Introductory Excel 1 2. INTRODUCTORY EXCEL Fall 2017 CS130 - Introductory Excel 2 Introduction to Excel What is Microsoft Excel? What can we do with Excel? CS130 - Introductory Excel 3 Launch Excel
More informationSAS Application to Automate a Comprehensive Review of DEFINE and All of its Components
PharmaSUG 2017 - Paper AD19 SAS Application to Automate a Comprehensive Review of DEFINE and All of its Components Walter Hufford, Vincent Guo, and Mijun Hu, Novartis Pharmaceuticals Corporation ABSTRACT
More informationSESUG 2014 IT-82 SAS-Enterprise Guide for Institutional Research and Other Data Scientists Claudia W. McCann, East Carolina University.
Abstract Data requests can range from on-the-fly, need it yesterday, to extended projects taking several weeks or months to complete. Often institutional researchers and other data scientists are juggling
More informationDO NOT SEND DUPLICATE COPIES OF YOUR LOG AND DO NOT SEND A PRINTED COPY.
AMERICAN BOARD OF UROLOGY 2018 LIFE LONG LEARNING (LLL) LEVEL 2 PEDIATRIC UROLOGY SUBSPECIALTY CERTIFICATION EXAMINATION PROCESS INSTRUCTIONS FOR SUBMISSION OF ELECTRONIC LOGS Please read all instructions
More informationTab-Delimited File and Compound Objects - Documents, Postcards, and Cubes. (Not Monographs)
1" Tab-Delimited File and Compound Objects - Documents, Postcards, and Cubes (Not Monographs) See Help Sheet: Tab-Delimited File and Compound Object - Monograph Content "2" Page 4: Why use Tab-delimited
More informationAutomating Comparison of Multiple Datasets Sandeep Kottam, Remx IT, King of Prussia, PA
Automating Comparison of Multiple Datasets Sandeep Kottam, Remx IT, King of Prussia, PA ABSTRACT: Have you ever been asked to compare new datasets to old datasets while transfers of data occur several
More informationABSTRACT 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 informationSAS Viya 3.2: Self-Service Import
SAS Viya 3.2: Self-Service Import About Self-Service Import Overview of Self-Service Import Self-service import offers an easy way to bring data into the SAS Cloud Analytic Services (CAS) environment.
More informationThemes & Templates Applying a theme Customizing a theme Creatingfilefromtemplate Creating yourowncustomize Template Using templates Editing templates
Introducing Excel Understanding Workbooks and Worksheets Moving around a Worksheet Introducing the Ribbon Accessing the Ribbon by using your keyboard Using Shortcut Menus Customizing Your Quick Access
More informationAPPENDIX 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 informationIntroducing Microsoft Office Specialist Excel Module 1. Adobe Captivate Wednesday, May 11, 2016
Slide 1 - Introducing Microsoft Office Specialist Excel 2013 Introducing Microsoft Office Specialist Excel 2013 Module 1 Page 1 of 25 Slide 2 - Lesson Objectives Lesson Objectives Understand what Microsoft
More information