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 retrospective 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, and tau. 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.1.1
Depends: R (≥ 4.0)
Imports: graphics, gt (≥ 0.3.1), stats
Published: 2024-10-27
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.1.1.tar.gz
Windows binaries: r-devel: chisquare_1.1.1.zip, r-release: chisquare_1.1.1.zip, r-oldrel: chisquare_1.1.1.zip
macOS binaries: r-release (arm64): chisquare_1.1.1.tgz, r-oldrel (arm64): chisquare_1.1.1.tgz, r-release (x86_64): chisquare_1.1.1.tgz, r-oldrel (x86_64): chisquare_1.1.1.tgz
Old sources: chisquare archive

Linking:

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