Package: discAUC 1.1.0
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:
discAUC_1.1.0.tar.gz
discAUC_1.1.0.zip(r-4.7)discAUC_1.1.0.zip(r-4.6)discAUC_1.1.0.zip(r-4.5)
discAUC_1.1.0.tgz(r-4.6-any)discAUC_1.1.0.tgz(r-4.5-any)
discAUC_1.1.0.tar.gz(r-4.7-any)discAUC_1.1.0.tar.gz(r-4.6-any)
discAUC_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
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
Last updated from:10b30d83e4. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 120 | ||
| source / vignettes | OK | 184 | ||
| linux-release-x86_64 | OK | 125 | ||
| macos-release-arm64 | OK | 139 | ||
| macos-oldrel-arm64 | OK | 155 | ||
| windows-devel | OK | 81 | ||
| windows-release | OK | 79 | ||
| windows-oldrel | OK | 77 | ||
| wasm-release | OK | 103 |
Exports:AUCAUC_zerosprep_AUCprep_log_AUCprep_odds_againstprep_ordinalprep_ordinal_all
Dependencies:clidplyrgenericsgluelifecyclemagrittrpillarpkgconfigR6rlangtibbletidyselectutf8vctrswithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Area Under the Curve for Discounting Data | AUC |
| Impute zero delay/100% likely indifference points | AUC_zeros |
| Delay discounting data | examp_DD |
| Probability discounting data | examp_PD |
| AUC data peperation helper function | prep_AUC |
| Calculate log x_axis values for AUClog | prep_log_AUC |
| Calculate odds against values for 'x_axis' for probability discounting | prep_odds_against |
| Ordinal x-axis by grouping | prep_ordinal |
| Shared ordinal x-axis | prep_ordinal_all |
