measure.mae: Mean absolute error

View source: R/measure.mae.R

measure.maeR Documentation

Mean absolute error

Description

Function to compute the mean absolute difference between the observed and predicted time series.

Usage

measure.mae(indexObs = NULL, indexPrd = NULL, obs = NULL, prd = NULL, dates)

Arguments

indexObs

index computed from the observations

indexPrd

index computed from the predictions

obs

A vector of observations

prd

A vector of predictions

dates

dates

Value

A float number corresponding to the mean absolute difference between the predicted and observed series.

Author(s)

Daniel San-Martín, J. Bedia, S. Herrera


SantanderMetGroup/VALUE documentation built on July 8, 2023, 7:03 a.m.