infodif: Difference in information functions or TIF

View source: R/MPdifferencefunctions.R

infodifR Documentation

Difference in information functions or TIF

Description

Difference in information functions or TIF

Usage

infodif(
  mod1,
  mod2,
  j1,
  j2,
  method = c("RIMSD", "IAD", "ISD"),
  theta = seq(-5, 5, 0.1),
  w = dnorm(theta)/sum(dnorm(theta))
)

Arguments

mod1

Fitted mxModel, e.g., from fitMP.

mod2

Fitted mxModel, e.g., from fitMP.

j1

Item index (or vector of indices in the case of TIF) for the first model.

j2

Item index (or vector of indices in the case of TIF) for the second model.

method

Which type of discrepancy to compute? RIMSD, ISD, or IAD.

theta

Grid over which to compute the information function or TIF.

w

Vector of weights; usually these should sum to 1.

Details

This is a convenience function which allows computation of RIMSD, ISD, or IAD for item or test information (TIF) directly from two fitted models.


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