sharpness_avg: Average interval width

Description Usage Arguments Value

View source: R/ts_forecast.R

Description

Get average sharpness (interval width), for an interval from alpha/2 to 1-alpha/2. Negatively oriented (smaller is better) Telemetry isn't used in sharpness, but it is only averaged over times when telemetry is available for direct compatibility with other metrics.

Usage

1
sharpness_avg(ts, tel, alpha, normalize.by = 1, ...)

Arguments

ts

A ts_forecast object

tel

A vector of telemetry values.

alpha

Numeric, to identify the (1-alpha)*100% quantile of interest

normalize.by

(optional) A normalization factor, either a scalar or vector

...

additional optional arguments to equalize_telemetry_forecast_length

Value

the average sharpness value (interval width)


kdayday/forecasting documentation built on Oct. 7, 2020, 7:16 p.m.