Clear Log and Results Viewer

Clear Log and Results Viewer

When we work in SAS, we want to keep track of the submitted code and output. Therefore, it is crucial to know your log and results viewer well. Because they can get messy. Your log can be filled with millions of lines. Also, your results viewer can contain much...
Save Statistics in Macro Variables

Save Statistics in Macro Variables

Statistical analysis in SAS often requires the use of several SAS procedures and data steps. It is often useful to perform some computation and use the result in the following procedure or data step. For this purpose, you should know how to pass these results or...
Descriptive Statistics With PROC MEANS and SAS/IML

Descriptive Statistics With PROC MEANS and SAS/IML

Knowing your data well is crucial for any statistical analysis. Therefore you should always start by looking at your data graphically and calculating basic descriptive statistics to get an idea of how your data is shaped. First, this post shows how to compute basic...