I have a sequence like this:
6666666666677777777777777777666666644444444444444447777777
I would like to calculate the probability of transitions between numbers.
I tried with counting pairs (67, 76, 64...) and dividing them with the number off all pairs. I'm wondering is this approach valid? Any ides on some other approach ?