High School Question about transition matrix of Markov chain

Click For Summary
SUMMARY

The discussion centers on the conventions used for transition matrices in Markov chains. Two matrices are presented: matrix A, where the columns represent the current state and the rows represent the future state, and matrix B, which is the transpose of matrix A. The key conclusion is that both conventions are valid, but consistency in usage is crucial for accurate results. The preference for multiplying the transition matrix with a column vector on the right aligns with matrix A.

PREREQUISITES
  • Understanding of Markov chains and their properties
  • Familiarity with matrix operations and transposition
  • Knowledge of vector multiplication conventions
  • Basic concepts of probability theory
NEXT STEPS
  • Research the implications of different conventions in Markov chain modeling
  • Learn about the adjoint method in Markov processes
  • Explore the application of transition matrices in real-world scenarios
  • Study the differences between left and right multiplication of matrices
USEFUL FOR

Students and professionals in mathematics, statistics, and data science who are working with Markov chains and need clarity on transition matrix conventions.

songoku
Messages
2,508
Reaction score
402
TL;DR
Transition matrix is matrix that shows the probability of going into future state from a certain current state
The note I get from the teacher states that for transition matrix, the column part will be current state and the row part will be future state (let this be matrix A) so the sum of each column must be equal to 1. But I read from another source, the row part is the current state and the column part is the future state (let this be matrix B) so the sum of row is equal to 1. Matrix B is transpose of matrix A but when I try to multiply each of them with other matrix (matrix of the current value of observation), I get different results

https://www.dartmouth.edu/~chance/teaching_aids/books_articles/probability_book/Chapter11.pdf

That link states that the row part is the current state and the column part is the future state

https://www.math.ucdavis.edu/~dadde...tions/MarkovChain/MarkovChain_9_18/node1.html

The second link states that the column part will be current state and the row part will be future state

So which one is correct, matrix A or matrix B? Or maybe I am missing something?

Thanks
 
Physics news on Phys.org
It's a matter of convention. Do you prefer to multiply the transition matrix with a column vector on the right or with a row vector on the left?
It's unfortunate that there are places where people didn't agree on a single convention, but as long as you keep the convention consistent within your work it will give the right result.
 
  • Like
Likes Klystron, songoku and Dale
mfb said:
It's a matter of convention. Do you prefer to multiply the transition matrix with a column vector on the right or with a row vector on the left?
Oh I see. I prefer to multiply the transition matrix with a column vector on the right side of transition matrix so the one I use should be matrix A, correct?

Thanks
 
Thank you very much mfb
 
This brings up a related issue. One can iterate a Markov chain $p(i,t+1)=\sum_j T_{i,j) p(j,t)$ from $t=0$ to $t=N$, i.e. in vector form $p(t+1)=T p(t)$ and then make the measurement $c=(q(N),p(N))$, where $(\cdot , \cdot)$ is the $l^2$ inner product. Or you could advance the measurement vector q(N) \emph{backwards} by the transpose $T^T$ of the transition matrix $T$, and then take the inner product at $t=0$. This is a basic adjoint method. Have such adjoint methods been used in Markov processes?
 
If there are an infinite number of natural numbers, and an infinite number of fractions in between any two natural numbers, and an infinite number of fractions in between any two of those fractions, and an infinite number of fractions in between any two of those fractions, and an infinite number of fractions in between any two of those fractions, and... then that must mean that there are not only infinite infinities, but an infinite number of those infinities. and an infinite number of those...

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
24
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 20 ·
Replies
20
Views
5K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K