d_bernoulli_proxy {regDIF} | R Documentation |
Partial derivatives for binary items with proxy data.
Description
Partial derivatives for binary items with proxy data.
Usage
d_bernoulli_proxy(
parm,
p_item,
prox_data,
pred_data,
item_data_current,
cov,
samp_size,
num_items
)
Arguments
parm |
Item parameter being maximized. |
p_item |
Vector of item parameters. |
prox_data |
Vector of observed proxy scores. |
pred_data |
Matrix or dataframe of DIF and/or impact predictors. |
item_data_current |
Vector of current item responses. |
cov |
Covariate being maximized. |
samp_size |
Sample size in dataset. |
num_items |
Number of items in dataset. |
Value
a "list"
of first and second partial derivatives for Bernoulli item likelihood (to
use with coordinate descent and univariate Newton-Raphson)
[Package regDIF version 1.1.1 Index]