**An urn contains black and white balls, in unknown proportion. You pull balls with replacement. Observed sequence :

Question

What is the true proportion of black balls in the urn that best explains this sequence?

  • Let the probability of drawing a black ball :
  • Since there are 2 types of balls, the probability follows a Bernoulli distribution with .
  • Hence, the probability of drawing a white ball is .
  • The urn’s content doesn’t change and we draw with replacement, so the draws are i.i.d. (independent and identically distributed).
  • So, given , the probability of the sequence is
  • The likelihood function is viewed as the function of :
  • Likelihood measures how well fits the data in the Bernoulli model.