This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Mixed Effects

Nonlinear mixed-effects models


nlmefitNonlinear mixed-effects estimation
nlmefitsaFit nonlinear mixed-effects model with stochastic EM algorithm

Examples and How To

Mixed-Effects Models Using nlmefit and nlmefitsa

Fit a mixed-effects model, plot predictions and residuals, and interpret the results.

Examining Residuals for Model Verification

Examine the stats structure, which is returned by both nlmefit and nlmefitsa, to determine the quality of your model.


Mixed-Effects Models

Mixed-effects models account for both fixed effects (which represent population parameters, assumed to be the same each time data is collected) and random effects (which act like additional error terms).