Solution (source code)

= Solution

If $\pi_0=\mathbb P(H_0)$ and $\pi_1=\mathbb P(H_1)=1-\pi_0$, the <prior odds> on the <null hypothesis> are
$$
\boxed{O_{01}=\frac{\pi_0}{\pi_1}.}
$$
These odds concern which model is true before seeing the observations. They are separate from the <prior distribution> of the success probability within the alternative model.