主要内容

ChooseAsBest

Choose best model from alternative responses

    Description

    ChooseAsBest(R, Index) chooses the best model R from the alternative responses specified in Index. This function performs the same action as selecting the best model in the Model Selection window of the Model Browser. For a local model, MakeHierarchicalResponse performs a similar function and creates the two-stage model.

    Input Arguments

    collapse all

    Response, specified as an mbcmodel.response object.

    Index of response model to choose as best, specified as a real positive scalar, from 1 to length(R.AlternativeResponses).

    Version History

    Introduced in R2006a