mae-func
mae (Mean-Absolute-Error) function returns the mean of absolute error between a pair of vectors.
The MAE value between a prediction dataset y of n values and a observation dataset x , is given by:
double mae(dataset vobs, dataset vpred)
vobs
vpred
Return the mean absolute error of vector vobs and vpred.
Note: Missing data, masked data and text in vobs and vpred won't be counted.
//Calculate the mean absolute error of column A and B. yr = mae(col(A),col(B));
rmse, mbe, rms