Function used within est_multi_poly_between
to compute observed log-likelihood and score.
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)
complete vector of parameters
length of de
length of part
length of gat
matrix of responses
matrix of observed responses indicator
vector of frequencies
number of latent classes for the latent variable
number of dimensions for the latent variable
number of response categories for each item
number of items
indicator of constrained parameters
presence of discrimination parameters
indicator of global parametrization for the covariates
vector of reference items
indicator of presence of missing responses
type of logit
array of covariates for the latent variable
indicator for covariate configuration
design matrix
to use Fortran
array for the specification of constraints on the support points of the latent variable and for the item difficulty parameters
vector for the specification of constraints on the support points of the latent variable and for the item difficulty parameters
matrix for the specification of constraints on the item discriminating indices
vector for the specification of constraints on the item discriminating indices
items affected by the latent variable
log-likelihood function
score vector