If a parameter θ∈Θ can be expressed in terms of the moments of the population PX;θ then θ can be estimated by equating the population moments with their corresponding sample moments using the method of moments:
Given a random sample X distributed according to the population PX;θ and assuming θ contains k parameters to be estimated, the first k sample moments are calculated.
The sample moments are equated with their corresponding population moments.
The system of equations is solved to find the unknown θ.
Given an observed random sample x of size n from a population PX;θ with pdf fX;θ(x;θ), the likelihood function L(θ∣x) is the joint pmf or pdf of x expressed in terms of θ:
L(θ∣x)=fX;θ(x;θ)
Given that X contains iid random variables then the likelihood can be expressed as:
L(θ∣x)=i=1∏nfX;θ(xi;θ)
In the case where X contains independent but not identically distributed random variables, the likelihood is:
L(θ∣x)=i=1∏nfX;θ,i(xi;θ)
The maximum likelihood estimate (MLE) θ^(x) is the value of θ that maximises the likelihood for a given x:
θ^(x)=θ∈ΘargmaxL(θ∣x)
The likelihood function often contains exponential terms. The log-likelihood function is defined as:
ℓ(θ∣x)=logeL(θ∣x)
Because the logarithm is a strictly increasing function and the likelihood is positive then θ^(x) also maximises the log-likelihood ℓ(θ∣x) and is often more practical to maximise:
θ^(x)=θ∈Θargmaxℓ(θ∣x)
The maximum likelihood estimator (also MLE) is the estimator θ^(X).
Under the regularity conditions and some further smoothness, the maximum likelihood estimator has the following asymptotic properties, which make it the default estimator in parametric models:
it is consistent, θ^(X)pθ;
it is asymptotically normal with asymptotic variance equal to the reciprocal of the Fisher information, n(θ^(X)−θ)dN(0,I(θ)1), so it is asymptotically efficient;
it is invariant: if θ^ is the maximum likelihood estimate of θ then g(θ^) is the maximum likelihood estimate of g(θ) for any function g.
The maximum likelihood estimator is in general biased for finite n; for example, the maximum likelihood estimate of a normal variance is n1∑i=1n(xi−x)2 rather than the unbiased sample variance. The observed Fisher information −ℓ′′(θ^∣x) is a consistent estimate of nI(θ) and gives the approximate standard error se(θ^)≈(−ℓ′′(θ^∣x))−21.