Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Maximum likelihood estimation
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Discrete distribution, continuous parameter space === Now suppose that there was only one coin but its {{mvar|p}} could have been any value {{nowrap| 0 β€ {{mvar|p}} β€ 1 .}} The likelihood function to be maximised is <math display="block"> L(p) = f_D(\mathrm{H} = 49 \mid p) = \binom{80}{49} p^{49}(1 - p)^{31}~, </math> and the maximisation is over all possible values {{nowrap|0 β€ {{mvar|p}} β€ 1 .}} [[File:MLfunctionbinomial-en.svg|thumb|200px|Likelihood function for proportion value of a binomial process ({{mvar|n}} = 10)]] One way to maximize this function is by [[derivative|differentiating]] with respect to {{mvar|p}} and setting to zero: <math display="block">\begin{align} 0 & = \frac{\partial}{\partial p} \left( \binom{80}{49} p^{49}(1-p)^{31} \right)~, \\[8pt] 0 & = 49 p^{48}(1-p)^{31} - 31 p^{49}(1-p)^{30} \\[8pt] & = p^{48}(1-p)^{30}\left[ 49 (1-p) - 31 p \right] \\[8pt] & = p^{48}(1-p)^{30}\left[ 49 - 80 p \right]~. \end{align}</math> This is a product of three terms. The first term is 0 when {{mvar|p}} = 0. The second is 0 when {{mvar|p}} = 1. The third is zero when {{mvar|p}} = {{frac|49|80}}. The solution that maximizes the likelihood is clearly {{mvar|p}} = {{frac|49|80}} (since {{mvar|p}} = 0 and {{mvar|p}} = 1 result in a likelihood of 0). Thus the ''maximum likelihood estimator'' for {{mvar|p}} is {{frac|49|80}}. This result is easily generalized by substituting a letter such as {{mvar|s}} in the place of 49 to represent the observed number of 'successes' of our [[Bernoulli trial]]s, and a letter such as {{mvar|n}} in the place of 80 to represent the number of Bernoulli trials. Exactly the same calculation yields {{frac|{{mvar|s}}|{{mvar|n}}}} which is the maximum likelihood estimator for any sequence of {{mvar|n}} Bernoulli trials resulting in {{mvar|s}} 'successes'.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)