Learn R Programming

LatentREGpp (version 0.2.2)

simulate_dichotomous: Dichotomous data simulation

Description

This function a generates dichotomous test

Usage

simulate_dichotomous(dim.data = 1, sample.size = 1000, size.cluster = c(20), seed_data = 5000L, seed_item = 1000, model = "2PL")

Arguments

dim.data
Data dimension
sample.size
Size of the population to be simulated
size.cluster
Vector containing the number of items per dimension
seed_data
Seed for simulation of the data
seed_item
Seed for simulation of the item parameters
model
the model used to generate the test. It can have values of "1PL", "2PL" or "3PL".

Value

list with the simulated data, the information of the item parameters and the individual parameters

See Also

simulate_polytomous

Examples

Run this code

#Example 1: see by default options
simm=simulate_dichotomous()

Run the code above in your browser using DataLab