• We are pleased to announce that the winner of our Feedback Prize Draw for the Winter 2024-25 session and winning £150 of gift vouchers is Zhao Liang Tay. Congratulations to Zhao Liang. If you fancy winning £150 worth of gift vouchers (from a major UK store) for the Summer 2025 exam sitting for just a few minutes of your time throughout the session, please see our website at https://www.acted.co.uk/further-info.html?pat=feedback#feedback-prize for more information on how you can make sure your name is included in the draw at the end of the session.
  • Please be advised that the SP1, SP5 and SP7 X1 deadline is the 14th July and not the 17th June as first stated. Please accept out apologies for any confusion caused.

MLE of Binomial

S

shrutigupta17

Member
When I am finding the MLE of Binomial distribution with parameters n and p:

I am confused at this step:

L(p) = ∏ (n xi) ( p^xi ) ( (1-p)^(n-xi) )

then it changes to :

ln L(p) = constant x [∑xi x ln (p)] x [∑(n-xi) x ln (1-p)]

In this equation ln (1-p) is multiplied by ∑(n-xi) = n² -∑ xi, but all books say n-∑xi

Can anyone please explain me where am I going wrong?

Cheers
S
 
Hello Shruti,

The problem is we n samples, from a Bi(>>M<<,p) distribution, so the likelihood function you have written down is incorrect, it should be L(p) = ∏(i=1->n) (m xi) ( p^xi ) ( (1-p)^(m-xi) . I wont do any more because you obviously know what you're doing, you just made a minor slip up.

Best of luck for the forthcoming exam.
 
Hello Shruti,

The problem is we n samples, from a Bi(>>M<<,p) distribution, so the likelihood function you have written down is incorrect, it should be L(p) = ∏(i=1->n) (m xi) ( p^xi ) (1-p)^(m-xi) . I wont do any more because you obviously know what you're doing, you just made a minor slip up.

Best of luck for the forthcoming exam.

Hey, Thanks for the help. However when I tried evaluating the ∏(1-p)^(m-xi) part I had a slight problem:

L(p) = ∏(i=1->n) (m xi) ( p^xi ) (1-p)^(m-xi)

the last part is: (1-p)^(m-x1) * (1-p)^(m-x2) * .............* (1-p)^(m-xn)

Now when we add up the coefficients we should get nm - ∑(i=1->n) xi ,
however the books say m - ∑(i=1->n) xi, which I didnt understand.

Thanks in advance

Cheers
 
Hey, Thanks for the help. However when I tried evaluating the ∏(1-p)^(m-xi) part I had a slight problem:

L(p) = ∏(i=1->n) (m xi) ( p^xi ) (1-p)^(m-xi)

the last part is: (1-p)^(m-x1) * (1-p)^(m-x2) * .............* (1-p)^(m-xn)

Now when we add up the coefficients we should get nm - ∑(i=1->n) xi ,
however the books say m - ∑(i=1->n) xi, which I didnt understand.

Thanks in advance

Cheers

Why are you expanding the product literally? It's alot easier if you maximise the logL(p) and use the fact that the log of a product is equal to the sum of the logs. You should have Sum(i=1->n) [Log (m xi) + xiLogp + (m-xi)log(1-p)]. Differentiating that with respect to p gives the required answer
 
Last edited by a moderator:
Why are you expanding the product literally? It's alot easier if you maximise the logL(p) and use the fact that the log of a product is equal to the sum of the logs. You should have Sum(i=1->n) [Log (m xi) + xiLogp + (m-xi)log(1-p)]. Differentiating that with respect to p gives the required answer

Thanks Devon, it really helped me....all the best for the exams
 
Back
Top