Home

Maximum Likelihood Estimation

Estimate normal or Bernoulli parameters by maximum likelihood.

展开更多 ▾
L(θ)=∏ f(xᵢ;θ), maximize

📖 Tutorial | Maximum Likelihood Estimation

1. Definition
Maximum Likelihood Estimation (MLE) picks θ maximizing the likelihood L(θ)=∏f(xᵢ;θ). For normal: μ̂=sample mean, σ̂²=variance ÷n (biased).
2. Symbols
SymbolMeaning
L(θ)likelihood function
μ̂MLE of normal mean
σ̂²MLE of normal variance (÷n)
p̂MLE of Bernoulli p
3. How it works
  • Write the likelihood and take logs;
  • Differentiate and set to zero;
  • Normal: μ̂=mean, σ̂²=Σ(xᵢ−x̄)²/n;
  • Bernoulli: p̂=success proportion.
4. Steps
  1. Choose a distribution;
  2. Enter sample data;
  3. Click Calculate;
  4. Distinguish MLE (÷n) from unbiased (÷n−1).
5. Example
Example: normal data 2,4,4,6,6,6,8,8,10. μ̂=6, σ̂²=48/9≈5.333.
6. Pitfalls
MLE variance divides by n, unlike unbiased sample variance (÷n−1);
MLE is consistent but not always unbiased;
Bernoulli data should be 0/1.

❓ FAQ | Maximum Likelihood Estimation

MLE vs unbiased?
MLE variance divides by n (biased); unbiased uses ÷n−1.
What is the normal MLE?
μ̂=sample mean, σ̂²=Σ(xᵢ−x̄)²/n.
What is the Bernoulli MLE?
p̂=successes/trials, the sample mean.
Is MLE always unbiased?
No, e.g. normal variance MLE is biased but consistent.
Why take logs?
Log-likelihood turns products into sums; easier to differentiate, same optimum.