README.md

Build Status

Overview

chisq.posthoc.test is a R package that is designed to run a post hoc analysis for Pearson's Chi-squared Test for Count Data. The residuals as well as p-values will be returned.

Installation

The easiest way to get chisq.posthoc.test is to install it using the devtools:

install.packages("devtools")
devtools::install_github("ebbertd/chisq.posthoc.test")

Usage

chisq.posthoc.test(x, y, method = "bonferroni", ...)

x corresponds to x of the chisq.test function and are passed on to it. The method indicates the p adjustment method and defaults to the Bonferroni method. Additional options can be given which are passed on to the chisq.test function.

Notes

This work was inspired by the Youtube videos on how to do the Chi-Square Post-Hoc Testing in SPSS.

References

T. Mark Beasley & Randall E. Schumacker (1995) Multiple Regression Approach to Analyzing Contingency Tables: Post Hoc and Planned Comparison Procedures, The Journal of Experimental Education, 64:1, 79-93, DOI: 10.1080/00220973.1995.9943797



Try the chisq.posthoc.test package in your browser

Any scripts or data that you put into this service are public.

chisq.posthoc.test documentation built on Oct. 30, 2019, 11:41 a.m.