In a previous post, I demonstrated how to replace missing values with zero. Now, we generalize things a bit as I show you how to replace them with group means or any group statistic you might like.

In a previous post, I demonstrated how to replace missing values with zero. Now, we generalize things a bit as I show you how to replace them with group means or any group statistic you might like.

SAS ODS Style Option There are many ways to alter how your SAS output looks. Whether you want to alter how your graphs, tables or other output looks, it is important to understand how SAS controls the visual characteristics of your output. First

This post shows you how to convert a date stored as a character value into a valid SAS date using the INPUT function.

Split Dataset By Group in SAS When you have a SAS data set with multiple levels of a class variable, you may want to split up that dataset by group. This is fairly easy if you know the different levels of the class

Beginner Tips, Data Manipulation, Finance, Graph, Linear Modelling, ODS, Regression, SAS/IML, Simulation, Statistics, Time Series,

Learning SAS programming, I like to learn new stuff and to learn more about the subjects I am already familiar with. SAS books is a great way to do this. Here are the SAS books on my shelf.

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