min2LL_ono: Compute Deviance for Ordinal Probit Factor Model

Description Usage Arguments Value Author(s)

View source: R/RcppExports.R

Description

Internal function to compute -2LL using unstandardized parameters.

Usage

1
min2LL_ono(N, J, Y, MISS, as, bs, theta, Ms, Kaps)

Arguments

N

The number of observations. (> 0)

J

The number of items. (> 0)

Y

A N by J matrix of item responses.

MISS

A N by J matrix of missing data indicators.

as

A matrix of item loadings.

bs

A vector of threshold parameters.

theta

A matrix of factor scores.

Ms

A vector of the number of score categories. Note 2 = two parameter normal ogive, >2 ordinal normal ogive.

Kaps

A matrix of category thresholds.

Value

-2LL.

Author(s)

Steven Andrew Culpepper


bayesefa documentation built on Feb. 10, 2021, 5:10 p.m.