Learn R Programming

fourPNO (version 1.0.2)

min2LL_4pno: Compute 4PNO Deviance

Description

Internal function to compute the deviance, or minus 2 log-likelihood, -2LL.

Usage

min2LL_4pno(N, J, Y, as, bs, gs, ss, theta)

Arguments

N
An int, which gives the number of observations. (> 0)
J
An int, which gives the number of items. (> 0)
Y
A N by J matrix of item responses.
as
A vector of item discrimination parameters.
bs
A vector of item threshold parameters.
gs
A vector of item lower asymptote parameters.
ss
A vector of item upper asymptote parameters.
theta
A vector of prior thetas.

Value

  • -2LL.

See Also

Gibbs_4PNO