
Normalised Mean Square Error
nmse.RdCompute the Normalised Mean Square Error of observed and predicted data.
Details
The function computes the Normalised Mean Square Error (NMSE) of obs and pred
according to the following definition:
$$
\mathrm{NMSE} = \frac{\overline{(O - P)^2}}{\overline{O} \cdot \overline{P}}
$$
If use is "everything", NAs will propagate, i.e. the resulting value will be NA
whenever one of its contributing observations is NA.
If use is "complete.obs" then missing values are handled by casewise deletion
and if there are no complete cases, that gives an error.