Described in Chapter 3, "The 1xc Table and the Multinomial Distribution", Chacko (1966) derived a test based on the Pearson chi-square statistic to test the hypothesis that the categories of a multinomial variable with c possible outcomes have a natural ordering. The test statistic is asymptotically chi-squared distributed.

Chacko_test_1xc(n)

Arguments

n

the observed counts (a 1xc vector, where c is the number of categories)

Value

An object of the contingencytables_result class, basically a subclass of base::list(). Use the utils::str() function to see the specific elements returned.

References

Chacko, V. J. (1966). Modified chi-square test for ordered alternatives. Sankhyā: The Indian Journal of Statistics, Series B, 185-190.

Fagerland MW, Lydersen S, Laake P (2017) Statistical Analysis of Contingency Tables. Chapman & Hall/CRC, Boca Raton, FL.

Examples

Chacko_test_1xc(hypothetical)
#> The Chacko test: P = 0.002168, T = 12.268 (df = 2)