d_alpha: Partial derivatives for mean impact equation.

View source: R/derivatives.r

d_alphaR Documentation

Partial derivatives for mean impact equation.

Description

Partial derivatives for mean impact equation.

Usage

d_alpha(
  p_impact,
  etable,
  theta,
  mean_predictors,
  var_predictors,
  cov,
  samp_size,
  num_items,
  num_quad
)

Arguments

p_impact

Vector of 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.

cov

Covariate being maximized.

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.

Value

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


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