Package: discAUC 1.0.3

Jonathan E. Friedel

discAUC: Linear and Non-Linear AUC for Discounting Data

Area under the curve (AUC; Myerson et al., 2001) <doi:10.1901/jeab.2001.76-235> is a popular measure used in discounting research. Although the calculation of AUC is standardized, there are differences in AUC based on some assumptions. For example, Myerson et al. (2001) <doi:10.1901/jeab.2001.76-235> assumed that (with delay discounting data) a researcher would impute an indifference point at zero delay equal to the value of the larger, later outcome. However, this practice is not clearly followed. This imputed zero-delay indifference point plays an important role in log and ordinal versions of AUC. Ordinal and log versions of AUC are described by Borges et al. (2016)<doi:10.1002/jeab.219>. The package can calculate all three versions of AUC [and includes a new version: IHS(AUC)], impute indifference points when x = 0, calculate ordinal AUC in the case of Halton sampling of x-values, and account for probability discounting AUC.

Authors:Jonathan E. Friedel [aut, cre]

discAUC_1.0.3.tar.gz
discAUC_1.0.3.zip(r-4.5)discAUC_1.0.3.zip(r-4.4)discAUC_1.0.3.zip(r-4.3)
discAUC_1.0.3.tgz(r-4.5-any)discAUC_1.0.3.tgz(r-4.4-any)discAUC_1.0.3.tgz(r-4.3-any)
discAUC_1.0.3.tar.gz(r-4.5-noble)discAUC_1.0.3.tar.gz(r-4.4-noble)
discAUC_1.0.3.tgz(r-4.4-emscripten)discAUC_1.0.3.tgz(r-4.3-emscripten)
discAUC.pdf |discAUC.html
discAUC/json (API)

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

Bug tracker:https://github.com/jefriedel/discauc/issues

Datasets:

On CRAN:

Conda:

4.00 score 5 scripts 252 downloads 7 exports 16 dependencies

Last updated 6 months agofrom:666fe79be1. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 10 2025
R-4.5-winOKMar 10 2025
R-4.5-macOKMar 10 2025
R-4.5-linuxOKMar 10 2025
R-4.4-winOKMar 10 2025
R-4.4-macOKMar 10 2025
R-4.4-linuxOKMar 10 2025
R-4.3-winOKMar 10 2025
R-4.3-macOKMar 10 2025

Exports:AUCAUC_zerosprep_AUCprep_log_AUCprep_odds_againstprep_ordinalprep_ordinal_all

Dependencies:clidplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigR6rlangtibbletidyselectutf8vctrswithr

Using the discAUC package

Rendered fromdiscAUC_vignette.Rmdusingknitr::rmarkdownon Mar 10 2025.

Last update: 2023-03-20
Started: 2021-06-03