主要内容

xregstatsmodel

Class for evaluating models and calculating prediction error variance (PEV)

Description

Use these object functions to evaluate point-by-point models and calculate prediction error variance (PEV).

Creation

You can create an xregstatsmodel object by either:

  • Exporting a model from the Model Browser to the workspace.

  • Converting any command line response or model object to an xregstatsmodel by using the Export method.

    Use the Export method to convert mbcmodel.hierarchicalresponse, mbcmodel.localresponse, mbcmodel.response and mbcmodel.model objects to xregstatsmodel objects. Use the syntax ExportedModel = Export(MODEL). The default format is 'MATLAB' so you do not need to specify the format.

Object Functions

pevPredicted error variance of model at specified inputs
EvalModelEvaluate model
cevalEvaluate boundary model
dferrorDegrees of freedom for model
predintConfidence interval for model prediction
nfactorsConfidence interval for model prediction

Version History

Introduced in R2010a