allcr.test: All tests of the family Cressie-Read for contingency table.

View source: R/allcr.test.R

allcr.testR Documentation

All tests of the family Cressie-Read for contingency table.

Description

All tests of the family Cressie-Read and contingency coefficient.

Usage

allcr.test(x, lambda = 2/3)

Arguments

x

contingency table.

lambda

parameter lambda test Cressie-Read.

Value

The whole family of tests Cressie-Read and contingency coefficient: Q_Yulea, Phi, C-Pearson, C_adj, V-Cramer, T-Tschuprow for 2x2 table or Phi, C-Pearson, C_adj, V-Cramer, T-Tschuprow for rxc table where r>2 or c>2

Author(s)

Krzysztof Trajkowski

References

Noel Cressie and Timothy R. C. Read (1984). Multinomial Goodness-of-Fit Test. Journal of the Royal Statistical Society. Series B (Methodological), Vol. 46, No. 3 (1984), 440-464.

See Also

goodfit

Examples

# data:
m <- matrix(c(23,32,45,26),2,2)
# all test:
allcr.test(m)

krzysiektr/CressieReadTest documentation built on April 3, 2024, 11:01 p.m.