How to programme in Matlab to obtain transition probability matrix from sequence of data?

1 vue (au cours des 30 derniers jours)
Ram k
Ram k le 3 Mai 2016
Modifié(e) : Ram k le 4 Mai 2016
Suppose I have a sequence of states like 5,5,1,5,4,1,2,3,5,5,1,5. How to programme in Matlab to obtain Transition probability matrix.

Réponses (1)

Steven Lord
Steven Lord le 3 Mai 2016
Look at the Hidden Markov Models functions in Statistics and Machine Learning Toolbox.
  1 commentaire
Ram k
Ram k le 4 Mai 2016
Modifié(e) : Ram k le 4 Mai 2016
But this Markov chain follows 1-step transition probabilities i.e. probability distribution of next state depends only on current state and not on previous state, so I don't want to go HMM.

Connectez-vous pour commenter.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by