= Binomial proportion maximum-likelihood estimator
{title2=$\widehat p=K/n$}
For a <binomial count> $K\sim\operatorname{Bin}(n,p)$, $n\geq1$, with $p\in[0,1]$, the <maximum-likelihood estimator> is $\widehat p=K/n$. For $0<K<n$, differentiating $K\log p+(n-K)\log(1-p)$ gives a unique interior maximum. If $K=0$ or $K=n$, the maximum is respectively at zero or one. Excluding those endpoints from the <parameter space> means these samples have only a supremum, not an attained maximum. The estimate is unbiased and has <variance> $p(1-p)/n$, by the <binomial distribution> moments.
Back to article page