Package: scoringfunctions 1.1

scoringfunctions: A Collection of Loss Functions for Assessing Point Forecasts

Implements multiple consistent scoring functions (Gneiting T (2011) <doi:10.1198/jasa.2011.r10138>) for assessing point forecasts and point predictions. Detailed documentation of scoring functions' properties is included for facilitating interpretation of results.

Authors:Hristos Tyralis [aut, cre], Georgia Papacharalampous [aut]

scoringfunctions_1.1.tar.gz
scoringfunctions_1.1.zip(r-4.7)scoringfunctions_1.1.zip(r-4.6)scoringfunctions_1.1.zip(r-4.5)
scoringfunctions_1.1.tgz(r-4.6-any)scoringfunctions_1.1.tgz(r-4.5-any)
scoringfunctions_1.1.tar.gz(r-4.7-any)scoringfunctions_1.1.tar.gz(r-4.6-any)
scoringfunctions_1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
scoringfunctions/json (API)

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

On CRAN:

Conda:

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

1.00 score 1 stars 239 downloads 51 exports 0 dependencies

Last updated from:c64ca440bc. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK120
source / vignettesOK146
linux-release-x86_64OK104
macos-release-arm64OK132
macos-oldrel-arm64OK165
windows-develOK67
windows-releaseOK72
windows-oldrelOK59
wasm-releaseOK85

Exports:aerr_sfaperr_sfbmedian_sfbregman1_sfbregman2_sfbregman3_sfbregman4_sfcapping_functionerrorspread_sfexpectile_ifexpectile_rsexpectile_sfghuber_sfgpl1_sfgpl2_sfhuber_rshuber_sfhubermean_ifhuberquantile_ifinterval_sflinex_sflqmean_sflqquantile_sfmaemaelog_sfmaesd_sfmapemean_ifmeanlog_ifmremsemspemsremv_ifmv_sfnmoment_ifnmoment_sfnseobsweighted_sfquantile_ifquantile_levelquantile_rsquantile_sfrelerr_sfserr_sfserrexp_sfserrlog_sfserrpower_sfserrsq_sfsperr_sfsrelerr_sf

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Overview of the functions in the scoringfunctions packagescoringfunctions-package
Absolute error scoring functionaerr_sf
Absolute percentage error scoring functionaperr_sf
beta-median scoring functionbmedian_sf
Bregman scoring function (type 1)bregman1_sf
Bregman scoring function (type 2, Patton scoring function)bregman2_sf
Bregman scoring function (type 3, QLIKE scoring function)bregman3_sf
Bregman scoring function (type 4, Patton scoring function)bregman4_sf
Capping functioncapping_function
Error - spread scoring functionerrorspread_sf
Expectile identification functionexpectile_if
Realised expectile scoreexpectile_rs
Asymmetric piecewise quadratic scoring function (expectile scoring function, expectile loss function)expectile_sf
Generalized Huber scoring functionghuber_sf
Generalized piecewise linear power scoring function (type 1)gpl1_sf
Generalized piecewise linear power scoring function (type 2)gpl2_sf
Mean Huber scorehuber_rs
Huber scoring functionhuber_sf
Huber mean identification functionhubermean_if
Huber quantile identification functionhuberquantile_if
Interval scoring function (Winkler scoring function)interval_sf
LINEX scoring functionlinex_sf
L_q-mean scoring functionlqmean_sf
L_q-quantile scoring functionlqquantile_sf
Mean absolute error (MAE)mae
MAE-LOG scoring functionmaelog_sf
MAE-SD scoring functionmaesd_sf
Mean absolute percentage error (MAPE)mape
Mean identification functionmean_if
Log-transformed identification functionmeanlog_if
Mean relative error (MRE)mre
Mean squared error (MSE)mse
Mean squared percentage error (MSPE)mspe
Mean squared relative error (MSRE)msre
Mean - variance identification functionmv_if
Mean - variance scoring functionmv_sf
n-th moment identification functionnmoment_if
n-th moment scoring functionnmoment_sf
Nash-Sutcliffe efficiency (NSE)nse
Observation-weighted scoring functionobsweighted_sf
Quantile identification functionquantile_if
Sample quantile level functionquantile_level
Realised quantile scorequantile_rs
Asymmetric piecewise linear scoring function (quantile scoring function, quantile loss function)quantile_sf
Relative error scoring function (MAE-PROP scoring function)relerr_sf
Squared error scoring functionserr_sf
Squared error exp scoring functionserrexp_sf
Squared error log scoring functionserrlog_sf
Squared error of power transformations scoring functionserrpower_sf
Squared error of squares scoring functionserrsq_sf
Squared percentage error scoring functionsperr_sf
Squared relative error scoring functionsrelerr_sf