mre_st

calculates the mean absolute relative error

Contents

Syntax

[merr, rerr, prdInfo] = mre_st(func, par, data, auxData, weights)

Description

Calculates the mean absolute relative error for each data set, used in add_my_pet. Contributions of errors for pseudo data are excluded from the overall mean relative error.

Input

Output

Remarks

Bi-variate data can have NaN's (= missing data). Uni- and bi-variate data have the (first) independent variable in the first column First output merr excludes contributions from pseudo-data.