chisquare: Chi-Square and G-Square Test of Independence, Power and Residual Analysis, Measures of Categorical Association

Provides the facility to perform the chi-square and G-square test of independence, calculates the power of the traditional chi-square test, compute permutation and Monte Carlo p-value, and provides measures of association for tables of any size such as Phi, Phi corrected, odds ratio with 95 percent CI and p-value, Yule' Q and Y, adjusted contingency coefficient, Cramer's V, V corrected, V standardised, bias-corrected V, W, Cohen's w, Goodman-Kruskal's lambda, gamma, tau, Cohen's k. It also calculates standardised, moment-corrected standardised, and adjusted standardised residuals, and their significance, as well as the Quetelet Index, IJ association factor, and adjusted standardised counts. It also computes the chi-square-maximising version of the input table. Different outputs are returned in nicely formatted tables.

Version: 1.0
Depends: R (≥ 4.0.0)
Imports: graphics (≥ 4.2.0), gt (≥ 0.3.1), stats (≥ 4.2.0)
Published: 2024-07-19
DOI: 10.32614/CRAN.package.chisquare
Author: Gianmarco Alberti [aut, cre]
Maintainer: Gianmarco Alberti <gianmarcoalberti at gmail.com>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Materials: README NEWS
CRAN checks: chisquare results

Documentation:

Reference manual: chisquare.pdf

Downloads:

Package source: chisquare_1.0.tar.gz
Windows binaries: r-devel: chisquare_1.0.zip, r-release: chisquare_0.9.zip, r-oldrel: chisquare_0.9.zip
macOS binaries: r-release (arm64): chisquare_1.0.tgz, r-oldrel (arm64): chisquare_1.0.tgz, r-release (x86_64): chisquare_1.0.tgz, r-oldrel (x86_64): chisquare_1.0.tgz
Old sources: chisquare archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=chisquare to link to this page.