measure.bs: Brier score

View source: R/measure.bs.R

measure.bsR Documentation

Brier score

Description

Function to compute the Brier score.

Usage

measure.bs(indexObs = NULL, indexPrd = NULL, obs, prd, dates,
  threshold = 0, condition)

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

threshold

A float number defining the threshold considered. Default to 0 (for temperature).

condition

Inequality operator to be applied considering the given threshold. "GT" = greater than the value of threshold, "GE" = greater or equal, "LT" = lower than, "LE" = lower or equal than.

Value

A float number corresponding to the BS.

Author(s)

J. Bedia

References

https://en.wikipedia.org/wiki/Brier_score


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