The Diffusion Model for Conflict Tasks is a model for describing conflict
tasks like the Stroop, Simon, or flanker task.
It has the following properties (see component_shelf):
If var_non_dec = TRUE, a (truncated) normally distributed non-decision with
mean non_dec and standard deviation sd_non_dec is assumed. If
var_start = TRUE, a beta-shaped starting point distribution is assumed
with shape and scale parameter alpha.
If var_non_dec = TRUE, a constant non-decision time at non_dec is set. If
var_start = FALSE, a starting point centered between the boundaries is
assumed (i.e., a dirac delta over 0).
Per default the shape parameter a is set to 2 and not allowed to
vary. This is because the derivative of the scaled gamma-distribution
function does not exist at t = 0 for a < 2. Currently, we recommend
keeping a fixed to 2. If users decide to set a != 2,
then a small value of tol = 0.001 (default) is added to the time vector
t_vec before calculating the derivative of the scaled gamma-distribution as
originally introduced by Ulrichetal.2015;textualdRiftDM. Users
can control this value by passing a value via ddm_opts() (see the example
below). Note, however, that varying a can lead to large numerical
inaccuracies if a gets smaller.
The model assumes the amplitude A to be negative for
incompatible trials. Also, the model contains the custom parameter
peak_l, containing the peak latency ((a-2)*tau).