Fit Linearized Hyperbolic Model for Delay Discounting Curves


[Up] [Top]

Documentation for package ‘delaydiscount’ version 0.0.1

Help Pages

check_input_preconditions Check preconditions for an input data frame for the prepare_data_frame and jb_rule_check functions.
dd_hyperbolic_model This function gets model parameter estimates for each group, including hyperparameters and estimates of the variance components (the observation error and subject random effect). It also gets F-test results for pairwise equality for the hyperparameter for each pair of groups, and overall equality of all hyperparameters.
estimate_hyperbolic_model_params Estimate the hyperparameters for each group, as well as the variance components of the model, using maximum likelihood estimation.
get_subj_est_ln_k Return ln(k) estimates for each subject.
hyperbolic_model_f_test Perform an F-test for equality of some combination(s) of hyperparameters.
jb_rule_check Apply Johnson-Bickel rule checks to each subject.
prepare_data_frame Prepare a data frame containing discounting for use on the other functions in this package.
remedi REMEDI data
simulate_dataset Simulate a dataset from the hierarchical linearized hyperbolic model.