Study Vault Search notes, aliases and full text
Graph
ConceptDBISAI-written · not yet proofread

Maximum Likelihood Estimation

Also MLE · Maximum Likelihood

Maximum likelihood estimation chooses the model parameters under which the observed data has the largest probability, here the multinomial distribution that makes an observed sequence of outcomes most likely.

Know these firstLagrange Multipliers

Formula#

For a die with outcomes 1,…,d1, \dots, d and probabilities p1,…,pdp_1, \dots, p_d (constraint ∑ipi=1\sum_i p_i = 1) and cic_i = number of rolls with outcome ii, independent rolls give

L(p)=∏ipici,ln⁡L=∑iciln⁡pi.L(p) = \prod_i p_i^{c_i}, \qquad \ln L = \sum_i c_i \ln p_i.

With a Lagrange multiplier: ∂/∂pi [∑jcjln⁡pj+λ(1−∑jpj)]=ci/pi−λ=0\partial/\partial p_i \,[\sum_j c_j \ln p_j + \lambda(1 - \sum_j p_j)] = c_i/p_i - \lambda = 0, so pi∝cip_i \propto c_i and

p^i=ciN.\hat p_i = \frac{c_i}{N}.

The MLE is the relative frequency. This is also how the n-gram models of DBIS_VL12 are “learned” by counting.

Example#

Sources#

  • WS 13/14 Task 5.3 (not published)
  • Not covered in the WS 25/26 lectures.

Search

Type In
↑ ↓ move ↵ open ⇥ next section Ctrl↵ results page Prefix # to search text only