Most users have tried to convert variables SAS. Too few of them does it right though. This post shows you the wrong and the right way to convert from numeric to character.

Most users have tried to convert variables SAS. Too few of them does it right though. This post shows you the wrong and the right way to convert from numeric to character.

It is often convenient to clear the log and the results window in SAS and work fom a clean slate. This post shows how to do this using SAS code.

Most users have tried to convert variables SAS. Too few of them does it right though. This post shows you the wrong and the right way to convert from character to numeric.

Using SAS Procedures to calculate statistical sizes, you often need to save them for later analysis. CALL SYMPUTX does this efficiently.

Moving Averages are frequently used when dealing with time series data. This post shows examples of creating moving averages in SAS, using the Data Step, SAS/IML and PROC EXPAND

This post demonstrates how to calculate simple descriptive statistics with SAS Procedues and the IML language.

The Central Limit Theorem is one of the most fundamental parts of statistics. Get a visual demonstration of the theorem here.

The amount of output from even small SAS procedures can be overwhelming. Take control of your output with ODS trace and ODS Select/Exclude Statements.

Knowing your data well is one of the first steps in many statistical applications. Assessing the distribution of single variables is one way of getting to know your data. This post presents an example of doing so with PROC UNIVARIATE.

Most SAS users are familiar with the data step LAG function to look back on previous observations. Since the data step does not support a LEAD function, fewer SAS users are familiar with looking ahead in a dataset. This post presents different approaches of doing so, some more efficient than others.