Restricted maximum likelihood


In statistics, the restricted maximum likelihood approach is a particular form of maximum likelihood estimation that does not base estimates on a maximum likelihood fit of all the information, but instead uses a likelihood function calculated from a transformed set of data, so that nuisance parameters have no effect.
In the case of variance component estimation, the original data set is replaced by a set of contrasts calculated from the data, and the likelihood function is calculated from the probability distribution of these contrasts, according to the model for the complete data set. In particular, REML is used as a method for fitting linear mixed models. In contrast to the earlier maximum likelihood estimation, REML can produce unbiased estimates of variance and covariance parameters.
The idea underlying REML estimation was put forward by M. S. Bartlett in 1937. The first description of the approach applied to estimating components of variance in unbalanced data was by Desmond Patterson and Robin Thompson of the University of Edinburgh in 1971, although they did not use the term REML.
A review of the early literature was given by Harville.
REML estimation is available in a number of general-purpose statistical software packages, including Genstat, SAS, SPSS, Stata, JMP, and R,
as well as in more specialist packages such as MLwiN, , ASReml, , , Statistical Parametric Mapping and .
REML estimation is implemented in a Matlab toolbox for the statistical analysis of univariate and multivariate surface and volumetric neuroimaging data using linear mixed effects models and random field theory.