afc: Generalized Discrimination Score

This is an implementation of the Generalized Discrimination Score (also known as Two Alternatives Forced Choice Score, 2AFC) for various representations of forecasts and verifying observations. The Generalized Discrimination Score is a generic forecast verification framework which can be applied to any of the following verification contexts: dichotomous, polychotomous (ordinal and nominal), continuous, probabilistic, and ensemble. A comprehensive description of the Generalized Discrimination Score, including all equations used in this package, is provided by Mason and Weigel (2009) <doi:10.1175/MWR-D-10-05069.1>.

Package details

AuthorAndreas Weigel [aut], MeteoSwiss [cph], Jonas Bhend [cre, ctb]
MaintainerJonas Bhend <>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the afc package in your browser

Any scripts or data that you put into this service are public.

afc documentation built on May 1, 2019, 9:46 p.m.