single_model_ll | R Documentation |
This function runs one of the possible architectures repeatedly, horrible, uses a global variable for the selected model.
This function runs one of the possible architectures repeatedly, horrible, uses a global variable for the selected model.
single_model_ll(
x,
data,
contaminant_prob = 0.02,
architecture = "IST",
min_rt = 0,
max_rt = 1
)
single_model_ll(
x,
data,
contaminant_prob = 0.02,
architecture = "IST",
min_rt = 0,
max_rt = 1
)
x |
A named vector containing parameter values to test |
data |
The data for a single subject for which the likelihood should be calculated |
contaminant_prob |
The probability used for contaminant process in the modelling. A contaminant process is just a uniform random response in the allowable time window. |
architecture |
The name of the architecture model to implement |
min_rt |
The smallest possible response time in the data |
max_rt |
The largest possible response time in the data |
The log of the likelihood for the data under parameter values x
The log of the likelihood for the data under parameter values x
The vector x should contain the following elements:
A number of \alpha
values
A - the start point variability
b^a and b^r, the thresholds to either accept or reject the item.
t0 - the residual time, bounded above by the minimum response time for the participant
12 drift rates. For each attribute there are three stimulus levels. For each of these 6 attribute levels there are two drift rates, one drift rate to accept (v^a) and one to reject (v^r)
The vector x should contain the following elements:
A number of \alpha
values
A - the start point variability
b^a and b^r, the thresholds to either accept or reject the item.
t0 - the residual time, bounded above by the minimum response time for the participant
12 drift rates. For each attribute there are three stimulus levels. For each of these 6 attribute levels there are two drift rates, one drift rate to accept (v^a) and one to reject (v^r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.