Package: beezdiscounting 0.4.0

beezdiscounting: Behavioral Economic Easy Discounting
Facilitates some of the analyses performed in studies of behavioral economic discounting. The package supports scoring of the 27-Item Monetary Choice Questionnaire (see Kaplan et al., 2016; <doi:10.1007/s40614-016-0070-9>), 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>).
Authors:
beezdiscounting_0.4.0.tar.gz
beezdiscounting_0.4.0.zip(r-4.7)beezdiscounting_0.4.0.zip(r-4.6)beezdiscounting_0.4.0.zip(r-4.5)
beezdiscounting_0.4.0.tgz(r-4.6-x86_64)beezdiscounting_0.4.0.tgz(r-4.6-arm64)beezdiscounting_0.4.0.tgz(r-4.5-x86_64)beezdiscounting_0.4.0.tgz(r-4.5-arm64)
beezdiscounting_0.4.0.tar.gz(r-4.7-arm64)beezdiscounting_0.4.0.tar.gz(r-4.7-x86_64)beezdiscounting_0.4.0.tar.gz(r-4.6-arm64)beezdiscounting_0.4.0.tar.gz(r-4.6-x86_64)
beezdiscounting_0.4.0.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
- 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.
- mcq27 - Example 27-item MCQ data
5-trial-discountingdelay-discountingmonetary-choice-questionnairecpp
Last updated from:2d282b52a1 (on develop). Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 292 | ||
| linux-devel-x86_64 | OK | 269 | ||
| source / vignettes | OK | 419 | ||
| linux-release-arm64 | OK | 306 | ||
| linux-release-x86_64 | OK | 286 | ||
| macos-release-arm64 | OK | 257 | ||
| macos-release-x86_64 | OK | 324 | ||
| macos-oldrel-arm64 | OK | 137 | ||
| macos-oldrel-x86_64 | OK | 391 | ||
| windows-devel | OK | 306 | ||
| windows-release | OK | 283 | ||
| windows-oldrel | OK | 263 | ||
| wasm-release | OK | 202 |
Exports:%>%ans_ddans_pdaugmentcalc_aucscalc_conf_intcalc_ddcalc_pdcalc_r2check_unsystematicdefault_dd_choice_priorsdefault_dd_priorsfit_ddfit_dd_brmsfit_dd_choicefit_dd_choice_brmsfit_dd_tmbfixefgenerate_data_mcqget_dd_comparisonsget_dd_param_emmsget_lookup_tableglancelong_to_wide_mcqlong_to_wide_mcq_excelmcq27_to_choiceplot_ddplot_qqprop_ssranefresults_ddscore_ddscore_mcq27score_pdsimulate_dd_choicesimulate_dd_ipsummarize_mcqtidytiming_ddtiming_pdwide_to_long_mcqwide_to_long_mcq_excel
Dependencies:backportsbayestestRbeezdemandbootbroomclicpp11datawizarddigestdplyremmeansestimabilityfarvergenericsggplot2glueGPArotationgtablegtoolsinsightisobandlabelinglatticelhslifecyclelme4magrittrMASSMatrixminpack.lmminqamnormtmvtnormnlmenloptrnls.multstartnls2nlsrnlstoolsnumDerivoptimxperformancepillarpkgconfigpracmaprotopsychpurrrR6rbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangS7scalesstringistringrtibbletidyrtidyselectTMButf8vctrsviridisLitewithr
Last update: 2026-06-23
Started: 2026-06-11
Last update: 2026-06-19
Started: 2026-06-17
Last update: 2026-06-18
Started: 2026-06-11
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
Last update: 2026-06-17
Started: 2026-06-17
Last update: 2026-06-07
Started: 2026-06-07
