addm_run_by_trial_dynamic: Run model by unique trial

Description Usage Arguments Value Author(s)

Description

Run model by unique trial for one set of parameter values

Usage

1
2
3
4
addm_run_by_trial_dynamic(choice.dat = data.table(v1 = 0, v2 = 0, decision =
  0, id = 0), eye.dat = data.table(fixloc = 0, fixdur = 0, fixnr = 1, id = 0),
  model.parameters = c(0, 0.002, 0.07, 0.6), nr.attributes = 1,
  boundaryfun = 1, timestep = 10, state.step = 0.1)

Arguments

choice.dat

data.table storing the item valuations (v1,v2...), reaction times in ms (rt), decisions (decision) and unique trial ids (id).

eye.dat

data.table storing eyetracking data by trial. Fixation location (fixloc), Fixation number (fixnr), Fixation duration (fixdur) and a unique trial ids (id).

model.parameters

vector with the four core addm parameters in order (non.decision.time, drift, sd, theta, gamma, boundary-parameters).

nr.attributes

integer providing the amount of attributes we consider per item

timestep

integer number that provides the timestep-size that is used in the simulations (in ms).

state.step

numeric variable between 0 and 1, that indicate how finegrained the vertial grid is supposed to be

Value

numeric variable storing the negative log likelihood for given parameter set addm_run_by_trial_dynamic

Author(s)

Alexander Fengler, alexanderfengler@gmx.de


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