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...
When you deal with data in SAS, you will often face the challenge of converting a variable. A SAS variable can either be numeric or character. This is called the type of the variable. Once SAS assigns a type to a variable, it remains. So when we want to convert...
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...
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...