inigrid: Grid-based preliminary parameter estimates for CUB models
Description
Compute the log-likelihood function of a CUB model with parameter vector \((\pi, \xi)\) ranging in
the Cartesian product between \(x\) and \(y\), for a given absolute frequency distribution.
Usage
inigrid(m,freq,x,y)
Value
It returns the parameter vector corresponding to the maximum value of the log-likelihood
for a CUB model without covariates for given frequencies.
Arguments
m
Number of ordinal categories
freq
Vector of length \(m\) of the absolute frequency distribution
x
A set of values to assign to the uncertainty parameter \(\pi\)
y
A set of values to assign to the feeling parameter \(\xi\)