beezdiscounting0.3.2 package

Behavioral Economic Easy Discounting

ans_dd

Converts answers from 5.5 trial delay discounting from Qualtrics templ...

ans_pd

Converts answers from 5.5 trial probability discounting from Qualtrics...

beezdiscounting-package

beezdiscounting: Behavioral Economic Easy Discounting

calc_aucs

Calculate Area-Under-the-Curve (AUC) Metrics for Delay Discounting Dat...

calc_conf_int

Calculate Confidence Intervals for a Parameter

calc_dd

Calculate scores, answers, and timing for 5.5 trial delay discounting ...

calc_pd

Calculate scores, answers, and timing for 5.5 trial probability discou...

calc_r2

Calculate R-Squared for a Model

check_unsystematic

Check for Unsystematic Data Violations

fit_dd

Fit Delay-Discounting Model

generate_data_mcq

Generate fake MCQ data

get_lookup_table

Get internal lookup table for the 27-item MCQ

inn

Calculates item nearest neighbor imputation approach discussed by Yeh ...

long_to_wide_mcq_excel

Reshape MCQ data from long to wide (as used in the 21- and 27-Item Mon...

long_to_wide_mcq

Reshape MCQ data long to wide

pipe

Pipe operator

plot_dd

Plot Delay-Discounting Model

plot.prop_ss_output

Plot Proportion of SIR/SS Choices by k Value

plot.score_mcq27_output

Plot MCQ-27 Scores

prop_ss

Calculate proportion of SIR/SS responses at each k value

results_dd

Extract Results from Delay-Discounting Model

score_dd

Score 5.5 trial delay discounting from Qualtrics template

score_mcq27

Score 27-item MCQ

score_one_mcq27

Score one subject's 27-item MCQ

score_pd

Score 5.5 trial probability discounting from Qualtrics template

summarize_mcq

Provide a summary of the results from the MCQ ouutput table.

timing_dd

Extract timing metrics from 5.5 trial delay discounting from Qualtrics...

timing_pd

Extract timing metrics from 5.5 trial probability discounting from Qua...

wide_to_long_mcq_excel

Reshape MCQ data from wide (as used in the 21- and 27-Item Monetary Ch...

wide_to_long_mcq

Reshape MCQ data wide to long

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.