Behavioral Economic Easy Discounting
Converts answers from 5.5 trial delay discounting from Qualtrics templ...
Converts answers from 5.5 trial probability discounting from Qualtrics...
beezdiscounting: Behavioral Economic Easy Discounting
Calculate Area-Under-the-Curve (AUC) Metrics for Delay Discounting Dat...
Calculate Confidence Intervals for a Parameter
Calculate scores, answers, and timing for 5.5 trial delay discounting ...
Calculate scores, answers, and timing for 5.5 trial probability discou...
Calculate R-Squared for a Model
Check for Unsystematic Data Violations
Fit Delay-Discounting Model
Generate fake MCQ data
Get internal lookup table for the 27-item MCQ
Calculates item nearest neighbor imputation approach discussed by Yeh ...
Reshape MCQ data from long to wide (as used in the 21- and 27-Item Mon...
Reshape MCQ data long to wide
Pipe operator
Plot Delay-Discounting Model
Plot Proportion of SIR/SS Choices by k Value
Plot MCQ-27 Scores
Calculate proportion of SIR/SS responses at each k value
Extract Results from Delay-Discounting Model
Score 5.5 trial delay discounting from Qualtrics template
Score 27-item MCQ
Score one subject's 27-item MCQ
Score 5.5 trial probability discounting from Qualtrics template
Provide a summary of the results from the MCQ ouutput table.
Extract timing metrics from 5.5 trial delay discounting from Qualtrics...
Extract timing metrics from 5.5 trial probability discounting from Qua...
Reshape MCQ data from wide (as used in the 21- and 27-Item Monetary Ch...
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.