Python Forum

Full Version: Estimating transition matrices in python
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
There is a library for Markov chains and transition matrices in python. This is the link to its documentation.
But the documentation is rather vague and hasn't got proper examples. I was trying different things to make it work, but any input object I tried always showed an error. If someone has worked on Markov chain and transition matrices in python and could help me with this using this library or any other method to estimate transition matrices, please let me know! Thanks!
The author's GitHub repository for this package contains several jupyter notebooks here:
https://github.com/open-risk/transitionM.../notebooks
These (although brief) show the code used to create the examples.