To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time. 4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Languages
Recent
Show all languages
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds # Mixed model

A mixed model, mixed-effects model or mixed error-component model is a statistical model containing both fixed effects and random 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 in dealing with missing values, mixed effects models are often preferred over more traditional approaches such as repeated measures ANOVA.

## History and current status

Ronald Fisher introduced random effects models to study the correlations of trait values between relatives. In the 1950s, Charles Roy Henderson provided best linear unbiased estimates (BLUE) of fixed effects and best linear unbiased predictions (BLUP) of random effects. Subsequently, mixed modeling has become a major area of statistical research, including work on computation of maximum likelihood estimates, non-linear mixed effects 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 baseball and industrial statistics.

## Definition

In matrix notation a linear mixed model can be represented as

${\boldsymbol {y}}=X{\boldsymbol {\beta }}+Z{\boldsymbol {u}}+{\boldsymbol {\epsilon }}$ where

• ${\boldsymbol {y}}$ is a known vector of observations, with mean $E({\boldsymbol {y}})=X{\boldsymbol {\beta }}$ ;
• ${\boldsymbol {\beta }}$ is an unknown vector of fixed effects;
• ${\boldsymbol {u}}$ is an unknown vector of random effects, with mean $E({\boldsymbol {u}})={\boldsymbol {0}}$ and variance–covariance matrix $\operatorname {var} ({\boldsymbol {u}})=G$ ;
• ${\boldsymbol {\epsilon }}$ is an unknown vector of random errors, with mean $E({\boldsymbol {\epsilon }})={\boldsymbol {0}}$ and variance $\operatorname {var} ({\boldsymbol {\epsilon }})=R$ ;
• $X$ and $Z$ are known design matrices relating the observations ${\boldsymbol {y}}$ to ${\boldsymbol {\beta }}$ and ${\boldsymbol {u}}$ , respectively.

## Estimation

The joint density of ${\boldsymbol {y}}$ and ${\boldsymbol {u}}$ can be written as: $f({\boldsymbol {y}},{\boldsymbol {u}})=f({\boldsymbol {y}}|{\boldsymbol {u}})\,f({\boldsymbol {u}})$ . Assuming normality, ${\boldsymbol {u}}\sim {\mathcal {N}}({\boldsymbol {0}},G)$ , ${\boldsymbol {\epsilon }}\sim {\mathcal {N}}({\boldsymbol {0}},R)$ and $\mathrm {Cov} ({\boldsymbol {u}},{\boldsymbol {\epsilon }})={\boldsymbol {0}}$ , and maximizing the joint density over ${\boldsymbol {\beta }}$ and ${\boldsymbol {u}}$ , gives Henderson's "mixed model equations" (MME) for linear mixed models:

${\begin{pmatrix}X'R^{-1}X&X'R^{-1}Z\\Z'R^{-1}X&Z'R^{-1}Z+G^{-1}\end{pmatrix}}{\begin{pmatrix}{\hat {\boldsymbol {\beta }}}\\{\hat {\boldsymbol {u}}}\end{pmatrix}}={\begin{pmatrix}X'R^{-1}{\boldsymbol {y}}\\Z'R^{-1}{\boldsymbol {y}}\end{pmatrix}}$ The solutions to the MME, $\textstyle {\hat {\boldsymbol {\beta }}}$ and $\textstyle {\hat {\boldsymbol {u}}}$ are best linear unbiased estimates (BLUE) and predictors (BLUP) for ${\boldsymbol {\beta }}$ and ${\boldsymbol {u}}$ , respectively. This is a consequence of the Gauss–Markov 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 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 package, or lmer in the lme4 package), Python (statsmodels package), Julia (MixedModels.jl package), and SAS (proc mixed). The solution to the mixed model equations is a maximum likelihood estimate when the distribution of the errors is normal.
{"ft_lang_label":"__label__en","ft_lang_prob":0.7654938,"math_prob":0.99399585,"size":5839,"snap":"2020-45-2020-50","text_gpt3_token_len":1453,"char_repetition_ratio":0.122365035,"word_repetition_ratio":0.01843318,"special_character_ratio":0.2791574,"punctuation_ratio":0.20178571,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9992717,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60],"im_url_duplicate_count":[null,null,null,null,null,10,null,null,null,10,null,null,null,null,null,10,null,10,null,null,null,10,null,10,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,10,null,10,null,10,null,10,null,null,null,null,null,10,null,10,null,10,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-27T18:21:12Z\",\"WARC-Record-ID\":\"<urn:uuid:2de13a82-f3fe-456d-bd15-1741b79c3d5a>\",\"Content-Length\":\"100616\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:16024d16-d462-4f28-a26d-2bbe0712377e>\",\"WARC-Concurrent-To\":\"<urn:uuid:9416ff97-bd41-44b6-9617-ed37802b16dd>\",\"WARC-IP-Address\":\"31.184.250.11\",\"WARC-Target-URI\":\"https://wiki2.org/en/Mixed_model\",\"WARC-Payload-Digest\":\"sha1:FOI4EP2BXPDB24PZFLGWYMXUNGZA4QGO\",\"WARC-Block-Digest\":\"sha1:AHPPFP3Z4DZKDJLJR3HP3HK74FKQIMO7\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107894426.63_warc_CC-MAIN-20201027170516-20201027200516-00246.warc.gz\"}"}