calc_skill_stat: Calculate model skill comparison statistics

Description Usage Arguments Value

View source: R/model_validation.R

Description

Helper function to calculate the relative improvement of the forecast over the specified naive model. Skill score = (score_fc - score_naive) / (score_perfect - score_naive) Skill metric has an upper bound of 1. No improvement is 0. Lower bound depends on statistic.

Usage

1
calc_skill_stat(fc_stat, naive_stat, perfect_stat)

Arguments

fc_stat

The forecast model statistic value.

naive_stat

The naive model statistic value (same statistic as forecast model).

perfect_stat

The value of a perfect score for that stastistic.

Value

Skill score: the relative improvement the forecast model has over the naive model.


EcoGRAPH/epidemiar documentation built on Nov. 13, 2020, 5:31 p.m.