From Wikipedia, the free encyclopedia  View original article
Regression analysis 

Models 

Estimation 
Background 
A mixed model is a statistical model containing both fixed effects and random effects, that is mixed effects. These models are useful in a wide variety of disciplines in the physical, biological and social sciences. They are particularly useful in settings where repeated measurements are made on the same statistical units (longitudinal study), or where measurements are made on clusters of related statistical units. Because of their advantage to deal with missing values, mixed effects models are often preferred over more traditional approaches such as repeated measures ANOVA.
Ronald Fisher introduced random effects models to study the correlations of trait values between relatives.^{[1]} In the 1950s, Charles Roy Henderson provided best linear unbiased estimates (BLUE) of fixed effects and best linear unbiased predictions (BLUP) of random effects.^{[2]}^{[3]}^{[4]}^{[5]} Subsequently, mixed modeling has become a major area of statistical research, including work on computation of maximum likelihood estimates, nonlinear mixed effect models, missing data in mixed effects models, and Bayesian estimation of mixed effects models. Mixed models are applied in many disciplines where multiple correlated measurements are made on each unit of interest. They are prominently used in research involving human and animal subjects in fields ranging from genetics to marketing, and have also been used in industrial statistics.^{[citation needed]}
In matrix notation a mixed model can be represented as
where
The joint density of and can be written as: . Assuming normality, , and , and maximizing the joint density for and , gives Henderson's "mixed model equations" (MME):^{[6]}^{[2]}^{[4]}
The solutions to the MME, and are best linear unbiased estimates (BLUE) and predictors (BLUP) for and , respectively. This is a consequence of the GaussMarkov theorem when the conditional variance of the outcome is not scalable to the identity matrix. When the conditional variance is known, then the inverse variance weighted least squares estimate is BLUE. However, the conditional variance is rarely, if ever, known. So it is desirable to jointly estimate the variance and weighted parameter estimates when solving MMEs.
One method used to fit such mixed models is that of the EM algorithm^{[7]} where the variance components are treated as unobserved nuisance parameters in the joint likelihood. Currently, this is the implemented method for the major statistical software packages R (lme in the nlme library) and SAS (proc mixed). The solution to the mixed model equations is a maximum likelihood estimate when the distribution of the errors is normal.^{[8]}^{[9]}