individual.traits: Estimate the latent traits.

Description Usage Arguments Value Examples

Description

Estimate the latent traits of the individuals in a test with some given item parameters.

Usage

1
2
individual.traits(model, itempars, method, dataset = NULL,
  probability_matrix = NULL)

Arguments

model

The model used to calibrate the parameters.

itempars

The item parameters for the model in matrix form.

method

The method for estimating the traits, may be "EAP" or "MAP".

dataset

The matrix with the responses from the individuals.

probability_matrix

The probability matrix in case it does not need to be recalculated.

Value

A list with the patterns and the estimated latent traits.

Examples

1
2
3
4
5
6
7
8
## Simulation data for the model "3pl"
# data <- simulateTest(model = "3PL", items = 100, individuals = 1000)
## Estimation of the parameters
# est <- irtpp(data$test, model = "3PL")
## Parameter Matrix 
# z <- parameter.matrix(est$z)
#trait <- individual.traits(model = "3PL", itempars = z, dataset = data$test,
#                  method = "EAP", probability_matrix = est$prob_mat)

SICSresearch/IRTpp documentation built on May 9, 2019, 11:11 a.m.