absolute_error: Compute absolute error

Description Usage Arguments Details

View source: R/error_measures.R

Description

Absolute error of a forecaster

Usage

1
absolute_error(quantile, value, actual_value)

Arguments

quantile

vector of forecasted quantiles

value

vector of forecasted values

actual_value

vector of actual values of the same length as quantile/value or a scalar

Details

Intended to be used with evaluate_predictions(), it expects three arguments of the same length, finds the location of the point forecast, and returns the absolute error.


dshemetov/evalcast-mirror documentation built on Feb. 4, 2022, 8:52 a.m.