z3_personf: Z3 Person fit statistic

Description Usage Arguments Author(s) References See Also Examples

View source: R/itemfit.R

Description

Calculates the values of statistical Z3 for individuals.

Usage

1
z3_personf(data, zita, patterns)

Arguments

data

a data frame or a matrix with the test.

zita

a list of estimations of the parameters of the items (discrimination,difficulty, guessing).

patterns

matrix of patterns response, the frequency of each pattern and the latent traits.

Author(s)

SICS Research, National University of Colombia [email protected]

References

Fritz Drasgow, Michael V. Levine and Esther A. Williams (1985). Appropiateness measurement with polychotomous item response models and standarized indices.

See Also

z3_itemf, orlando_itemf

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#Simulates a test and returns a list:
test <- simulateTest()

#the simulated data:
data <- test$test

#model:
mod <- irtpp(dataset = data,model = "3PL")

#latent trait:
zz <- parameter.matrix(mod$z)
p_mat <- mod$prob_mat
traits <- individual.traits(model="3PL",method = "EAP",dataset = data,itempars = zz,
probability_matrix=p_mat)

#Z3 PERSONFIT-Statistic
z3_personf(data = data,zita = mod$z,patterns = traits)

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