Evaluates whether and how to fit a cumulative history parameter.
Evaluation is based on the param_value
.
NULL
(default) - a single value will be fitted for all participants and runs, also applied if randomN == 1
."random"
- an independent value is fitted for each random cluster."1|random"
- a value for a random cluster is sampled from a population distribution, i.e., pooled parameter values via a multilevel model.evaluate_history_option(param_name, param_value, randomN, upperLimit)
param_name
: Name of the parameter.param_value
: Value from the fit_cumhist
function call.randomN
: Number of levels for the random variable.upperLimit
: Upper limit for a valid param_value
.a list with <param_name>_option
and fixed_<param_name>
.
evaluate_history_option("tau", 1, 1, Inf)
Useful links