View source: R/MPdifferencefunctions.R
tracedifitem | R Documentation |
Difference in tracelines for just a pair of items
tracedifitem(
item1,
item2,
par1,
par2,
method = c("RIMSD", "ISD", "IAD"),
scale = TRUE,
theta = seq(-5, 5, 0.1),
w = dnorm(theta)/sum(dnorm(theta))
)
item1 |
Item specification. e.g., from |
item2 |
Item specification. e.g., from |
par1 |
Item parameters for item 1. |
par2 |
Item parameters for item 2. |
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. |
theta |
Grid over which to compute the traceline. |
w |
Vector of weights; usually these should sum to 1. |
This is a convenience function which allows computation of RIMSD, ISD, or IAD from two item specifications and their parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.