aevacc_by_trial: Simulate aDDM process by unique trial (>2 items)

Description Usage Arguments Value Author(s)

Description

Simulate aDDM process by unique trial (>2 items) aevacc_by_trial()

Usage

1
2
aevacc_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])

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

nr_attributes

placeholder for interface consistency / see multiattribute versions for specification

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

Value

Returns a 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.