coeff | R Documentation |
Computes contingency coefficient: Q_Yulea, Phi, C-Pearson, C_adj, V-Cramer, T-Tschuprow for 2x2 table or C-Pearson, C_adj, V-Cramer, T-Tschuprow for rxc table where r>2 or c>2.
coeff(x)
x |
contingency table. |
Krzysztof Trajkowski
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.
chisq.test
assocstats
# data:
m <- matrix(c(23,32,45,26),2,2)
# contingency coefficient:
coeff(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.