Posts

Showing posts from July, 2014

SAS procedures those I have used

Proc Print  Data=Example_Data;Run; This procedure is very helpful for me when I want to glance the data to get a sense how do it look and to validate output of any code. This can be used with options like obs=N to print only top N observations. When firstobs=M option is used with   obs=N  (where N>M) along with the print procedure it prints observations from M to N. So you can view observations irrespective of   its order in the dataset.  Proc expand:  A year back I had used a procedure called Proc Expand to impute missing values in time series data and also to convert data from high level to lower level such as from week level to day level or low level to high level such as week to month. This procedure is very handy when we want to impute missing values in time series data of thousand of the line item.  In other words if we have panel data then we can use it.  Its syntax is very simple. It uses extrapolation and interpolation te...