I collected some sequences of events, e.g.
a,b,c
a,a,a,c,a,b,b
c,b,b,c,a
b,c,a
a,b,c,a
Each event has a certain probability to create the next event, but later events do not depend on other events than the one before, e.g. the graph that can be constructed from the data has the markov property.
From this data a transition matrix can be calculated:
$$ P = \left( \begin{array}{ccc} 0.33 & 0.5 & 0.16\\ 0 & 0.33 & 0.66 \\ 0.8 & 0.2 & 0 \end{array} \right) $$
(if i did not miscalculated anything...)
When I now get a new sequence, is it possible to calculate the probability that this sequence is similar to previous sequences?
Can I just multiply the transition probabilities for a new sequence? For example a,b,b
would give me $0.5 \cdot 0.33$?