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
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