simConf {statConfR} | R Documentation |
Simulate data according to a static model of confidence
Description
Simulate data according to a static model of confidence
Usage
simConf(model = "SDT", paramDf)
Arguments
model |
|
paramDf |
a
|
Details
see fitConf
for a detailed description of the different models.
Value
a dataframe with N
rows, and the columns
stimulus
, correct
and rating
. If more than 1 sensitivity parameter is provided, there is
diffCond
.
Author(s)
Manuel Rausch, manuel.rausch@hochschule-rhein-waal.de
Examples
# 1. define some parameters
paramDf <- data.frame(d_1 = 0, d_2 = 2, d_3 = 4,c = .0,
theta_minus.2 = -2, theta_minus.1 = -1, theta_plus.1 = 1, theta_plus.2 = 2,
sigma = 1/2, w = 0.5, N = 500)
# 2. Simulate dataset
SimulatedData <- simConf(model = "WEV", paramDf)