d_alpha_proxy: Partial derivatives for mean impact equation using proxy...

View source: R/derivatives.r

d_alpha_proxyR Documentation

Partial derivatives for mean impact equation using proxy data.

Description

Partial derivatives for mean impact equation using proxy data.

Usage

d_alpha_proxy(
  p_impact,
  prox_data,
  mean_predictors,
  var_predictors,
  cov,
  samp_size,
  num_items
)

Arguments

p_impact

Vector of impact parameters.

prox_data

Matrix of observed proxy scores.

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.

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.