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\'in daniel@predictia.es, J. Bedia, D. San-Mart\'in, S. Herrera


SantanderMetGroup/R_VALUE documentation built on July 4, 2023, 4:27 a.m.