sim.responses: simulate responses under Thurstonian IRT model

View source: R/sim_responses.R

sim.responsesR Documentation

simulate responses under Thurstonian IRT model

Description

simulate responses under Thurstonian IRT model

Usage

sim.responses(traits, items, design.load, K, nb, return.index = TRUE)

Arguments

traits

matrix of trait levels, rows = persons, columns = traits

items

matrix of item intercepts, loadings, and uniquenesses, as from sim.items()

design.load

design matrix of questionnaire, rows=items, columns=traits, 1=positively keyed, -1=negatively keyed

K

scalar, number of blocks

nb

scalar, block size

return.index

logical, return index for rank order as in permute() (TRUE) or rank orders (FALSE)? defaults to TRUE

Value

matrix of ranks, rows = persons, columns = items


susanne-frick/MFCblockInfo documentation built on Oct. 20, 2024, 8:26 p.m.