Markov Model for Loss Forecasting – Implementation in SAS Here’s the sas code that implements the markov model for loss forecasting: View the code on Gist.