Products & Services Solutions Academia Support User Community Company

Learn more about Model-Based Calibration   

MakeHierarchicalResponse - Build two-stage model from response feature models

Syntax

OK = MakeHierarchicalResponse(L,MLE)

Description

This method of mbcmodel.localresponse builds a two-stage model from the response feature models and optionally runs MLE (Maximum Likelihood Estimation). If there are more response features than the number of parameters in the local model, the subset of response features that leads to the best hierarchical response is chosen. The best hierarchical response is chosen using PRESS RMSE (root mean square prediction error — see PRESS statistic) if all the response feature models are linear. Otherwise, the best hierarchical response is chosen using Two-stage RMSE.

This performs a similar function to ChooseAsBest for response models. You can call MakeHierarchicalResponse directly or indirectly by calling CreateAlternativeModels for a local model. If you call CreateAlternativeModels for a local model, MakeHierarchicalResponse is called automatically.

If the local and response models are not ready to calculate a two-stage model, an error is generated. This situation can occur if you have created alternative models and not chosen the best. A sufficient number of response features models to calculate the two-stage model must be selected.

L is the local model object.

MLE can be true or false. If true, MLE will be calculated.

Examples

OK = MakeHierarchicalResponse(L, true)

See Also

ChooseAsBest

  


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