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!
SAS basics such as accessing global options and creating new data sets with DATA steps, and creating new variables from existing variables.
Exercises on list, formatted, and column data inputs with INPUT statements, reading delimited raw data files, and creating data sets directly with DATALINES.
Creating new variables, IF-ELSE statements, FOR DO loops, SAS arrays, cumulative sums, RETAIN statements.
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.