Model files are almost exclusively used in design()
.
Default values are used for all parameters that are not explicitly listed in the formula
argument of design()
.They can also be accessed with RDM()$p_types
.
Parameter | Transform | Natural scale | Default | Mapping | Interpretation |
v | log | [0, Inf] | log(1) | | Evidence-accumulation rate (drift rate) |
A | log | [0, Inf] | log(0) | | Between-trial variation (range) in start point |
B | log | [0, Inf] | log(1) | b = B + A | Distance from A to b (response threshold) |
t0 | log | [0, Inf] | log(0) | | Non-decision time |
sv | log | [0, Inf] | log(1) | | Within-trial standard deviation of drift rate |
All parameters are estimated on the log scale.
The parameterization b = B + A ensures that the response threshold is
always higher than the between trial variation in start point.
Conventionally, s
is fixed to 1 to satisfy scaling constraints.
Because the RDM is a race model, it has one accumulator per response option.
EMC2 automatically constructs a factor representing the accumulators lR
(i.e., the
latent response) with level names taken from the R
column in the data.
The lR
factor is mainly used to allow for response bias, analogous to Z in the
DDM. For example, in the RDM, response thresholds are determined by the B
parameters, so B~lR
allows for different thresholds for the accumulator
corresponding to "left" and "right" stimuli, for example, (e.g., a bias to respond left occurs
if the left threshold is less than the right threshold).
For race models in general, the argument matchfun
can be provided in design()
.
One needs to supply a function that takes the lR
factor (defined in the augmented data (d)
in the following function) and returns a logical defining the correct
response. In the example below, this is simply whether the S
factor equals the
latent response factor: matchfun=function(d)d$S==d$lR
. Using matchfun
a latent match factor (lM
) with
levels FALSE
(i.e., the stimulus does not match the accumulator) and TRUE
(i.e., the stimulus does match the accumulator). This is added internally
and can also be used in model formula, typically for parameters related to
the rate of accumulation.
Tillman, G., Van Zandt, T., & Logan, G. D. (2020). Sequential sampling models
without random between-trial variability: The racing diffusion model of speeded
decision making. Psychonomic Bulletin & Review, 27(5), 911-936.
https://doi.org/10.3758/s13423-020-01719-6