aevaccma2_by_trial: Simulate aDDM process (by trial, 2 items, multiattribute)

Description Usage Arguments Value Author(s)

Description

Simulate aDDM process by unique trial (2 items // multiattribute) aevaccma2_by_trial()

Usage

1
2
aevaccma2_by_trial(parameters, maxdur, mindur, cur_decision, update,
  nr_attributes, fixpos, fixdur, nr_reps, timestep)

Arguments

parameters

vector that stores the parameters used for the simulations (Order: [non.decision.time, drift, sd, theta, gamma])

maxdur

numeric variable that supplies the maximum reaction time considered a success in simulations

mindur

numeric variable that supplies the minimum reaction time considered a succes in simulations

cur_decision

numeric variable that provides the empirical decision taken in trial

update

Vector that stores the item valuations for the trial conditon simulated

fixpos

Vector that stores the locations for a supplied fixed fixation pathway

fixdur

Vector that stores the fixation durations for a supplied fixed fixation pathway

nr_reps

number of repitions (simulation runs)

timestep

timestep in ms associated with each step in the drift diffusion process

cur_maxfix

integer that provides number of fixation in trial

Value

numeric variable that provides a success count (runs that predicted a reaction time in the correct rt-bin and simultaneously the correct decision)

Author(s)

Alexander Fengler, alexanderfengler@gmx.de


AlexanderFengler/addmtoolbox documentation built on May 5, 2019, 4:53 a.m.