vendredi 5 avril 2019

Create a random walk from transition matrix and plot it

I have a transition matrix with 4 rows and 16 columns, containing the probability to transition from one Wikipedia article to another. The sum of my rows have been normalised to equal 1.

How can I create a random walk (markov) on this transition matrix?

Then, how can I plot it?




Aucun commentaire:

Enregistrer un commentaire