Skip to Main Content Skip to Search
Product Documentation

ChooseAsBest - Choose best model from alternative responses

Syntax

ChooseAsBest(R, Index)

Description

This is a method of the response model object, mbcmodel.response. This is the same function as selecting the best model in the Model Selection window of the Model Browser GUI. For a local model MakeHierarchicalResponse performs a similar function.

R is the object containing the response model.

Index is the number of the response model you want to choose as best. Use AlternativeResponses to find the index for each response model, and use AlternativeModelStatistics to choose the best fit.

Examples

ChooseAsBest(R, AlternativeModel)
RMSE = AlternativeModelStatistics(R, 'RMSE');
[mr, Best] = min(RMSE);
ChooseAsBest(R, Best);

See Also

AlternativeModelStatistics | AlternativeResponses | DiagnosticStatistics | MakeHierarchicalResponse

  


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