Description Usage Arguments Details Value References Examples
Compute the X^2 statistic of Pearson for CUB models with one or two discrete covariates for the feeling component.
1 | chi2cub(m,ordinal,W,pai,gama)
|
m |
Number of ordinal categories |
ordinal |
Vector of ordinal responses |
W |
Matrix of covariates for the feeling component |
pai |
Uncertainty parameter |
gama |
Vector of parameters for the feeling component, with length equal to NCOL(W)+1
to account for an intercept term (first entry of |
No missing value should be present neither
for ordinal
nor for covariate matrices: thus, deletion or imputation procedures should be
preliminarily run.
A list with the following components:
df |
Degrees of freedom |
chi2 |
Value of the Pearson fitting measure |
dev |
Deviance indicator |
Tutz, G. (2012). Regression for Categorical Data, Cambridge University Press, Cambridge
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.