lk_obs_score_between {MLCIRTwithin}R Documentation

Compute observed log-likelihood and score

Description

Function used within est_multi_poly_between to compute observed log-likelihood and score.

Usage

lk_obs_score_between(part_comp, lde, lpart, lgat, S, R, yv, k, rm, lv,
                     J, fv, disc, glob, refitem, miss,
                     ltype, XXdis, Xlabel, ZZ0,fort, Zpar, zpar, Zga, zga, items)

Arguments

part_comp

complete vector of parameters

lde

length of de

lpart

length of part

lgat

length of gat

S

matrix of responses

R

matrix of observed responses indicator

yv

vector of frequencies

k

number of latent classes for the latent variable

rm

number of dimensions for the latent variable

lv

number of response categories for each item

J

number of items

fv

indicator of constrained parameters

disc

presence of discrimination parameters

glob

indicator of global parametrization for the covariates

refitem

vector of reference items

miss

indicator of presence of missing responses

ltype

type of logit

XXdis

array of covariates for the latent variable

Xlabel

indicator for covariate configuration

ZZ0

design matrix

fort

to use Fortran

Zpar

array for the specification of constraints on the support points of the latent variable and for the item difficulty parameters

zpar

vector for the specification of constraints on the support points of the latent variable and for the item difficulty parameters

Zga

matrix for the specification of constraints on the item discriminating indices

zga

vector for the specification of constraints on the item discriminating indices

items

items affected by the latent variable

Value

lk

log-likelihood function

sc

score vector

Author(s)

Francesco Bartolucci - University of Perugia (IT)


[Package MLCIRTwithin version 2.1.1 Index]