Usage
est_multi_poly_between(S, yv = rep(1,ns), k, X = NULL, start = c("deterministic","random","external"), link = c("global","local"), disc = FALSE, difl = FALSE, multi = 1:J, piv = NULL, Phi = NULL, gac = NULL, De = NULL, fort = FALSE, tol = 10^-10, disp = FALSE, output = FALSE, out_se = FALSE, glob = FALSE)
Arguments
S
matrix of all response sequences observed at least once in the sample and listed row-by-row
(use NA for missing responses)
yv
vector of the frequencies of every response configuration in S
k
number of ability levels (or latent classes) for the latent variable
X
matrix of covariates that affects the weights
start
method of initialization of the algorithm)
link
type of link function ("global" for global logits, "local" for local logits);
with global logits a graded response model results; with local logits a partial credit model results (with dichotomous responses, global logits is the same as using local logits resulting in the Rasch or the 2PL model depending on the value
assigned to disc)
disc
indicator of constraints on the discriminating indices (FALSE = all equal to one, TRUE = free)
difl
indicator of constraints on the difficulty levels (FALSE = free, TRUE = rating scale parametrization)
multi
matrix with a number of rows equal to the number of dimensions and elements in each row
equal to the indices of the items measuring the dimension corresponding to that row for the latent variable
piv
initial value of the vector of weights of the latent classes (if start="external") for the latent variable
Phi
initial value of the matrix of the conditional response probabilities (if start="external")
gac
initial value of the complete vector of discriminating indices (if start="external")
De
initial value of regression coefficients for the covariates (if start="external")
fort
to use Fortran routines when possible
tol
tolerance level for checking convergence of the algorithm as relative difference between
consecutive log-likelihoods
disp
to display the likelihood evolution step by step
output
to return additional outputs (Piv,Pp,lkv)
out_se
to return standard errors
glob
to use global logits in the covariates