A simulated data set of 1000 trials from a two-alternative forced choice task with 4 levels of confidence.
Value
A tibble of 1000 observations containing the following columns:
trial: the trial numberstimulus: the stimulus presence (0or1)response: the simulated type 1 responseconfidence: the simulated type 2 responsecorrect: the accuracy of the simulated type 1 responsedprime,c,meta_dprime,M,meta_c2_0,meta_c2_1: the parameters of the model used for simulationtheta,theta_1,theta_2: the joint, type 1, and type 2 response probabilities of the model used for simulation
Examples
# Fit an empty model on the example data
# (remove empty=TRUE to actually fit the model)
fit_metad(N ~ 1, example_data(), empty = TRUE)
#> `hmetad` has inferred that there are K=4 confidence levels in the data. If this is incorrect, please set this manually using the argument `K=<K>`
#> Family: metad__4__normal__absolute__multinomial
#> Links: mu = log
#> Formula: N ~ 1
#> Data: data.aggregated (Number of observations: 1)
#>
#> The model does not contain posterior draws.