Python Forum
Estimating transition matrices in python - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Data Science (https://python-forum.io/forum-44.html)
+--- Thread: Estimating transition matrices in python (/thread-26817.html)



Estimating transition matrices in python - Shreya10o - May-14-2020

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!


RE: Estimating transition matrices in python - Larz60+ - May-14-2020

The author's GitHub repository for this package contains several jupyter notebooks here:
https://github.com/open-risk/transitionMatrix/tree/master/examples/notebooks
These (although brief) show the code used to create the examples.