Generating sum of rolling data using the Lag function

Rolling Data also known as Moving average is a time-based calculation to get an insight into trends for a defined period of time.
If the time frame for the moving average is 12 months, the data that is 13 months old be dropped and the new month’s data will be added.

Operators and Numeric Functions

SAS Numeric functions and Operators

SAS Numeric functions are used to carry out tasks such as rounding numbers, computing dates from month-day-year values, summing and averaging the values of SAS variables, and many more.

Learn SAS free

How to learn SAS Programming online for free?

9to5sas is a comprehensive online resource featuring free content exclusively for students interested in learning SAS. You can go by the 6-week learning guide and turn yourself right into a proficient SAS programmer.

SAS Macros

An Introduction to SAS Macro Programming

Macros can automatically generate SAS codes and allow you to make more dynamic and generalized SAS programs. Macros can help to greatly reduce the effort required to read or write repetitive SAS codes.

Data set Options in SAS

Data set Options in SAS

In SAS the data set is the most important part of analyses, and it is crucial that you know all sorts of things about the data.
SAS has a multitude of data set options which will help you to accomplish your goals while working with the datasets.
Data set options are used to modify how a data set is either read or written. There are over three dozen of these options, and while you will generally only make use of a hand full of them, you should have a good idea of their scope.

Receive the latest articles in your inbox

Insert your email signup form below

🤞 Don’t miss these tips!

We don’t spam! Read more about our privacy policy.