Description Usage Arguments Value Author(s) Examples
This function transforms item parameters using estimated IRT linking coefficients.
1 | transpar(x, constants)
|
x |
A data.frame containing the item meta data (e.g., item parameters, number of categories, models ...). This data.frame
can be easily obtained using the function |
constants |
A vector of length two containing the IRT linking coefficients (i.e., slope and intercept). The first value is a slope and the second value is an intercept. |
This function returns a data.frame containing the transformed item parameters.
Hwanggyu Lim hglim83@gmail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## IRT liking using single-format tests
# use "KBneat" data set
dat_base <- KBneat$item$dat.base
dat_new <- KBneat$item$dat.new
# specify common items
common.b <- KBneat$common$common.b
common.n <- KBneat$common$common.b
# prepare a data set for IRT linking
x <- preplink(dat_base, dat_new, common.b, common.n)
# estimate IRT linking coefficients using the Mean/Sigma method
rst <- irtlink(x, method.link = 'SL', D = 1.7)
# extract the estimated linking coefficients
constants <- takelink(rst, "coefficients")
# transform the item parameters in the new test form
transpar(dat_new, constants)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.