Chacko_test_1xc {contingencytables}R Documentation

The Chacko test for order-restriction

Description

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.

Usage

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)

[Package contingencytables version 3.0.0 Index]