Dates. Saad Rais. Ministry of Health and Long-Term Care Nov 20, 2015
|
|
- Derek Morris
- 6 years ago
- Views:
Transcription
1 Dates Saad Rais Ministry of Health and Long-Term Care Nov 20, 2015
2 SAS Dates are like sour grapes
3 What do we use dates for? Data query by period Measure duration Time indicators Forecasting Modelling Rates Time-trend Merge by date Frequency tables Before-after analysis Longitudinal data analysis
4 You will learn how to: Create a date variable Display a date in a certain way (formats) Read in a date from a text file Convert a string variable into a date variable Calculate duration between dates Parse dates into its components
5 Creating a date variable Date variables are numeric variables 0 = Jan = Jan = Dec What is the number for today s date? Use today () function %put %sysfunc(today ()); What is the number for my birthday (or any day)? use MDY (month, day, year) function %put %sysfunc(mdy(2,28,1970)); 3711 use date in quotes and a d %let sas_day = 19NOV2015"d; %put %sysfunc(putn(&sas_day, 8.0)); 20411
6 Displaying dates a certain way: formats Dates are stored as numeric values 0 = January 1, 1960 Numeric values may be externally represented by a format List of date formats can be found here:
7 Some date formats ID values Periodicity FORMAT Example SAS date annual YEAR quarterly YYQC :4 monthly MONYY7. OCT1991 weekly WEEKDATX23. Thursday, 17 Oct 1991 daily DATE9. 17OCT1991 SAS datetime hourly DATETIME10. 17OCT91:14 minutes DATETIME13. 17OCT91:14:45 seconds DATETIME16. 17OCT91:14:45:32
8 What SAS dates can look like
9 Sample anatomy of a date format DDMMYYxw. DDMMYY = order of day month, year Could be YYMMDD or something else x = separator (default = dash) B = blank C = colon D = dash N = none P= period S = slash w = character width including separator (default = 8)
10 Sample output of date formats Examples: %let d = /* = 10JUN2011"d*/; %put %sysfunc(putn(&d,yymmdd.)); %put %sysfunc(putn(&d,yymmdds.)); 11/06/10 %put %sysfunc(putn(&d,yymmdds10.)); 2011/06/10 %put %sysfunc(putn(&d,ddmmyys10.)); 10/06/2011 %put %sysfunc(putn(&d,yymmdd7.));
11 Reading in dates from a flat file Step 1: Identify the date informat
12 Reading in dates from a flat file Step 2a: Decide on the format (point & click)
13 Reading in dates from a flat file Step 2b: Decide on the format (code)
14 Reading in dates from a flat file Step 3: Check that data was imported correctly
15 Converting string variable to date variable
16 Converting string variable to date variable Step 1: Know the string variable informat Step 2: Create a numeric variable out of the string variable using input function and informat Step 3: Specify the date format for the numeric date variable
17 Converting string variable to date variable data rpdb; set rpdb.rpdb_personal_charcs (obs = 10 keep = create_tmestmp); create_tmestmp_new = input(create_tmestmp, ymddttm20.); create_tmestmp_new_formatted = create_tmestmp_new; format create_tmestmp_new_formatted datetime19.; run;
18 Converting string variable to date variable
19 Performing calculations with dates E.g., Age (integer or continuous) Methods: (Ref_date DOB + 1) / YRDIF Function, using AGE parameter value Formula that uses INTCK function (counting the number of completed months) For continuous age, add the proportion of the year completed (macro provided in appendix A)
20 Performing calculations with dates %let start_dt = "29feb2000"d; /*DOB*/ %let end_dt = "28feb2050"d; /*50TH BDAY?*/ data age; age1 = (&end_dt - &start_dt + 1)/365.25; age2 = yrdif(&start_dt, &end_dt, 'AGE'); %age_continuous (agevar=age3, dob=&start_dt, eventdate=&end_dt); run; age1_int = int(age1); age2_int = int(age2); age3_int = int(age3); age4_int = int((intck('month',&start_dt,&end_dt)- (day(&end_dt)<day(&start_dt)))/12);
21 Parsing dates into its components Datepart(datetime_var) Year(date_var) Qtr(date_var) Month(date_var) Day(date_var)
22 Parsing dates into its components
23 The End For more information, contact: Saad Rais
24 Appendix A: Macro to calculate continuous age %macro age_continuous (agevar=,dob=,eventdate=); m_age_int = floor((intck('month',&dob.,&eventdate.)- (day(&eventdate.)<day(&dob.)))/12); m_prior_bday_correction = (month(&dob.)eq 2)*(day(&dob.)eq 29)* (put(mdy(12,31,(year(&dob.)+m_age_int)),julday.)eq "365"); m_prior_bday = MDY(month(&dob.+m_prior_bday_correction), day (&dob.+m_prior_bday_correction), year (&dob.)+m_age_int); m_next_bday_correction = (month(&dob.)eq 2)*(day(&dob.)eq 29)* (put(mdy(12,31,(year(&dob.)+m_age_int+1)),julday.)eq "365"); m_next_bday = MDY(month(&dob.+m_next_bday_correction), day (&dob.+m_next_bday_correction), year (&dob.)+m_age_int+1); &agevar. = m_age_int+((&eventdate.-m_prior_bday)/(m_next_bday-m_prior_bday)); drop m_age_int m_prior_bday_correction m_prior_bday m_next_bday_correction m_next_bday; %mend age_continuous; Courtesy:
Getting the Right DATES
Getting the Right DATES Marje Fecht Senior Partner, Prowerk Consulting SAS Global Forum 2014 Conference Chair Copyright 2012 Prowerk Consulting 1 Getting the RIGHT Date can be Tricky This presentation
More informationAll About SAS Dates. Marje Fecht Senior Partner, Prowerk Consulting. Copyright 2017 Prowerk Consulting
All About SAS Dates Marje Fecht Senior Partner, Prowerk Consulting Copyright 2017 Prowerk Consulting 1 SAS Dates What IS a SAS Date? And Why?? My data aren t stored as SAS Dates How can I convert How can
More informationArthur L. Carpenter California Occidental Consultants
Paper 255-30 Looking for a Date? A Tutorial on Using SAS Dates and Times Arthur L. Carpenter California Occidental Consultants ABSTRACT What are SAS date and time values? How are they used and why do we
More informationBeginning Tutorials DATE HANDLING IN THE SAS SYSTEM. Bruce Gilsen, Federal Reserve Board
DATE HANDLING IN THE SAS SYSTEM Bruce Gilsen, Federal Reserve Board 1. Introduction A calendar date can be represented in the SAS system as a SAS date value, a special representation of a calendar date
More informationSCSUG Paper THE SECRET TO SAS DATES. Alison Little, MPP Texas Health and Human Services Commission
SCSUG Paper THE SECRET TO SAS DATES Alison Little, MPP Texas Health and Human Services Commission ABSTRACT How do you know whether the field you are working with which is called birth date or procedure
More informationTitle for SAS Global Forum 2014 Sample Paper
Paper 1623-2014 Title for SAS Global Forum 2014 Sample Paper Jenine Milum, Equifax Inc. ABSTRACT No matter how long you ve been programming in SAS, using and manipulating dates still seems to require effort.
More informationDating for SAS Programmers
ABSTRACT Dating for SAS Programmers Joshua M. Horstman, Nested Loop Consulting Every SAS programmer needs to know how to get a date... no, not that kind of date. This paper will cover the fundamentals
More informationWORKING WITH SAS DATE AND TIME FUNCTIONS Andrew H. Karp Sierra Information Services, Inc. San Francisco, California USA
WORKING WITH SAS DATE AND TIME FUNCTIONS Andrew H. Karp Sierra Information Services, Inc. San Francisco, California USA Introduction Many SAS applications require that operations be performed on data collected
More informationA simplistic approach to Grid Computing Edmonton SAS Users Group. April 5, 2016 Bill Benson, Enterprise Data Scienc ATB Financial
A simplistic approach to Grid Computing Edmonton SAS Users Group April 5, 2016 Bill Benson, Enterprise Data Scienc ATB Financial Grid Computing The Basics Points to Cover: Benefits of Grid Computing Server
More informationIntroduction to SAS Mike Zdeb ( , #83
Mike Zdeb (402-6479, msz03@albany.edu) #83 (8) DATES SAS has numerous informats for reading dates and formats for displaying dates. Dates can be read with either numeric, character, or date informats.
More informationBase and Advance SAS
Base and Advance SAS BASE SAS INTRODUCTION An Overview of the SAS System SAS Tasks Output produced by the SAS System SAS Tools (SAS Program - Data step and Proc step) A sample SAS program Exploring SAS
More informationHow to Read, Write, and Manipulate SAS Dates
Paper HW-063 How to Read, Write, and Manipulate SAS Dates Jenine Milum, Charlotte, NC ABSTRACT No matter how long you ve been programming in SAS, using and manipulating dates still seems to require effort.
More informationChaining Logic in One Data Step Libing Shi, Ginny Rego Blue Cross Blue Shield of Massachusetts, Boston, MA
Chaining Logic in One Data Step Libing Shi, Ginny Rego Blue Cross Blue Shield of Massachusetts, Boston, MA ABSTRACT Event dates stored in multiple rows pose many challenges that have typically been resolved
More informationBiostatistics 600 SAS Lab Supplement 1 Fall 2012
Biostatistics 600 SAS Lab Supplement 1 Fall 2012 p 2. How to Enter Data in the Program Editor Window: Instream Data p 5. How to Create a SAS Data Set from Raw Data Files p 16. Using Dates in SAS 1 How
More informationScheduling Jobs. Activating Bulk Provisioning Service CHAPTER
CHAPTER 82 You can schedule bulk transactions and specify a time when they need to start these transactions. All jobs that are submitted through the Bulk Administration menu in the Cisco Unified Communications
More informationNote: Act Today provide this KB article as a courtesy however accept no responsibility for content or the recipient performing these steps
Note: Act Today provide this KB article as a courtesy however accept no responsibility for content or the recipient performing these steps How To Download and Apply Sage ACT! 2011 Premium Service Pack
More informationSpeed Dating: Looping Through a Table Using Dates
Paper 1645-2014 Speed Dating: Looping Through a Table Using Dates Scott Fawver, Arch Mortgage Insurance Company, Walnut Creek, CA ABSTRACT Have you ever needed to use dates as values to loop through a
More informationTIPS FROM THE TRENCHES
TIPS FROM THE TRENCHES Christopher Bost MDRC SAS Users Group October 1, 2008 Recent user questions 2 How can I print long character values? How can I EXPORT formatted values to Excel? How can I check for
More informationEconomic Variables. 1. We will search for GDP for Ghana. To begin, open Excel
Economic Variables Before you start: please work through the guide Logging on and getting started with Datastream. It would also be helpful if you have used our guide for Company/Equity Data as this outlines
More informationAre Your SAS Programs Running You?
Overview Are Your SAS Programs Running You? Have you ever QUICKLY written some code assuming it will never be used again?? Is it now 5 years later and the SPAGHETTI CODE is still in production? Worse still
More informationPandas 4: Time Series
1 Pandas 4: Time Series Lab Objective: Many real world data setsstock market measurements, ocean tide levels, website trac, seismograph data, audio signals, uid simulations, quarterly dividends, and so
More informationADVANCED SPREADSHEET APPLICATIONS (07)
(07) CONTESTANT ID# START TIME END TIME Financial Services Events Sponsored by the American Institute of Certified Public Accounts TOTAL POINTS (300) Failure to adhere to any of the following rules will
More informationDOWNLOAD OR READ : YEAR PLANNER 2014 WORD DOCUMENT VIEW PDF EBOOK EPUB MOBI
DOWNLOAD OR READ : YEAR PLANNER 2014 WORD DOCUMENT VIEW PDF EBOOK EPUB MOBI Page 1 Page 2 year planner 2014 word document view year planner 2014 word pdf year planner 2014 word document view 2014 Calendar.
More informationthe employee s next birthday is in the past. This mechanism will consistently update the employee s next birthday.
How to Create an Employee Birthday Calendar Step-By-Step Did you know one of the most common requests for an Intranet is an employee birthday calendar? Many folks have created custom code solutions in
More informationRLMYPRINT.COM 30-DAY FREE NO-OBLIGATION TRIAL OF RANDOM LENGTHS MY PRINT.
My Print ON-DEMAND GRAPHS AND PRICE REPORTS TRY IT FREE FOR 30 DAYS! RLMYPRINT.COM 30-DAY FREE NO-OBLIGATION TRIAL OF RANDOM LENGTHS MY PRINT. Register and immediately begin using the new Web site to create
More informationSAS System Powers Web Measurement Solution at U S WEST
SAS System Powers Web Measurement Solution at U S WEST Bob Romero, U S WEST Communications, Technical Expert - SAS and Data Analysis Dale Hamilton, U S WEST Communications, Capacity Provisioning Process
More informationDemystifying Intervals
MWSUG 2017 Paper BB042 Demystifying Intervals Derek Morgan, PAREXEL International, Billerica, MA ABSTRACT Intervals have been a feature of base SAS for a long time, allowing SAS users to work with commonly
More informationBatch Scheduler. Version: 16.0
Batch Scheduler Version: 16.0 Copyright 2018 Intellicus Technologies This document and its content is copyrighted material of Intellicus Technologies. The content may not be copied or derived from, through
More information3. EXCEL FORMULAS & TABLES
Winter 2019 CS130 - Excel Formulas & Tables 1 3. EXCEL FORMULAS & TABLES Winter 2019 Winter 2019 CS130 - Excel Formulas & Tables 2 Cell References Absolute reference - refer to cells by their fixed position.
More informationWelcome to Top 10 SAS Functions
Welcome to Top 10 SAS Functions Goal and Agenda By the end of this meeting, you will understand 10 key SAS functions purpose, value and features. What are SAS functions? Why use them? Use Case Manipulating
More informationSAS CURRICULUM. BASE SAS Introduction
SAS CURRICULUM BASE SAS Introduction Data Warehousing Concepts What is a Data Warehouse? What is a Data Mart? What is the difference between Relational Databases and the Data in Data Warehouse (OLTP versus
More informationEventus Example Series Using Non-CRSP Data in Eventus 7 1
Eventus Example Series Using Non-CRSP Data in Eventus 7 1 Goal: Use Eventus software version 7.0 or higher to construct a mini-database of data obtained from any source, and run one or more event studies
More informationContents. SCHTASKS CLI enables an administrator to manage scheduled tasks. SCHTASKS /parameter [arguments] SCHTASKS /Run
SCHTASKS CLI enables an administrator to manage scheduled tasks Contents SCHTASKS /parameter [arguments]... 1 SCHTASKS /Run... 1 SCHTASKS /End... 2 SCHTASKS /Create... 2 SCHTASKS /Delete... 4 SCHTASKS
More informationFind2000: A Search Tool to Find Date-Related Strings in SAS
Find2000: A Search Tool to Find Date-Related Strings in SAS Sarah L. Mitchell, Qualex Consulting Services, Inc. Michael Gilman, Qualex Consulting Services, Inc. Figure 1 Abstract Although SAS Version 6
More informationPayflow Implementer's Guide FAQs
Payflow Implementer's Guide FAQs FS-PF-FAQ-UG-201702--R016.00 Fairsail 2017. All rights reserved. This document contains information proprietary to Fairsail and may not be reproduced, disclosed, or used
More informationPackage taskscheduler
Type Package Package taskscheduler November 16, 2017 Title Schedule R Scripts and Processes with the Windows Task Scheduler Schedule R scripts/processes with the Windows task scheduler. This allows R users
More informationPECOGRAPH DATA CONVERTER TECHNICAL NOTE
PECOGRAPH DATA CONVERTER TECHNICAL NOTE ENGLISH Revision date: Application: 2018 PeCo-Graph 4.1 and later INDEX 1. PRELIMINARY INFORMATION... 2 1.1. Introduction... 2 1.2. Requirements and compatibility...
More informationAre Your SAS Programs Running You? Marje Fecht, Prowerk Consulting, Cape Coral, FL Larry Stewart, SAS Institute Inc., Cary, NC
Paper CS-044 Are Your SAS Programs Running You? Marje Fecht, Prowerk Consulting, Cape Coral, FL Larry Stewart, SAS Institute Inc., Cary, NC ABSTRACT Most programs are written on a tight schedule, using
More informationTransforming SAS code into a SAS Macro using PERL Sumner H. Williams, CareOregon, Portland, OR, USA
ABSTRACT Transforming SAS code into a SAS Macro using PERL Sumner H. Williams, CareOregon, Portland, OR, USA SAS code is strengthened by transforming the code into a macro. This paper is intended to demonstrate
More informationThe Essentials of SAS Dates and Times Derek Morgan, Covidien
The Essentials of SAS Dates and Times Derek Morgan, Covidien ABSTRACT The first thing you need to know is that SAS software stores dates and times as numbers. However, this is not the only thing that you
More informationLecture 10: Boolean Expressions
Lecture 10: Boolean Expressions CS1068+ Introductory Programming in Python Dr Kieran T. Herley Department of Computer Science University College Cork 2017-2018 KH (12/10/17) Lecture 10: Boolean Expressions
More informationBad Date: How to find true love with Partial Dates! Namrata Pokhrel, Accenture Life Sciences, Berwyn, PA
PharmaSUG 2014 Paper PO09 Bad Date: How to find true love with Partial Dates! Namrata Pokhrel, Accenture Life Sciences, Berwyn, PA ABSTRACT This poster will discuss the difficulties encountered while trying
More informationHave a Strange DATE? Create your own INFORMAT to Deal with Her Venky Chakravarthy, Ann Arbor, MI
Have a Strange DATE? Create your own INFORMAT to Deal with Her Venky Chakravarthy, Ann Arbor, MI ABSTRACT Whatever the title may lead you to believe, this is a serious discussion of dates that are strange
More informationBilling and Collection Agent Report For period ending January 31, To FCC Contract Oversight Sub-Committee. February 11, 2019
Billing and Collection Agent Report For period ending January 31, 2019 To FCC Contract Oversight Sub-Committee February 11, 2019 Welch LLP - Chartered Professional Accountants 123 Slater Street, 3 rd floor,
More informationEVALUATION COPY. Unauthorized Reproduction or Distribution Prohibited EXCEL ADVANCED
EXCEL ADVANCED Overview OVERVIEW... 2 ADVANCED FORMULAS... 4 VIEW THE PROJECT... 4 Viewing Available Excel Functions... 5 Help with Functions... 6 TEXT FUNCTIONS... 7 Text Functions Used in this Section:...
More informationSan Joaquin County Emergency Medical Services Agency
San Joaquin County Emergency Medical Services Agency http://www.sjgov.org/ems Memorandum TO: All Interested Parties FROM: Rick Jones, EMS Analyst DATE: January, 19 Mailing Address PO Box French Camp, CA
More informationCompany/Equities Data (for a small number of companies)
Company/Equities Data (for a small number of companies) Before you start: please read the guide Logging on and getting started with Datastream. 1. We will search for market value and dividend yield for
More informationData Policy. Actionable Data, Part I. Feature Guide
Feature Guide Data Policy Actionable Data, Part I Data Policy... 2 How it Works... 2 Activation Triggers... 2 Calendar-Based Activation... 2 Action-Based Activation... 3 Activation Sequence... 3 Actions...
More informationExcel Functions & Tables
Excel Functions & Tables SPRING 2016 Spring 2016 CS130 - EXCEL FUNCTIONS & TABLES 1 Review of Functions Quick Mathematics Review As it turns out, some of the most important mathematics for this course
More informationThe Essential Guide to SAS
The Essential Guide to SAS Dates and Times Second Edition Derek P. Morgan support.sas.com/bookstore The correct bibliographic citation for this manual is as follows: Morgan, Derek P. 2014. The Essential
More informationPROGRAMMING ROLLING REGRESSIONS IN SAS MICHAEL D. BOLDIN, UNIVERSITY OF PENNSYLVANIA, PHILADELPHIA, PA
PROGRAMMING ROLLING REGRESSIONS IN SAS MICHAEL D. BOLDIN, UNIVERSITY OF PENNSYLVANIA, PHILADELPHIA, PA ABSTRACT SAS does not have an option for PROC REG (or any of its other equation estimation procedures)
More informationCFAR Biometrics_REDCap Data Restructuring Using SAS
/* syntax00a_redcap_import PREPARE DATA. EXPORTED INSTRUMENTS: EXPORTED EVENTS: EXPORTED DATA: ALL (ONLY NEED: ENROLMENT VISIT, FOLLOWUP, AND LAB DATA). ALL. (I WILL PARSE BELOW.) TO SAS. SAVED THE PATHWAY
More informationIT Services Performance Report
UCD IT Services IT Services Performance Report January December 2014 Prepared by: UCD IT Services Date: January 2014 Seamus Shaw Chief Technology Officer Contents Background 1 Service Availability Measures
More informationToday s Experts. Mastering Dates Using SEQUEL 1. Technical Consultant. Technical Consultant
Today s Experts Steven Spieler Vivian Hall Technical Consultant Technical Consultant Mastering Dates Using SEQUEL 1 Mastering Dates Using SEQUEL Mastering Dates Using SEQUEL 2 Working with dates on the
More informationBUSINESS ANALYTICS. 96 HOURS Practical Learning. DexLab Certified. Training Module. Gurgaon (Head Office)
SAS (Base & Advanced) Analytics & Predictive Modeling Tableau BI 96 HOURS Practical Learning WEEKDAY & WEEKEND BATCHES CLASSROOM & LIVE ONLINE DexLab Certified BUSINESS ANALYTICS Training Module Gurgaon
More informationConditional Formatting
Microsoft Excel 2013: Part 5 Conditional Formatting, Viewing, Sorting, Filtering Data, Tables and Creating Custom Lists Conditional Formatting This command can give you a visual analysis of your raw data
More informationRemotely Test Any Networked Equipment
1 Remotely Test Any Networked Equipment Universal Test Head Platform includes: Multiple Test Heads Scheduler Resource Balancing Database: Equipment Links Equipment History Test History Test Library Windows
More informationTAKING QUERY TO THE NEXT LEVEL THE TEN QUERIES YOU MUST HAVE
TAKING QUERY TO THE NEXT LEVEL THE TEN QUERIES YOU MUST HAVE Blackbaud s Conference for Not-For-Profits London Presenter s Name Page #2 Agenda What is Query for? Query Considerations Operators Hierarchy
More informationCorrecting for natural time lag bias in non-participants in pre-post intervention evaluation studies
Correcting for natural time lag bias in non-participants in pre-post intervention evaluation studies Gandhi R Bhattarai PhD, OptumInsight, Rocky Hill, CT ABSTRACT Measuring the change in outcomes between
More informationMonthly SEO Report. Example Client 16 November 2012 Scott Lawson. Date. Prepared by
Date Monthly SEO Report Prepared by Example Client 16 November 212 Scott Lawson Contents Thanks for using TrackPal s automated SEO and Analytics reporting template. Below is a brief explanation of the
More informationSection 1.2: What is a Function? y = 4x
Section 1.2: What is a Function? y = 4x y is the dependent variable because it depends on what x is. x is the independent variable because any value can be chosen to replace x. Domain: a set of values
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 informationCognos report studio cast string to date. Cognos report studio cast string to date.zip
Cognos report studio cast string to date Cognos report studio cast string to date.zip Using the Cognos RRDI Report Studio, Report Studio Reports with Parent / Child Work Items; Determine the difference
More informationIntermediate SAS: Working with Data
Intermediate SAS: Working with Data OIT Technical Support Services 293-4444 oithelp@mail.wvu.edu oit.wvu.edu/training/classmat/sas/ Table of Contents Getting set up for the Intermediate SAS workshop:...
More informationA Simple Time Series Macro Scott Hanson, SVP Risk Management, Bank of America, Calabasas, CA
A Simple Time Series Macro Scott Hanson, SVP Risk Management, Bank of America, Calabasas, CA ABSTRACT One desirable aim within the financial industry is to understand customer behavior over time. Despite
More informationVisual Customizations
Overview, on page 1 Create a Grid View, on page 1 Create a Chart View, on page 2 Group By, on page 5 Report Thresholds, on page 6 Overview Stock reports are the reports that are pre-bundled and supported
More informationSAS 101. Based on Learning SAS by Example: A Programmer s Guide Chapters 9, 11 & 12. By Tasha Chapman, Oregon Health Authority
SAS 101 Based on Learning SAS by Example: A Programmer s Guide Chapters 9, 11 & 12 By Tasha Chapman, Oregon Health Authority Topics covered SAS dates Date functions Numeric functions Character functions
More informationA SAS Macro for Producing Data Summary Tables
A SAS Macro for Producing Data Summary Tables Yajie Wang, Lan Zhao, Surai Thaneemit-Chen, Vaishali Krishnan, Galina Shamayeva and Bob Edson VA Palo Alto Health Care System, Menlo Park, CA ABSTRACT The
More informationNESTED IF STATEMENTS AND STRING/INTEGER CONVERSION
LESSON 15 NESTED IF STATEMENTS AND STRING/INTEGER CONVERSION OBJECTIVE Learn to work with multiple criteria if statements in decision making programs as well as how to specify strings versus integers in
More informationGenerating Reports with BudgetPak
Generating Reports with BudgetPak Overview This guide contains instructions on how to run BudgetPak canned reports and custom reports for adopted budget, adjusted budget, and actuals on an annual, quarterly,
More informationCody s Collection of Popular SAS Programming Tasks and How to Tackle Them
Cody s Collection of Popular SAS Programming Tasks and How to Tackle Them Ron Cody Contents List of Programs... ix About This Book... xv About The Author... xix Acknowledgments... xxi Chapter 1 Tasks Involving
More informationMastering Data Summarization with PROC SQL
ABSTRACT Paper 6481-2016 Mastering Data Summarization with PROC SQL Christianna Williams PhD, Chapel Hill, NC The SQL procedure is extremely powerful when it comes to summarizing and aggregating data,
More informationUntangling and Reformatting NT PerfMon Data to Load a UNIX SAS Database With a Software-Intelligent Data-Adaptive Application
Paper 297 Untangling and Reformatting NT PerfMon Data to Load a UNIX SAS Database With a Software-Intelligent Data-Adaptive Application Heather McDowell, Wisconsin Electric Power Co., Milwaukee, WI LeRoy
More informationNigerian Telecommunications (Services) Sector Report Q2 2016
Nigerian Telecommunications (Services) Sector Report Q2 2016 01 SEPTEMBER 2016 Telecommunications Data The telecommunications data used in this report were obtained from the National Bureau of Statistics
More informationINFORMS Transactions on Education
This article was downloaded by: [4..3.3] On: 0 September 0, At: 0: Publisher: Institute for Operations Research and the Management Sciences (INFORMS) INFORMS is located in Maryland, USA INFORMS Transactions
More informationSTAT:5400 Computing in Statistics. Other software packages. Microsoft Excel spreadsheet very convenient for entering data in flatfile
STAT:5400 Computing in Statistics Other Software Packages Proc import A bit on SAS macro language Lecture 26 ov 2, 2016 Kate Cowles 374 SH, 335-0727 kate-cowles@uiowaedu Other software packages Microsoft
More informationSAS Certification Handout #5: Ch /************ Ch. 13 ********************/ /* NOTE: Ch. 13 presents loads of functions; see pp.
SAS Certification Handout #5: Ch. 13-15 /************ Ch. 13 ********************/ /* NOTE: Ch. 13 presents loads of functions see pp. 452-455 */ /* MEAN function */ data a5 input X1-X5 Xmeans = mean(of
More informationUsing Custom Number Formats
APPENDIX B Using Custom Number Formats Although Excel provides a good variety of built-in number formats, you may find that none of these suits your needs. This appendix describes how to create custom
More informationWelcome To The. Broward County Human Services Department. Community Partnerships Division FY2016 Provider Information Workshop
Welcome To The Broward County Human Services Department Community Partnerships Division FY2016 Provider Information Workshop Topics Of Discussion Provider Resources Invoicing Quarterly Reports Other Required
More information4.6.5 Data Sync User Manual.
4.6.5 Data Sync User Manual www.badgepass.com Table of Contents Table of Contents... 2 Configuration Utility... 3 System Settings... 4 Profile Setup... 5 Setting up the Source Data... 6 Source Filters...
More informationSAS/ETS 14.2 User s Guide. The EXPAND Procedure
SAS/ETS 14.2 User s Guide The EXPAND Procedure This document is an individual chapter from SAS/ETS 14.2 User s Guide. The correct bibliographic citation for this manual is as follows: SAS Institute Inc.
More informationDept/Unit This is the department or unit that is making the request. (i.. The department to which the requestor belongs.)
Report Specification Guide This document acts as a guide for completing the report request template. Each section in this document will describe and explain how to use the available fields in the template.
More informationLibrary Calendar Project
Library Calendar Project Basic Information Project goals include: 1. Create a master calendar for the library which will be the basis for all calendars produced by the library. Print and web page formats
More informationTime Series Studio SAS User s Guide. SAS Documentation
SAS 14.1 User s Guide Time Series Studio SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2015. SAS Time Series Studio 14.1: User's Guide. Cary, NC:
More informationAutomatic Renewal Using DIY Technology to Create an Improved Patron Experience
Using DIY Technology to Create an Improved Patron Experience Samantha Jekot-Graham, Patron Experience Lead Phil Feilmeyer, System Integration What is automatic renewal? A service that automatically renews
More informationCrystal Reports. Overview. Contents. Cross-Tab Capabilities & Limitations in Crystal Reports (CR) 6.x
Crystal Reports Cross-Tab Capabilities & Limitations in Crystal Reports (CR) 6.x Overview Contents This document provides an overview of cross-tab capabilities and limitations in Crystal Reports (CR) 6.
More information[MS-SSPSJ]: SSP Scheduled Jobs Stored Procedures Protocol Specification
[MS-SSPSJ]: SSP Scheduled Jobs Stored Procedures Protocol Specification Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications
More informationEVM & Project Controls Applied to Manufacturing
EVM & Project Controls Applied to Manufacturing PGCS Canberra 6-7 May 2015 David Fox General Manager L&A Pressure Welding Pty Ltd Contents 1) Background Business & research context 2) Research Fitting
More informationBusiness ebanking Online Wire Transfers
Business ebanking Online Wire Transfers This guide instructs users how to originate Wire transfers through Business ebanking. If you need support, please contact Treasury Services Support at (877) 920
More informationScheduling Jobs. Activating Bulk Provisioning Service CHAPTER
40 CHAPTER You can schedule bulk transactions and specify a time when these transactions need to start. All jobs that are submitted through the Bulk Administration menu queue up on the Bulk Provisioning
More informationDATA Step Debugger APPENDIX 3
1193 APPENDIX 3 DATA Step Debugger Introduction 1194 Definition: What is Debugging? 1194 Definition: The DATA Step Debugger 1194 Basic Usage 1195 How a Debugger Session Works 1195 Using the Windows 1195
More informationObjectives Reading SAS Data Sets and Creating Variables Reading a SAS Data Set Reading a SAS Data Set onboard ia.dfwlax FirstClass Economy
Reading SAS Data Sets and Creating Variables Objectives Create a SAS data set using another SAS data set as input. Create SAS variables. Use operators and SAS functions to manipulate data values. Control
More informationTable of Contents. The RETAIN Statement. The LAG and DIF Functions. FIRST. and LAST. Temporary Variables. List of Programs.
Table of Contents List of Programs Preface Acknowledgments ix xvii xix The RETAIN Statement Introduction 1 Demonstrating a DATA Step with and without a RETAIN Statement 1 Generating Sequential SUBJECT
More informationIT Services Performance Report
UCD IT Services IT Services Performance Report January December 2010 Prepared by: UCD IT Services Date: 9 th February 2011 Ms. Mary Crowe Chief Information and Technology Officer Contents Background 1
More informationlibname learn "C:\sas\STAT6250\Examples"; /*Identifies library of data*/
CHAPTER 7 libname learn "C:\sas\STAT6250\Examples"; /*Identifies library of data*/ /*Problem 7.2*/ proc print data=learn.hosp; where Subject eq 5 or Subject eq 100 or Subject eq 150 or Subject eq 200;
More informationSAS Scalable Performance Data Server 4.3
Scalability Solution for SAS Dynamic Cluster Tables A SAS White Paper Table of Contents Introduction...1 Cluster Tables... 1 Dynamic Cluster Table Loading Benefits... 2 Commands for Creating and Undoing
More informationAll King County Summary Report
September, 2016 MTD MARKET UPDATE Data Current Through: September, 2016 18,000 16,000 14,000 12,000 10,000 8,000 6,000 4,000 2,000 0 Active, Pending, & Months Supply of Inventory 15,438 14,537 6.6 6.7
More informationAIMMS Function Reference - Date Time Related Identifiers
AIMMS Function Reference - Date Time Related Identifiers This file contains only one chapter of the book. For a free download of the complete book in pdf format, please visit www.aimms.com Aimms 3.13 Date-Time
More informationGALLUP NEWS SERVICE GALLUP POLL SOCIAL SERIES: VALUES AND BELIEFS
GALLUP NEWS SERVICE GALLUP POLL SOCIAL SERIES: VALUES AND BELIEFS -- FINAL TOPLINE -- Timberline: 937008 IS: 727 Princeton Job #: 16-05-006 Jeff Jones, Lydia Saad May 4-8, 2016 Results are based on telephone
More informationDSCI 325 Practice Midterm Questions Spring In SAS, a statement must end
DSCI 325 Practice Midterm Questions Spring 2016 1. In SAS, a statement must end a. with a colon b. with a semicolon c. in a new line d. with the command RUN 2. Which of the following is a valid variable
More information