Learn R Programming

IRTpp (version 0.2.6.1)

simulateTest: Simulates a test

Description

Simulates a test according to a IRT Model.

Usage

simulateTest(model = "3PL", items = 10, latentTraits = NULL, individuals = 1000, boundaries = NULL, dims = 1, itempars = NULL, verbose = F, threshold = 0, seed = 500L, clusters = NULL, repetition = 1)

Arguments

model
The IRT model. "1PL","2PL" or "3PL". In Multidimensional is "3PL".
items
The items to simulate in the test.
latentTraits
The latentTraits in the UIRT case.
individuals
The individuals to simulate in the test.
boundaries
The boundaries for parameter generation. See the simulateItemParameters documentation for help.
dims
The dimensionality of the test.
itempars
A list with teh parameters of the items if provided.
verbose
Verbosibity for more information about the process, use when simulating long tests.
threshold
A boundary for the percent of answered questions to a test. i.e. 0.05 indicates the individuals will answer maximum the 95% of the questions and minimum the 5% of the questions. UIRT only.
seed
Desired seed to use in test generation. If null, a seed based on the current time will be used.
clusters
Used for MD test generation.
repetition
Used for MD test generation.

Value

List with model, seed, itempars, and the simulated test.

Details

Check the documentation of simulateTestMD for information on the return in the Multidimensional case.

See Also

simulateTest.file, simulateTestMD

Examples

Run this code
# simulateTest("2PL", items = 30, individuals = 500)

Run the code above in your browser using DataLab