where U 0 represents the selective state at the root. The switching model effectively defines a prior distribution over histories, which tends to favor simpler histories over more complex ones (typically h nbe ,0.5). The prior probability for each element of h is defined by a (conjugate) Beta distribution with parameters a and b (here, a = 1, b = 9). Because these elements are independent in the prior,