matsarou / bayes

0 stars 0 forks source link

The whitehouse problem #1

Open matsarou opened 4 years ago

matsarou commented 4 years ago

What is the probability that any famous person (like Shaq) can drop by the White House without an appointment?

Problem statement One attempt to get into the White House represents one trial. n: the number of trials y: the number of observed successes p: the probability of success

Solution step 1. define hypotheses, they are the alternative hypotheses for p = a range in [0,1] step 2. find the prior densities, (a probability density shows the belief that each hypothesis is true) step 3. gather the data - one attempt with fail or success. step 4. determine the likelihood of the observed data, assuming each hypothesis is true. step 5. compute the posterior densities for each value of p (using the Bayes theorem)

matsarou commented 4 years ago