In reply to Jon Dickens.

This article and the companion article from 07JUL2016 have many links. You can look at Chen 2016 and his previous SAS Global Forum papers for an example of estimating the transition probabilities from data.