Almost all examples I can found on Markov chain and python are giving the transition matrix as known. Is there any library that can fit the transition matrix from the series of state observations?

  • 1
    $\begingroup$ question answered here The code in the answer is written in R language but it is short and I think easily re-coded in python. $\endgroup$ – John L Feb 19 at 17:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.