Products & Services Industries Academia Support User Community Company

Learn more about System Identification Toolbox   

Overview of Model Validation and Plots

When to Validate Models

After estimating each model, you can validate whether the model reproduces system behavior within acceptable bounds. You iterate between estimation and validation until you find the simplest model that best captures the system dynamics.

For ideas on how to adjust your modeling strategy based on validation results, see Troubleshooting Models.

Ways to Validate Models

You can use the following approaches to validate models:

Displaying confidence intervals on supported plots helps you assess the uncertainty of model parameters. For more information, see Computing Model Uncertainty.

Data for Validating Models

For plots that compare model response to measured response, such as model output and residual analysis plots, you designate two types of data sets: one for estimating the models (estimation data), and the other for validating the models (validation data). Although you can designate the same data set to be used for estimating and validating the model, you risk overfitting your data. When you validate a model using an independent data set, this process is called cross-validation.

Supported Model Plots

The following table summarizes the types of supported model plots.

Plot TypeSupported ModelsLearn More
Model OutputAll linear and nonlinear modelsSimulating and Predicting Model Output
Residual AnalysisAll linear and nonlinear modelsResidual Analysis
Transient Response
  • All linear parametric models

  • Correlation analysis (nonparametric) models

  • For nonlinear models, only step response.

Impulse and Step Response Plots
Frequency Response
  • All linear parametric models

  • Spectral analysis (nonparametric) models

Frequency Response Plots
Noise Spectrum
  • All linear parametric models

  • Spectral analysis (nonparametric) models

Noise Spectrum Plots
Poles and ZerosAll linear parametric modelsPole and Zero Plots
Nonlinear ARXNonlinear ARX models onlyNonlinear ARX Model Plots
Hammerstein-WienerHammerstein-Wiener models onlyHammerstein-Wiener Model Plots

Plotting Models in the GUI

To create one or more plots of your models, select the corresponding check box in the Model Views area of the System Identification Tool GUI. An active model icon has a thick line in the icon, while an inactive model has a thin line. Only active models appear on the selected plots.

To include or exclude a model on a plot, click the corresponding icon in the System Identification Tool GUI. Clicking the model icon updates any plots that are currently open.

For example, in the following figure, Model output is selected. In this case, the models n4s4 is not included on the plot because only arx441 is active.

Plots Include Only Active Models

To close a plot, clear the corresponding check box in the System Identification Tool GUI.

For general information about working with plots in the System Identification Toolbox product , see Working with Plots in the System Identification Tool GUI.

Getting Advice About Models

Use the advice command on an estimated model to answer the following questions about the model:

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS