Compute error
ComputeError
evaluates the Pearson correlation coefficient, mean absolute error and root mean square error between two numeric vectors.
ComputeError(obs, pred)
obs
: vector of observations.pred
: vector of predictions.A name list with components:
rho | Pearson correlation |
MAE | mean absolute error |
RMSE | root mean square error |
data(block_3sp) smplx <- Simplex( dataFrame=block_3sp, lib="1 99", pred="105 190", E=3, columns="x_t", target="x_t") err <- ComputeError( smplx$Observations, smplx$Predictions )
Useful links