Skip to Main Content Skip to Search
Product Documentation

AlternativeModelStatistics - Summary statistics for alternative models

Syntax

S = AlternativeModelStatistics(R)
S = AlternativeModelStatistics(R, Name)

Description

This is a method of all model objects: mbcmodel.hierarchicalresponse, mbcmodel.localresponse and mbcmodel.response.

This returns an array (S) of summary statistics of all the alternative model fits, to be used to select the best model. These are the summary statistics seen in the list view at the bottom of the Model Browser GUI in any model view.

You must use CreateAlternativeModels before you can compare the alternative responses using AlternativeModelStatistics. Then use ChooseAsBest.

R is the model object whose alternative response models you want to compare. R could be a local (L), response feature (R) or hierarchical response (HR) model.

S is a structure containing Statistics and Names fields.

The available statistics vary according to what kind of parent model (two-stage, local, response feature or response) produced the alternative models, and include PRESS RMSE, RMSE, and Two-Stage RMSE.

All the available statistics are calculated unless you specify which you want. You can specify only the statistics you require using the following form:

S = AlternativeModelStatistics(R, Name)

This returns a double matrix containing only the statistics specified in Name.

Note that you use SummaryStatistics to examine the fit of the current model, and AlternativeModelStatistics to examine the fit of several alternative child models.

Examples

S = AlternativeModelStatistics(R);

See Also

ChooseAsBest | CreateAlternativeModels | SummaryStatistics

  


Recommended Products

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

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