Description Usage Arguments Value References Examples
View source: R/chisq_posthoc_test.R
Perform post hoc analysis based on residuals of Pearson's Chi-squared Test for Count Data.
1 | chisq.posthoc.test(x, method = "bonferroni", round = 6, ...)
|
x |
A matrix passed on to the chisq.test function. |
method |
The p adjustment method to be used. This is passed on to the p.adjust function. |
round |
Number of digits to round the p.value to. Defaults to 6. |
... |
Additional arguments passed on to the chisq.test function. |
A table with the adjusted p value for each x y combination.
Agresti, A. (2007). An Introduction to Categorical Data Analysis, 2nd ed. New York: John Wiley & Sons. Page 38.
Beasley, T. M., & Schumacker, R. E. (1995). Multiple Regression Approach to Analyzing Contingency Tables: Post Hoc and Planned Comparison Procedures. The Journal of Experimental Education, 64(1), 79–93.
1 2 3 4 5 6 7 |
Dimension Value Democrat Independent Republican
1 F Residuals 4.502054 0.6994517 -5.315946
2 F p values 0.000040 1.0000000 0.000001
3 M Residuals -4.502054 -0.6994517 5.315946
4 M p values 0.000040 1.0000000 0.000001
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.