Package: afc 1.4.0

Jonas Bhend

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>.

Authors:Andreas Weigel [aut], MeteoSwiss [cph], Jonas Bhend [cre, ctb]

afc_1.4.0.tar.gz
afc_1.4.0.tar.gz(r-4.5-noble)afc_1.4.0.tar.gz(r-4.4-noble)
afc_1.4.0.tgz(r-4.4-emscripten)afc_1.4.0.tgz(r-4.3-emscripten)
afc.pdf |afc.html
afc/json (API)
NEWS

# Install 'afc' in R:
install.packages('afc', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • cnrm.nino34.cc - Example Data of Continuous Observations and Continuous Forecasts
  • cnrm.nino34.ce - Example Data of Continuous Observations and Ensemble Forecasts
  • cnrm.nino34.dc - Example Data of Dichotomous Observations and Continuous Forecasts
  • cnrm.nino34.dd - Example Data of Dichotomous Observations and Dichotomous Forecasts
  • cnrm.nino34.de - Example Data of Dichotomous Observations and Ensemble Forecasts
  • cnrm.nino34.dm - Example Data of Dichotomous Observations and Polychotomous Forecasts
  • cnrm.nino34.dp - Example Data of Dichotomous Observations and Probabilistic Forecasts
  • cnrm.nino34.mc - Example Data of Polychotomous Observations and Continuous Forecasts
  • cnrm.nino34.me - Example Data of Polychotomous Observations and Ensembles Forecasts
  • cnrm.nino34.mm - Example Data of Polychotomous Observations and Polychotomous Forecasts
  • cnrm.nino34.mp - Example Data of Polychotomous Observations and Probabilistic Forecasts

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.18 score 15 scripts 268 downloads 15 exports 0 dependencies

Last updated 8 years agofrom:1521858ec4. Checks:OK: 1 NOTE: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 16 2024
R-4.5-linuxNOTENov 16 2024

Exports:afcafc.ccafc.ceafc.dcafc.ddafc.deafc.dmafc.dpafc.mcafc.meafc.mmafc.mpafc.nnafc.nprank.ensembles

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Generalized Discrimination Score 2AFCafc-package
Calculate Generalized Discrimination Score 2AFCafc
2AFC For Continuous Observations And Continuous Forecastsafc.cc
2AFC For Continuous Observations And Ensemble Forecastsafc.ce
2AFC For Dichotomous Observations And Continuous Forecastsafc.dc
2AFC For Dichotomous Observations And Dichotomous Forecastsafc.dd
2AFC For Dichotomous Observations and Ensemble Forecastsafc.de
2AFC For Dichotomous Observations And Ordinal Polychotomous Forecastsafc.dm
2AFC For Dichotomous Observations And Probabilistic Forecastsafc.dp
2AFC For Ordinal Polychotomous Observations And Continuous Forecastsafc.mc
2AFC For Ordinal Polychotomous Observations And Ensemble Forecastsafc.me
2AFC For Ordinal Polychotomous Observations And Ordinal Polychotomous Forecastsafc.mm
2AFC For Ordinal Polychotomous Observations And Probabilistic Forecastsafc.mp
2AFC For Nominal Polychotomous Observations And Nominal Polychotomous Forecastsafc.nn
2AFC For Nominal Polychotomous Observations Ans Probabilistic Forecastsafc.np
Example Data of Continuous Observations and Continuous Forecastscnrm.nino34.cc
Example Data of Continuous Observations and Ensemble Forecastscnrm.nino34.ce
Example Data of Dichotomous Observations and Continuous Forecastscnrm.nino34.dc
Example Data of Dichotomous Observations and Dichotomous Forecastscnrm.nino34.dd
Example Data of Dichotomous Observations and Ensemble Forecastscnrm.nino34.de
Example Data of Dichotomous Observations and Polychotomous Forecastscnrm.nino34.dm
Example Data of Dichotomous Observations and Probabilistic Forecastscnrm.nino34.dp
Example Data of Polychotomous Observations and Continuous Forecastscnrm.nino34.mc
Example Data of Polychotomous Observations and Ensembles Forecastscnrm.nino34.me
Example Data of Polychotomous Observations and Polychotomous Forecastscnrm.nino34.mm
Example Data of Polychotomous Observations and Probabilistic Forecastscnrm.nino34.mp
Rank Ensemblesrank.ensembles