traceProbMP: Traceline function for an item from a fitted MP model.

View source: R/MPfunctions.R

traceProbMPR Documentation

Traceline function for an item from a fitted MP model.

Description

Traceline function for an item from a fitted MP model.

Usage

traceProbMP(x, j, theta = seq(-5, 5, 0.1))

Arguments

x

Fitted mxModel (e.g., from fitMP.

j

Item index.

theta

Grid for theta, the latent trait.

Details

Extracts the given item from the fitted model, and then computes values of the traceline along the grid for theta. Each row of the output corresponds to a grid point, and each column to a response option category (from smallest to largest category).


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