PRTools contents

PRTools manual

testr

TESTR

MSE for regression

       E = TESTR(X,W,TYPE)
       E = TESTR(X*W,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
'mad' mean absolute deviation

 SEE   RSQUARED, TESTC

PRTools contents

PRTools manual