This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Residual Analysis

Analyze residuals using whiteness and independent tests


resid Compute and test residuals
pe Prediction error for identified model
fpe Akaike's Final Prediction Error for estimated model
aic Akaike's Information Criterion for estimated model
residOptions Option set for resid
peOptions Option set for pe

Examples and How To

How to Plot Residuals in the App

Create a residual analysis plot for linear and nonlinear models in the System Identification app.

How to Plot Residuals at the Command Line

Create a residual-analysis plot for linear and nonlinear models at the command line.

Examine Model Residuals

This example shows how you can use residual analysis to evaluate model quality.


What Is Residual Analysis?

Residuals are differences between the one-step-predicted output from the model and the measured output from the validation data set.

Was this topic helpful?