simulate_thirt_params: Simulate parameters

View source: R/simulate_thirt.R

simulate_thirt_paramsR Documentation

Simulate parameters

Description

Generate parameters that conform to the Thurstonian IRT model.

Usage

simulate_thirt_params(
  n_person = 2,
  n_item = c(2, 4),
  n_neg = 1,
  n_block = 2,
  n_dim = 4
)

Arguments

n_person

integer indicating the number of people

n_item

integer or vector of length ⁠[n_block]⁠ indicating the number of items for each block

n_neg

integer or vector of length ⁠[n_block]⁠ indicating the number of negatively-keyed items for each block

n_block

integer indicating the number of blocks

n_dim

integer indicating the number of dimensions or traits

Value

a list of parameters including gamma for item pairs, individual item parameters, and person parameters


nguyenllpsych/thirt documentation built on Feb. 14, 2024, 10:53 p.m.