PROBABILITY AND STATISTICS/Student Engineering Notebook
Page 10·notes
SAMPLING DISTRIBUTIONS & MAXIMUM LIKELIHOOD ESTIMATION—~32 MIN READ

Point Estimation: Maximum Likelihood Estimation (MLE)

MLE and method of moments are optional enrichment beyond the named GATE 2027 DA list

“Likelihood functions, log-likelihood optimization, score function, Hessian concavity, and estimator properties.”

1.The Principle of Maximum Likelihood

Given observed data x_1, x_2, ..., x_n drawn i.i.d. from a parametric distribution with parameter vector theta, point estimation seeks the single optimal numerical estimate theta_hat.

Likelihood vs Probability:

While probability f(x | theta) views theta as fixed and evaluates the probability of outcomes x, the likelihood function L(theta | x) views observed data x as fixed and evaluates the plausibility of parameter values theta.

Log-Likelihood Simplification:

Because the natural logarithm is a strictly monotonically increasing function, maximizing L(theta) is mathematically identical to maximizing the log-likelihood l(theta) = ln L(theta):

l(theta) = Sum_{i=1}^n ln f(x_i; theta).

Converting products into sums drastically simplifies differential calculus.

WORKED EXAM ANALYSIS · STEP-BY-STEP DERIVATION

2. Worked Practice Problem: Gaussian MLE Derivation

⚠️ Pitfall Warning:

Notice that the MLE estimator for variance sigma^2 divides by n, not n-1.

Problem: For an i.i.d. sample x1, x2, ..., xn drawn from N(mu, sigma^2), derive the Maximum Likelihood Estimator for the mean parameter mu.

Step 1: Write the Gaussian likelihood function:

L(mu) = Product_{i=1}^n [ 1 / (sigma sqrt(2pi)) ] exp[ - (x_i - mu)^2 / (2 sigma^2) ]

L(mu) = (2 pi sigma^2)^{-n/2} exp[ - (1 / (2 sigma^2)) * Sum_{i=1}^n (x_i - mu)^2 ]

Step 2: Take the natural logarithm to form the log-likelihood l(mu):

l(mu) = - (n / 2) ln(2 pi sigma^2) - [ 1 / (2 sigma^2) ] * Sum_{i=1}^n (x_i - mu)^2

Step 3: Differentiate with respect to mu and set to zero:

d l(mu) / d mu = - [ 1 / (2 sigma^2) ] Sum_{i=1}^n [ 2 (x_i - mu) (-1) ] = 0

= [ 1 / sigma^2 ] * Sum_{i=1}^n (x_i - mu) = 0

Step 4: Solve for mu:

Sum_{i=1}^n x_i - n mu = 0 => n mu = Sum_{i=1}^n x_i

mu_hat_{MLE} = (1 / n) * Sum_{i=1}^n x_i = X_bar

Conclusion: The Maximum Likelihood Estimator for the Gaussian mean is the sample mean X_bar.

WORKED NUMERICAL · STUDENT DERIVATION✎ Key Takeaway: For a Bernoulli, the MLE is the sample proportion; for an exponential, λ̂ = 1/x̄.

Worked example: maximum likelihood for a Bernoulli

Problem Statement:
The observations 1, 0, 1, 1, 0 come from a Bernoulli(p). Find the MLE of p.
Step 1: Likelihood

L(p) = p³(1 − p)²: three successes and two failures.

Step 2: Log-likelihood

ℓ(p) = 3 ln p + 2 ln(1 − p).

Step 3: Set the derivative to zero

3/p − 2/(1 − p) = 0 gives 3 − 3p = 2p.

↳ Result: p = 3/5
Final Answer:p̂ = 0.6
STUDENT PRACTICE · CONCEPT DRILL

Practice: test yourself

Original practice questions in the GATE style, with worked explanations. Not past-paper questions.

Problem 1 · TRICKY

Data comes from Uniform(0, θ). What is the method-of-moments estimate of θ?

Problem 2 · GATE-LEVEL

Why does the unbiased sample variance divide by n − 1?

Problem 3 · FOUNDATION

Exponential data with sample mean 4. What is the MLE of the rate λ?

SOURCE TRANSPARENCY & CITATIONS

Primary Academic References & Exam Sources

Every concept in Notes From a B.Tech Brain is synthesized from authoritative academic texts, seminal peer-reviewed research, verified exam archives, and renowned university lectures.

Curated University Lecture Series
All of Statistics: A Concise Course in Statistical Inference ·
LECTURE SERIES