addm_generate_artificial: Generate artificial dataset

Description Usage Arguments Value Author(s)

Description

Generate artificial data for addm model fits

Usage

1
2
3
4
addm_generate_artificial(set.size = 2, possible.valuations = c(0, 1, 2, 3),
  model.parameters = c(0, 0.002, 0.07, 0.5), nr.attributes = 1,
  nr.reps = 2000, timestep = 10, rtbinsize = 100, nr.conditions = 30,
  model.type = "standard")

Arguments

set.size

Indicates the number of items that are allowed.

possible.valuations

Vector storing valuations that single items can hold in a choice set.

model.parameters

vector of parameters that will be used by the model to generate artificial choice/rt data

nr.attributes

integer providing the number of attributes that will be assigned to each item in the artificial choice set

nr.reps

An integer number that tells the function how many simulation runs to use.

timestep

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

rtbinsize

integer providing the binsize that reaction times will be sorted into

nr.conditions

integer that provides the number of unique trial conditions to be generated

model.type

A string that indicates which version of the model to run. 'standard' or 'memnoise' when memory effects shall be allowed.

fixation.model

A string that indicates which fixation model will be utilized for simulations. 'random' for random fixations (implemented) 'fixedpath' for following a predetermined fixation path with fixed durations (implemented).

core.parameters

Vector that provide parameters used to generate artificial data from drift diffusion process. (drift,theta,sd,non deicision time)

Value

returns a list of three components. A 'data.table' that stores all unique choice set conditions. A 'data.table' that stores eyetracking.data adjusted to be usable for by trial fits. A 'data.table' that stores by trial choice data. An id variable links all three data.tables. addm_generate_artificial Returns artificial data that can be used for test addm model fits

Author(s)

Alexander Fengler, alexanderfengler@gmx.de


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