d_impact_block: Partial derivatives for mean and variance impact equation.

View source: R/derivatives.r

d_impact_blockR Documentation

Partial derivatives for mean and variance impact equation.

Description

Partial derivatives for mean and variance impact equation.

Usage

d_impact_block(
  p_mean,
  p_var,
  etable,
  theta,
  mean_predictors,
  var_predictors,
  samp_size,
  num_items,
  num_quad,
  num_predictors
)

Arguments

p_mean

Vector of mean impact parameters.

p_var

Vector of variance impact parameters.

etable

E-table for impact.

theta

Matrix of adaptive theta values.

mean_predictors

Possibly different matrix of predictors for the mean impact equation.

var_predictors

Possibly different matrix of predictors for the variance impact equation.

samp_size

Sample size in data set.

num_items

Number of items in data set.

num_quad

Number of quadrature points used for approximating the latent variable.

num_predictors

Number of predictors in dataset.

Value

a "list" of first and second partial derivatives for impact equation (to use with multivariate Newton-Raphson)


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