d_categorical_itemblock: Partial derivatives for ordinal items.

View source: R/derivatives.r

d_categorical_itemblockR Documentation

Partial derivatives for ordinal items.

Description

Partial derivatives for ordinal items.

Usage

d_categorical_itemblock(
  parm,
  p_item,
  etable,
  theta,
  pred_data,
  item_data_current,
  samp_size,
  num_responses_item,
  num_items,
  num_predictors,
  num_quad
)

Arguments

parm

Item parameter being maximized.

p_item

Vector of item parameters.

etable

E-table for impact.

theta

Matrix of adaptive theta values.

pred_data

Matrix or dataframe of DIF and/or impact predictors.

item_data_current

Vector of current item responses.

samp_size

Sample size in dataset.

num_responses_item

Number of responses for item.

num_items

Number of items in dataset.

num_predictors

Number of predictors in dataset.

num_quad

Number of quadrature points used for approximating the latent variable.

Value

a "list" of first and second partial derivatives for categorical item likelihood (to use with multivariate Newton-Raphson)


regDIF documentation built on May 29, 2024, 9:31 a.m.