Skip to content

TrialSAS/Little-SAS-Book-Exercises-And-Projects

 
 

Repository files navigation

Little-SAS-Book-Exercises-And-Projects

SAS programs created based on exercises in The Little SAS Book. SAS programs are either a program written as part of a programming exercise, or a program written to answer a multiple choice question.

I created this GitHub repository as a way to save and share code I wrote while learning SAS and working through The Little SAS Book: Exercises and Projects.
If you are learning SAS and working though this book then maybe some of my solutions will help if you get stuck on a problem.
But, like learning any new skill make sure you at least spend some time struggling with a problem that you do not understand, or re-read portions of The Little SAS Book that the problems test. You never know what you might learn and end up understanding better!

Chapter 1 - Getting Started with SAS

SAS basics such as accessing global options and creating new data sets with DATA steps, and creating new variables from existing variables.

Chapter 2 - Getting Your Data Into SAS

Exercises on list, formatted, and column data inputs with INPUT statements, reading delimited raw data files, and creating data sets directly with DATALINES.

Chapter 3 - Working With Your Data

Creating new variables, IF-ELSE statements, FOR DO loops, SAS arrays, cumulative sums, RETAIN statements.

Chapter 4 - Sorting, Printing, and Summarizing Your DATA

Introduction to different procedures such as PROC SORT, PROC MEANS, PROC TABULATE, and PROC REPORT. Brief Introduction to creating custom reports with DATA _NULL_ steps and PUT statements.

About

SAS programs created based on exercises in The Little SAS Book

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SAS 100.0%