d_impact_block_proxy: Partial derivatives for mean and variance impact equation...

View source: R/derivatives.r

d_impact_block_proxyR Documentation

Partial derivatives for mean and variance impact equation using observed score proxy.

Description

Partial derivatives for mean and variance impact equation using observed score proxy.

Usage

d_impact_block_proxy(
  p_mean,
  p_var,
  prox_data,
  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.

prox_data

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

samp_size

Sample size in data set.

num_items

Number of items in data set.

num_predictors

Number of predictors in dataset.

Value

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


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