tracedifitem: Difference in tracelines for just a pair of items

View source: R/MPdifferencefunctions.R

tracedifitemR Documentation

Difference in tracelines for just a pair of items

Description

Difference in tracelines for just a pair of items

Usage

tracedifitem(
  item1,
  item2,
  par1,
  par2,
  method = c("RIMSD", "ISD", "IAD"),
  scale = TRUE,
  theta = seq(-5, 5, 0.1),
  w = dnorm(theta)/sum(dnorm(theta))
)

Arguments

item1

Item specification. e.g., from rpf.

item2

Item specification. e.g., from rpf.

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.

Details

This is a convenience function which allows computation of RIMSD, ISD, or IAD from two item specifications and their parameters.


falkcarl/mpirt documentation built on July 11, 2024, 12:09 a.m.