Skip to content

chisquare

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

v1.2 · Oct 29, 2025 · GPL (>= 2)

Description

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.

Downloads

375

Last 30 days

10749th

1.1K

Last 90 days

6.1K

Last year

Trend: +23.4% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies gt chisquare

Version History

14 tracked
new 1.2 Mar 10, 2026
updated 1.2 ← 1.1.1 diff Oct 28, 2025
updated 1.1.1 ← 1.1 diff Oct 26, 2024
updated 1.1 ← 1.0 diff Oct 25, 2024
updated 1.0 ← 0.9 diff Jul 18, 2024
updated 0.9 ← 0.8 diff Jan 7, 2024
updated 0.8 ← 0.7 diff Dec 3, 2023
updated 0.7 ← 0.6 diff Nov 2, 2023
updated 0.6 ← 0.5 diff Aug 30, 2023
updated 0.5 ← 0.4 diff Jun 15, 2023
updated 0.4 ← 0.3 diff Apr 20, 2023
updated 0.3 ← 0.2 diff Apr 3, 2022
updated 0.2 ← 0.1 diff Mar 19, 2022
new 0.1 Mar 7, 2022