PRTools Contents

PRTools User Guide

testr

TESTR

MSE for regression

       E = TESTR(X,W,TYPE)
       E = TESTR(X*W,TYPE)
       E = X*W*TESTR([],TYPE)
       E = X*W*TESTR(TYPE)

Input
 X Regression dataset
 W Regression mapping
 TYPE Type of error measure, default: mean squared error

Output
 E Mean squared error

Description

Compute the error of regression W on dataset X. The following error  measures have been defined for TYPE

'mse' mean squared error (default)
'mad' mean absolute deviation

See also

rsquared, testc,

PRTools Contents

PRTools User Guide

This file has been automatically generated. If badly readable, use the help-command in Matlab.