mbe
Description
mbe (Mean-Bias-Error) function returns the mean bias error between pridiction and observation vector.
The mbe value between a prediction dataset y of n values
and an observation dataset x
, is given by:
/math-4f0f16c379a3a6b47c3c830a7b41e441.png)
Syntax
double mbe(dataset vobs, dataset vpred)
Parameters
vobs
- Input, obsevation vector.
vpred
- Input, prediction vector.
Return
Return the mean bias error of a vector.
Note: Missing data, masked data and text in vobs and vpred won't be counted.
Example
//Calculate the mean bias error of column A and B yr = mbe(col(A),col(B));