Let denote the mattress count and the event of undisturbed sleep. Use the intended model in which the presence of the pea is independent of , with probability , and without a pea sleep is undisturbed. Conditioning on gives
The law of total probability and the equal prior probabilities give
By Bayes' theorem, the posterior probabilities of given are respectively . Therefore the conditional expectation is
Undisturbed sleep shifts the posterior toward larger mattress counts because those counts make the observation more likely.

Articles by others on the same topic (0)

There are currently no matching articles.