Updating equations for the prior site type probabilities
We first derive the updating equations for the prior site type probabilities![$ f_s, s \in S$](img128.gif)
![$ t$](img143.gif)
![$ n_1,...,n_k$](img156.gif)
Now, for we use our current value for
, and if we further insert the expression for
(25.3) we get:
We get the updating equation for the prior site type probabilities,
, from equation 25.6: Let
index the sites in the alignment (
). Given the current values for the set of site frequencies,
, and the current values for the set of error probabilities, we obtain updated values for the site frequencies,
, by summing the site type probabilities given the data (as given by equation 25.6) across all sites in the alignment: