View source: R/MPdifferencefunctions.R
tracedif | R Documentation |
Difference in tracelines or TCC
tracedif(
mod1,
mod2,
j1,
j2,
method = c("RIMSD", "ISD", "IAD"),
scale = TRUE,
scaletest = TRUE,
theta = seq(-5, 5, 0.1),
w = dnorm(theta)/sum(dnorm(theta))
)
mod1 |
Fitted |
mod2 |
Fitted |
j1 |
Item index (or vector of indices in the case of TCC) for the first model. |
j2 |
Item index (or vector of indices in the case of TCC) for the second model. |
method |
Which type of discrepancy to compute? RIMSD, ISD, or IAD. |
scale |
logical value to determine whether to scale each expected score value to 0-1. See |
scaletest |
logical value to determine whether to scale the overall test by dividing by the number of items. See |
theta |
Grid over which to compute the traceline or TCC. |
w |
Vector of weights; usually these should sum to 1. |
This is a convenience function which allows computation of RIMSD, ISD, or IAD directly from two fitted models and will do so on either single items from each or for TCCs if a vector of items from each is selected. Note that RIMSD is usually scaled so that the resulting value is on a metric between 0 and 1. Variants of ISD and IAD (wABC an sDTF) in previous papers were dependent on the number of score categories. However, Chalmers et al. mentions a variant that can serve as an effect size if further scaled.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.