Mixed Effects
A linear mixed-effects model includes both fixed and random effects in
                        modeling a response variable. This type of model can account for global and
                        local trends in a data set by including the random effects of a clustering
                        variable. You can fit a linear mixed-effects model using fitlme if your data is in a
                        table. Alternatively, if your model is not easily described using a formula,
                        you can create matrices to define the fixed and random effects, and then fit
                        the model using fitlmematrix.
Functions
Objects
| LinearMixedModel | Linear mixed-effects model | 
Topics
- Prepare Data for Linear Mixed-Effects ModelsStore data in the correct form for fitting a linear mixed-effects model. 
- Relationship Between Formula and Design MatricesUnderstand the relationship between a model formula and the design matrices in linear mixed-effects models. 
- Linear Mixed-Effects Model WorkflowThis example shows how to fit and analyze a linear mixed-effects model (LME). 
- Fit Mixed-Effects Spline RegressionThis example shows how to fit a mixed-effects linear spline model. 
- Linear Mixed-Effects ModelsLinear mixed-effects models are extensions of linear regression models for data that are collected and summarized in groups. 
- Estimating Parameters in Linear Mixed-Effects ModelsThe two most commonly used approaches to parameter estimation in linear mixed-effects models are maximum likelihood and restricted maximum likelihood methods. 
- Wilkinson NotationWilkinson notation provides a way to describe regression and repeated measures models without specifying coefficient values.