prior and posterior probability example - Search