itm {equateIRT} | R Documentation |
Extract Item Parameters
Description
itm
is a generic function which extracts a data frame containing the
item parameters of two forms being equated in the original scale and
item parameters of the first form converted in the scale of the second form.
Usage
itm(x, ...)
## S3 method for class 'eqc'
itm(x, ...)
## S3 method for class 'eqclist'
itm(x, link, ...)
## S3 method for class 'ceqc'
itm(x, ...)
## S3 method for class 'ceqclist'
itm(x, path, ...)
## S3 method for class 'meqc'
itm(x, link, bistype = NULL, ...)
Arguments
x |
object of the class |
link |
a character string with the names of the two forms being linked separated by a dot (e.g. " |
path |
a character string with the names of the forms that constitute the path separated by a dot (e.g. " |
bistype |
bisector type. It should be |
... |
further arguments passed to or from other methods. |
Value
A data frame containing item names (Item
),
item parameters of the first form (e.g. test1
),
item parameters of the last form (e.g. test3
),
and item parameters of the first form converted
in the scale of the last form (e.g. test1.as.test3
).
Author(s)
Michela Battauz
See Also
convert
, alldirec
, bisectorec
, chainec
, direc
, modIRT
Examples
# the following code uses item parameter estimates previously obtained
# for examples that start from item response data see function modIRT
# two-parameter logistic model
data(est2pl)
test<-paste("test", 1:5, sep = "")
mod2pl <- modIRT(coef = est2pl$coef, var = est2pl$var, names = test, display = FALSE)
# direct equating coefficients between forms 1 and 2 using the Haebara method
l12 <- direc(mods = mod2pl, which = c(1,2), method = "Haebara")
# all direct equating coefficients using the Haebara method
direclist2pl <- alldirec(mods = mod2pl, method = "Haebara")
# compute all chain equating coefficients of length 3
chainec3 <- chainec(r = 3, direclist = direclist2pl)
# compute chain equating coefficients for path 1,2,3,4
pth1 <- paste("test", 1:4, sep = "")
chainec1 <- chainec(direclist = direclist2pl, pths = pth1)
# compute chain equating coefficients for path 1,5,4
pth2 <- c(paste("test", c(1,5,4), sep = ""))
chainec2 <- chainec(direclist = direclist2pl, pths = pth2)
# create a list of objects of class ceqc
ecall <- c(chainec1, chainec2)
# compute bisector and weighted bisector coefficients
allec <- bisectorec(ecall = ecall, weighted = TRUE, unweighted = TRUE)
# extract item parameters
itm(l12)
itm(direclist2pl, link = "test1.test2")
itm(chainec3, path = "test1.test2.test3")
itm(allec, bistype = "weighted")