lp: Log of prior distribution for a combined assessment.

Description Usage Arguments Value

Description

This function computes the log of the prior (minus a constant) 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. A standard normal prior is used for individual ability, and for the logit of the weight of the RSC model a normal prior is used with standard deviation sigma.

Usage

1
lp(u, theta1, theta2, sigma = 3)

Arguments

u

the logit of the weight parameter of the RSC model.

theta1

the latent trait of member 1.

theta2

the latent trait of member 2.

sigma

prior standard deviation for logit of weight.

Value

length(u)-vector of log-priors (minus a constant).


peterhalpin/cirt documentation built on May 25, 2019, 1:50 a.m.