MATH6174 Chap.5 Estimation, Likelihood and Maximum Likelihood
Estimation, Likelihood and Maximum Likelihood
Estimation, Likelihood and Maximum Likelihood moves from probability to inference. The data are treated as observations of random variables whose distribution is known up to an unknown parameter, and an estimator is a function of the data used to estimate it.
Estimators are compared through bias, the difference between the expected value and the parameter, and mean squared error, which equals the variance plus the squared bias. The method of moments matches sample moments to theoretical ones and solves for the parameters; it is quick and sometimes the only closed-form option, as in the class test that asked for moment estimators of a two-parameter model.
The likelihood is the joint density of the observed data viewed as a function of the parameter, and for independent observations it is a product, so the log-likelihood is a sum. The maximum likelihood estimate is the parameter value that maximises it.
When the log-likelihood is smooth and the maximum lies inside the parameter space, the estimate is a stationary point found by setting the derivative to zero and checking the second derivative is negative. When the support of the data depends on the parameter, as for a uniform distribution on zero to theta, the likelihood is maximised at a boundary instead and differentiation gives the wrong answer.
Maximum likelihood is invariant: the estimate of g(theta) is g applied to the estimate of theta. With several parameters, profile likelihood maximises over the nuisance parameters for each value of the parameter of interest, reducing the problem to one dimension.
What this chapter covers
- 01
Estimators, bias and mean squared error
- 02
The method of moments
- 03
Likelihood and log-likelihood for independent samples
- 04
Stationary-point maximum likelihood estimates
- 05
Boundary maxima when the support depends on the parameter
- 06
Invariance of maximum likelihood estimates
- 07
Profile likelihood and nuisance parameters
Worked example · free
Find the maximum likelihood estimator for a power-law density
- 2The likelihood is the product of theta xᵢ to the power theta - 1, so the log-likelihood is n log theta + (theta - 1) times the sum of log xᵢ.
- 1Differentiate: n/theta + sum of log xᵢ. Each log xᵢ is negative because 0 < xᵢ < 1.
- 2Set the derivative to zero: the estimator is -n divided by the sum of log xᵢ, which is positive.
- 1The second derivative is -n/theta squared, negative for every theta, so the stationary point is the global maximum.
Key terms
- Estimator
- A function of the random sample used to estimate an unknown parameter, itself a random variable.
- Mean squared error
- The expected squared distance from estimator to parameter, equal to variance plus squared bias.
- Method of moments
- An estimation method that equates sample moments to theoretical moments and solves for the parameters.
- Profile likelihood
- The likelihood maximised over nuisance parameters for each fixed value of the parameter of interest.
Estimation, Likelihood and Maximum Likelihood FAQ
Why maximise the log-likelihood instead of the likelihood?
The logarithm is strictly increasing, so both have the same maximiser. For independent data the likelihood is a product, and its logarithm is a sum, which is far easier to differentiate. Products of many small densities are also numerically tiny, while sums of logs are well behaved.
When does setting the derivative to zero fail?
It fails when the maximum sits on the edge of the parameter space or when the support of the data depends on the parameter. For a uniform model on zero to theta the likelihood is one over theta to the power n for theta at least the largest observation, so it is maximised at that largest value, where the derivative is not zero.
Is the maximum likelihood estimator always unbiased?
No. The exponential rate estimator, n over the sum of the observations, is biased, and the variance estimator that divides by n is biased downwards. Maximum likelihood estimators are usually consistent and asymptotically unbiased, which is the property Chapter 7 relies on.
What is profile likelihood used for?
It handles nuisance parameters. For each value of the parameter of interest, the likelihood is maximised over the others, leaving a function of one parameter that can be maximised or used to build an interval. For a normal sample, profiling out the mean replaces it by the sample mean in the likelihood for the variance.
Exam move
Take each model on the third exercise sheet through the same four lines: likelihood as a product, log-likelihood as a sum, derivative set to zero, and second-derivative check. Add one boundary case, a uniform or shifted exponential, so that you recognise when the support depends on the parameter. Finish by computing the bias and mean squared error of two competing estimators for the same model.
Working through Estimation, Likelihood and Maximum Likelihood in MATH6174? Sia is AskSia’s AI Statistics tutor — ask any MATH6174 Estimation, Likelihood and Maximum Likelihood question and get a clear, step-by-step explanation grounded in how MATH6174 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.