Description Usage Arguments Value
This function computes second derivatives of the log-likelihood for a combined assessment, in which the 2PL model is used for the individual component of the assessment and the one-parameter RSC model is used for the group component of the assessment. The derivatives are taken in c(u, theta1, theta2)
. See help(l_full)
for details on formatting resp
and parms
.
1 | d2l_full(resp, u, parms, theta1, theta2, obs = T)
|
resp |
a data.frame containing the binary item responses of both the individual assessment and the (conjunctively scored) group assessment. See details for information on formatting. |
u |
the logit of the weight parameter of the RSC model. |
parms |
a data.frame with elements |
theta1 |
the latent trait of member 1. |
theta2 |
the latent trait of member 2. |
obs |
logical: should the observed value be returned? If not, the expected value is returned. |
3 * K
by 3 * K
block-diagonal, symmmetrical matrix of second derivatives, with K = length(u)
and rows/cols ordered as rep(c(u_k, theta1_k, theta2_k), times = K)
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.