simulateTest: Simulates a test

Description Usage Arguments Details Value See Also Examples

View source: R/simulation.R

Description

Simulates a test according to a IRT Model.

Usage

1
2
3
4
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.

Details

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

Value

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

See Also

simulateTest.file, simulateTestMD

Examples

1
# simulateTest("2PL", items = 30, individuals = 500)

IRTpp documentation built on May 29, 2017, 9:58 a.m.