dpsdRNSim: Function dpsdRNSim

Description Usage Arguments References

View source: R/dpsdRN.R

Description

Simulate data from DPSD model with R a function of N

Usage

1
2
3
4
dpsdRNSim(NN = 2, NS = 1, I = 30, J = 200, K = 6, muN = c(-0.7, -0.5),
s2aN = 0.2, s2bN = 0.2, muS = 0, s2aS = 0.2, s2bS = 0.2,
muR = qnorm(0.25), phiA = -1, phiB = -1,
crit = matrix(rep(c(-1.6, -0.5, 0, 0.5, 1.6), each = I), ncol = (K - 1)))

Arguments

NN

Number of new-item conditions.

NS

Number of studied-item conditions.

I

Number of participants.

J

Number of items.

K

Number of confidence ratings

muN

Mean of new-item distributuion

s2aN

Variance of participant effects on new-item distribution

s2bN

Variance of item effects on new-item distribution

muS

Mean of studied-item distribution

s2aS

Variance of participant effects on studied-item distribution

s2bS

Variance of item effects on studied-item distribution

muR

Mean of recollection (on probit space)

phiA

Linear slope of participant effect on recollection.

phiB

Linear slope of item effect on recollection.

crit

Matrix of criteria

References

See Pratte and Rouder (in review)


hbmem documentation built on April 7, 2018, 1:03 a.m.