Main Content

RestoreDataForTest

Restore removed outliers for test

    Description

    RestoreDataForTest(LOCALRESPONSE, TESTNUMBER, Indices) restores all removed data for the test number TESTNUMBER specified in the Indices.

    example

    RestoreDataForTest(LOCALRESPONSE, TESTNUMBER, Indices, doUpdate) restores all specified removed data and, if doUpdate is true, refits all response features. By default, all response feature models are updated. If a number of tests are being screened, setting doUpdate to false and calling UpdateResponseFeatures when all the tests have been screened is more efficient.

    example

    Examples

    collapse all

    RestoreDataForTest(LOCALRESPONSE,1,1,false);
    RestoreDataForTest(LOCALRESPONSE,1,':',false);
    UpdateResponseFeatures(LOCALRESPONSE);

    Input Arguments

    collapse all

    Local response object, specified as an mbcmodel.localresponse object.

    Test number to refit, specified as a real positive integer.

    Indices, specified as a real positive integer.

    Indices must belong to the set of outliers in OutlierIndicesForTest.

    Refit response features, specified as false or true.

    Note

    Call UpdateResponseFeatures if doUpdate is set to false.

    Version History

    Introduced in R2007a