l_full_sum: Log-likelihood of a combined assessment, with sum option.

Description Usage Arguments Value

Description

This function is identical to l_full, except that it has an option for whether to return the sum the log-liklihood over respondents. See help(l_full) for details on formatting resp and parms.

Usage

1
l_full_sum(resp, u, parms, theta1, theta2, Sum = F)

Arguments

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

is the logit of the weight parameter of the RSC model.

parms

a data.frame with columns parms$alpha and parms$beta corresponding to the discrimination and difficulty parameters of the 2PL model, respectively. See details for information on formatting.

theta1

the latent trait of member 1.

theta2

the latent trait of member 2.

Value

length(w)-vector of log-likelihoods.


peterhalpin/BearShare documentation built on May 25, 2019, 12:48 a.m.