l_RSC: Log-likelihood of the one-parameter RSC model.

Description Usage Arguments Value

Description

Computes loglikeihood of a response matrix under the one-parameter RSC model.

Usage

1
l_RSC(resp, u, parms, theta1, theta2)

Arguments

resp

a matrix or data.frame containing the (conjunctively-scored, binary) item responses.

u

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.

theta1

the latent trait of member 1.

theta2

the latent trait of member 2.

Value

length(w)-vector of log-likelihood.


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