tscore function

Calculate the (Brier) score associated with ternary forecasts and observations

Calculate the (Brier) score associated with ternary forecasts and observations

A utility function.

tscore(p, o, L = diag(c(1, 1, 1))/sqrt(2))

Arguments

  • p: An n-by-3 matrix of ternary forecasts.
  • o: An n-by-3 matrix of ternary observations.
  • L: A 3-by-3 matrix defining the quadratic score being used. (Default corresponds to Brier score.)

References

Jupp TE, Lowe R, Stephenson DB, Coelho CAS (2012) On the visualization, verification and recalibration of ternary probabilistic forecasts, Philosophical Transactions of the Royal Society, volume 370, pages 1100-1120.

https://rsta.royalsocietypublishing.org/content/370/1962/1100.full/

https://arxiv.org/abs/1103.1303/

Author(s)

Tim Jupp

Examples

data(foot) tscore(p=foot$p,o=foot$o)
  • Maintainer: Tim Jupp
  • License: GPL-2
  • Last published: 2025-03-28

Useful links