メインコンテンツ

DiagnosticStatistics

Diagnostic statistics for responses and local responses

    Description

    S = DiagnosticStatistics(RESPONSE) for the responses in RESPONSE, returns S, a structural array containing Statistics and Names fields.

    S = DiagnosticStatistics(RESPONSE, STATS) allows you to specify STATS, an optional input that defines which diagnostic statistics you want from the available list. If you do not specify STATS, you get all available statistics.

    S = DiagnosticStatistics(RESPONSE, TESTNUMBERS) for local responses returns S for LOCALRESPONSE, a local response object. TESTNUMBERS specifies the index into tests for local or hierarchical models.

    S = DiagnosticStatistics(RESPONSE, TESTNUMBERS, STATS) allows you to specify which diagnostic statistics you want from the available list.

    A row is set to NaN if that point is removed.

    The options available are model-specific and are the same options shown in the drop-down menus of the scatter plots (the top plots) in the local and global (response feature) model views of the toolbox app.

    Input Arguments

    collapse all

    Response or local response, specified as an mbcmodel.response object or mbcmodel.localresponse object.

    Diagnostic statistics names, specified as a cell array.

    Note

    These statistics are displayed in the scatter plots in the Model Browser.

    Index into tests for local or hierarchical models, specified as a real positive integer.

    Note

    The input argument, TESTNUMBERS, is only valid for local responses.

    Output Arguments

    collapse all

    Statistics, returned as one of these values:

    • Structural array with Statistics and Names fields when you specify one input argument.

    • Double array when you specify statistics using the STATS input argument.

    Version History

    Introduced in R2006a