x ts t r , x id t n r , , is the full likelihood of observing all N sequences under our model. Note here, that the probabilities P are dependent on the sequence-dependent transition and transversion rates (a, b) n and the selection factors (f 1 , f 2 , f 3 ) R which in turn are not dependent on n, since we are assuming selection to occur on the gene in the ancestral sequence.