Variance-covariance matrix of a CUB model without covariates
Variance-covariance matrix of a CUB model without covariates
Compute the variance-covariance matrix of parameter estimates of a CUB model without covariates.
varcovcub00(m, ordinal, pai, csi)
Arguments
m: Number of ordinal categories
ordinal: Vector of ordinal responses
pai: Uncertainty parameter
csi: Feeling parameter
Details
The function checks if the variance-covariance matrix is positive-definite: if not, it returns a warning message and produces a matrix with NA entries.