Learn R Programming

GDINA (version 1.4.2)

Qval: Q-matrix validation

Description

Q-matrix validation for the G-DINA model based on de la Torre and Chiu (2016).

Usage

Qval(GDINA.obj, method = "PVAF", eps = 0.95, digits = 4)

# S3 method for Qval extract(object, what = c("sug.Q", "varsigma", "PVAF", "eps", "Q"), ...)

# S3 method for Qval summary(object, ...)

Arguments

GDINA.obj
An estimated model object of class GDINA
method
which Q-matrix validation method is used?
eps
cutoff value for PVAF. 0.95 is the default.
digits
How many decimal places in each number? The default is 4.
object
Qval objects for S3 methods
what
argument for S3 method extract indicating what to extract; It can be "sug.Q" for suggested Q-matrix, "Q" for original Q-matrix, "varsigma" for varsigma index, and "PVAF" for PVAF.
...
additional arguments

Value

An object of class Qval. Elements that can be extracted using extract method include:
sug.Q
suggested Q-matrix
Q
original Q-matrix
varsigma
varsigma index
PVAF
PVAF

Methods (by generic)

  • extract: extract various elements from Qval objects
  • summary: print summary information

References

de la Torre & Chiu. (2016). A General Method of Empirical Q-matrix Validation. Psychometrika, 81, 253-273. de la Torre, J., & Chiu, C.-Y. (2016). A General Method of Empirical Q-matrix Validation. Psychometrika. http://doi.org/10.1007/s11336-015-9467-8

See Also

GDINA, mesaplot

Examples

Run this code
## Not run: ------------------------------------
# dat <- sim10GDINA$simdat
# Q <- sim10GDINA$simQ
# Q[10,] <- c(0,1,0)
# mod1 <- GDINA(dat = dat, Q = Q, model = "GDINA")
# out <- Qval(mod1,eps = 0.95)
# out
# #If many entries are modified, you may want to check
# #the PVAF plot using the function plotPVAF or
# #to change eps. eps = 0.9 or 0.8 seems another two
# #reasonable choices.
# extract(out,what = "PVAF")
# #See also:
# extract(out,what = "varsigma")
# extract(out,what = "sug.Q")
# 
# # Draw a mesa plot
# mesaplot(out,item=10,type="all",no.qvector=5)
## ---------------------------------------------

Run the code above in your browser using DataLab