d_phi {regDIF} | R Documentation |
Partial derivatives for mean impact equation.
Description
Partial derivatives for mean impact equation.
Usage
d_phi(
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 dataset. |
num_items |
Number of items in dataset. |
num_quad |
Number of quadrature points used for approximating the latent variable. |
Value
a "list"
of first and second partial derivatives for variance impact equation (to
use with coordinate descent and univariate Newton-Raphson)
[Package regDIF version 1.1.1 Index]