calc_nondecreasing_quantile_check: Compute check of whether quantiles for consecutive targets (1...

View source: R/model_eligibility.R

calc_nondecreasing_quantile_checkR Documentation

Compute check of whether quantiles for consecutive targets (1 wk ahead, 2 wk ahead, etc) are non-decreasing for each combination of location, forecast_week_end_date, model, and quantile probability level

Description

Compute check of whether quantiles for consecutive targets (1 wk ahead, 2 wk ahead, etc) are non-decreasing for each combination of location, forecast_week_end_date, model, and quantile probability level

Usage

calc_nondecreasing_quantile_check(qfm, decrease_tol = 1)

Arguments

qfm

matrix of model forecasts of class QuantileForecastMatrix

decrease_tol

numeric; decreases of up to specified tolerance are allowed

Value

data frame with a row for each combination of location, forecast week end date, and model and a character column called 'eligibility' with entry 'decreasing quantiles over time' if any forecasted quantiles were decreasing for the same target across multiple levels


reichlab/covidEnsembles documentation built on Jan. 31, 2024, 7:21 p.m.