Package: beezdiscounting 0.4.0.9000

beezdiscounting: Behavioral Economic Easy Discounting
Facilitates some of the analyses performed in studies of behavioral economic discounting. The package supports scoring of the 21- and 27-Item Monetary Choice Questionnaires (see Kaplan et al., 2016; <doi:10.1007/s40614-016-0070-9>), scoring of the 30-Item Probability Discounting Questionnaire (see Madden et al., 2009; <doi:10.1037/a0016806>), calculating k values (Mazur's simple hyperbolic and exponential) using nonlinear regression, calculating various Area Under the Curve (AUC) measures, plotting regression curves for both fit-to-group and two-stage approaches, checking for unsystematic discounting (Johnson & Bickel, 2008; <doi:10.1037/1064-1297.16.3.264>) and scoring of the minute discounting task (see Koffarnus & Bickel, 2014; <doi:10.1037/a0035973>) using the Qualtrics 5-trial discounting template (see the Qualtrics Minute Discounting User Guide; <doi:10.13140/RG.2.2.26495.79527>), which is also available as a .qsf file in this package. The package also fits mixed-effects (hierarchical) discounting models with a scale-location-truncated beta likelihood that admits indifference points at exactly 0 and 1 (Kim, Kaplan, Koffarnus, and Franck, 2025; <arxiv:2509.13167>). The package also implements the linearized Mazur estimator, random-effects model, and F-test of Hinds et al. (2026; <doi:10.1016/j.jmp.2026.103006>).
Authors:
beezdiscounting_0.4.0.9000.tar.gz
beezdiscounting_0.4.0.9000.zip(r-4.7-x86_64)beezdiscounting_0.4.0.9000.zip(r-4.7-arm64)beezdiscounting_0.4.0.9000.zip(r-4.6-x86_64)beezdiscounting_0.4.0.9000.zip(r-4.6-arm64)beezdiscounting_0.4.0.9000.zip(r-4.5-x86_64)
beezdiscounting_0.4.0.9000.tgz(r-4.6-x86_64)beezdiscounting_0.4.0.9000.tgz(r-4.6-arm64)beezdiscounting_0.4.0.9000.tgz(r-4.5-x86_64)beezdiscounting_0.4.0.9000.tgz(r-4.5-arm64)
beezdiscounting_0.4.0.9000.tar.gz(r-4.7-arm64)beezdiscounting_0.4.0.9000.tar.gz(r-4.7-x86_64)beezdiscounting_0.4.0.9000.tar.gz(r-4.6-arm64)beezdiscounting_0.4.0.9000.tar.gz(r-4.6-x86_64)
beezdiscounting_0.4.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
beezdiscounting/json (API)
| # Install 'beezdiscounting' in R: |
| install.packages('beezdiscounting', repos = c('https://brentkaplan.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/brentkaplan/beezdiscounting/issues
Pkgdown/docs site:https://brentkaplan.github.io
- dd_ip - Delay Discounting Data
- five.fivetrial_dd - Example Qualtrics output from the 5.5 trial delay discounting template.
- five.fivetrial_pd - Example Qualtrics output from the 5.5 trial probability discounting template.
- mcq21 - Example 21-item MCQ data
- mcq27 - Example 27-item MCQ data
- pdq - Example 30-item PDQ data
5-trial-discountingdelay-discountingmonetary-choice-questionnairecpp
Last updated from:d76271a7c6 (on develop). Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 238 | ||
| linux-devel-x86_64 | OK | 272 | ||
| source / vignettes | OK | 396 | ||
| linux-release-arm64 | OK | 220 | ||
| linux-release-x86_64 | OK | 198 | ||
| macos-release-arm64 | OK | 257 | ||
| macos-release-x86_64 | OK | 503 | ||
| macos-oldrel-arm64 | OK | 176 | ||
| macos-oldrel-x86_64 | OK | 351 | ||
| windows-devel-arm64 | OK | 469 | ||
| windows-devel-x86_64 | OK | 232 | ||
| windows-release-arm64 | OK | 496 | ||
| windows-release-x86_64 | OK | 237 | ||
| windows-oldrel-x86_64 | OK | 237 | ||
| wasm-release | OK | 146 |
Exports:%>%ans_ddans_pdaugmentcalc_aucscalc_conf_intcalc_ddcalc_pdcalc_r2check_unsystematicdefault_dd_choice_priorsdefault_dd_priorsfind_n_discountingfit_ddfit_dd_brmsfit_dd_choicefit_dd_choice_brmsfit_dd_linearfit_dd_tmbfixefgenerate_data_mcqget_dd_comparisonsget_dd_param_emmsget_lookup_tableglancelong_to_wide_mcqlong_to_wide_mcq_excelmcq_to_choicemcq27_to_choicepdq_to_choiceplot_ddplot_qqpower_discountingprop_scprop_ssranefresults_ddscore_ddscore_mcqscore_mcq27score_pdscore_pdqsimulate_dd_choicesimulate_dd_ipsimulate_dd_linearsummarize_mcqtidytiming_ddtiming_pdwide_to_long_mcqwide_to_long_mcq_excel
Dependencies:backportsbayestestRbeezdemandbootbroomclicpp11datawizarddigestdplyremmeansestimabilityfarvergenericsggplot2glueGPArotationgtablegtoolsinsightisobandlabelinglatticelhslifecyclelme4magrittrMASSMatrixminpack.lmminqamnormtmvtnormnlmenloptrnls.multstartnlsrnlstoolsnumDerivoptimxperformancepillarpkgconfigpracmapsychpurrrR6rbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangS7scalesstringistringrtibbletidyrtidyselectTMButf8vctrsviridisLitewithr
Last update: 2026-08-27
Started: 2026-08-26
Last update: 2026-08-26
Started: 2026-06-11
Last update: 2026-08-26
Started: 2026-06-11
Last update: 2026-08-26
Started: 2026-06-17
Last update: 2026-08-26
Started: 2026-06-07
Last update: 2026-08-26
Started: 2026-08-15
Last update: 2026-08-26
Started: 2026-08-09
Last update: 2026-08-08
Started: 2026-06-17
Last update: 2026-06-18
Started: 2026-06-18
Last update: 2026-06-17
Started: 2026-06-17
Last update: 2026-06-17
Started: 2026-06-17
