MATLAB Function Reference
  Go to function:
    Search    Help Desk 
error     See Also

computes the mean square error of the model

Syntax

Description

err=error(m,j) returns the mean square error of the model respect the output j.

err=error(m,data,j) get the error of the model respect the data data and the output j. data must be an object of the class dataset.

Remarks

This function evaluates the mean square error of the model respect to the reference set of values given as output data. This is performed by the function by calling the 'eval' method, obtaining the extimated output of the model and comparing it with the reference one.

See Also

simulation_error

[ Help Desk ]