chi2cub2cov: Pearson $X^2$ statistic for CUB models with one discrete covariate for feeling
Description
Compute the $X^2$ statistic of Pearson for the goodness of fit of a CUB model for ordinal responses, where the feeling parameter
is explained via a logistic transform of the only discrete covariate. It groups ratings in
classes according to the values of the covariate.