d_bernoulli_itemblock_proxy {regDIF}R Documentation

Partial derivatives for binary items by item-blocks using observed score proxy.

Description

Partial derivatives for binary items by item-blocks using observed score proxy.

Usage

d_bernoulli_itemblock_proxy(
  p_item,
  pred_data,
  item_data_current,
  prox_data,
  samp_size,
  num_items,
  num_predictors,
  num_quad
)

Arguments

p_item

Vector of item parameters.

pred_data

Matrix or dataframe of DIF and/or impact predictors.

item_data_current

Vector of current item responses.

prox_data

Vector of observed proxy scores.

samp_size

Sample size in dataset.

num_items

Number of items in dataset.

num_predictors

Number of predictors in dataset.

Value

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


[Package regDIF version 1.1.1 Index]