Hi everyone,
I would like to model microsatellite data, i.e. my data consists of lengths (integers) of N microsatellite loci for each of M species.
I can define a transition matrix for the simplest model, in which microsatellites can only change length by + or - 1, by using a rate matrix with zeros everywhere other than the + or - 1 diagonals. My question is: how can I define a more complex model in which, for example, jumps of a larger size can occur with some probability dependent on the size of the jump? This would correspond to a rate matrix where each diagonal has a different value, something like the following:
0 a b c
a 0 a b
b a 0 b
c b a 0
Thanks in advance,
Anne-Marie