Book Image

SAS Programming in 7 Steps [Video]

By : Aditi Pratap Sampat
Book Image

SAS Programming in 7 Steps [Video]

By: Aditi Pratap Sampat

Overview of this book

SAS is a programming language designed specifically to analyze statistical data. SAS transforms data into insights, which can give you a fresh perspective on business. This course teaches you about SAS studio to write SAS code. In this course, you’ll learn how to get your data into SAS by reading data through various methods. You’ll see how to create and import SAS data. You’ll work with data by using conditional statements and functions in SAS. You’ll also learn about various SAS procedures to work with your data. All of the concepts are covered using a structured, practical implementation through mini-projects. You’ll learn by coding in a hands-on way, working in a SAS programming environment, and getting a detailed step-by-step explanation and implementation of each concept. The code bundle for this video course is available at https://github.com/PacktPublishing/SAS-Programming-for-Beginners
Table of Contents (7 chapters)
Chapter 7
Using Dates in SAS
Content Locked
Section 3
Finding Days/Years between Two Dates in SAS
Calculating the number of days/years using the DATDIF and YRDIF functions in SAS. - Provide an overview for the DATDIF function - Show a code example in SAS Studio to find days/years between two dates using DATDIF function - Provide an overview and show a code example in SAS Studio to find days/years between two dates using YRDIF function