Function used within est_multi_poly
to compute observed log-likelihood and score.
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)
complete vector of parameters
length of de
length of par
length of ga
matrix of responses
matrix of observed responses indicator
vector of frequencies
number of latent classes
number of dimensions
number of respnse categories
number of items
indicator of constrained parameters
link function
presence of discrimination parameter
indicator of gamma parameters
indicator of gloabl parametrization for the covariates
vector of reference items
indicator of presence of missing responses
type of logit
array of covariates
indicator for covariate configuration
design matrix
to use fortran
log-likelihood function
score vector