lk_obs_score {MultiLCIRT} | R Documentation |
Compute observed log-likelihood and score
Description
Function used within est_multi_poly
to compute observed log-likelihood and score.
Usage
lk_obs_score(par_comp, lde, lpar, lga, S, R, yv, k, rm, l, J, fv, link,
disc, indga, glob, refitem, miss, ltype, XXdis, Xlabel,
ZZ0, fort)
Arguments
par_comp |
complete vector of parameters |
lde |
length of de |
lpar |
length of par |
lga |
length of ga |
S |
matrix of responses |
R |
matrix of observed responses indicator |
yv |
vector of frequencies |
k |
number of latent classes |
rm |
number of dimensions |
l |
number of respnse categories |
J |
number of items |
fv |
indicator of constrained parameters |
link |
link function |
disc |
presence of discrimination parameter |
indga |
indicator of gamma parameters |
glob |
indicator of gloabl parametrization for the covariates |
refitem |
vector of reference items |
miss |
indicator of presence of missing responses |
ltype |
type of logit |
XXdis |
array of covariates |
Xlabel |
indicator for covariate configuration |
ZZ0 |
design matrix |
fort |
to use fortran |
Value
lk |
log-likelihood function |
sc |
score vector |
Author(s)
Francesco Bartolucci - University of Perugia (IT)
[Package MultiLCIRT version 2.11 Index]