Package: discAUC 1.0.3
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.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.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
Last updated 1 months agofrom:666fe79be1. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 10 2024 |
R-4.5-win | OK | Nov 10 2024 |
R-4.5-linux | OK | Nov 10 2024 |
R-4.4-win | OK | Nov 10 2024 |
R-4.4-mac | OK | Nov 10 2024 |
R-4.3-win | OK | Nov 10 2024 |
R-4.3-mac | OK | Nov 10 2024 |
Exports:AUCAUC_zerosprep_AUCprep_log_AUCprep_odds_againstprep_ordinalprep_ordinal_all
Dependencies:clidplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigR6rlangtibbletidyselectutf8vctrswithr
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 |