https://pvillage.org/archives/8178
How do you calculate marginal probability?