Package: chisquare 1.0

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.

Authors:Gianmarco Alberti [aut, cre]

chisquare_1.0.tar.gz
chisquare_1.0.zip(r-4.5)chisquare_1.0.zip(r-4.4)chisquare_1.0.zip(r-4.3)
chisquare_1.0.tgz(r-4.4-any)chisquare_1.0.tgz(r-4.3-any)
chisquare_1.0.tar.gz(r-4.5-noble)chisquare_1.0.tar.gz(r-4.4-noble)
chisquare_1.0.tgz(r-4.4-emscripten)chisquare_1.0.tgz(r-4.3-emscripten)
chisquare.pdf |chisquare.html
chisquare/json (API)
NEWS

# Install 'chisquare' in R:
install.packages('chisquare', repos = c('https://gianmarcoalberti.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • diseases - Dataset: Cross-tabulation of quantity of tobacco smoked daily vs. cause of death
  • safety - Dataset: Cross-tabulation of people's feeling of safety vs. town size
  • social_class - Dataset: Cross-tabulation of social class vs. diagnostic category for a sample of psychiatric patients

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1 exports 0.49 score 57 dependencies 1 scripts 481 downloads

Last updated 2 months agofrom:fccffec323. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 18 2024
R-4.5-winOKSep 18 2024
R-4.5-linuxOKSep 18 2024
R-4.4-winOKSep 18 2024
R-4.4-macOKSep 18 2024
R-4.3-winOKSep 18 2024
R-4.3-macOKSep 18 2024

Exports:chisquare

Dependencies:base64encbigDbitopsbslibcachemclicolorspacecommonmarkcurldigestdplyrevaluatefansifarverfastmapfontawesomefsgenericsgluegthighrhtmltoolshtmlwidgetsjquerylibjsonlitejuicyjuiceknitrlabelinglifecyclemagrittrmarkdownmemoisemimemunsellpillarpkgconfigR6rappdirsRColorBrewerRcppreactablereactRrlangrmarkdownsassscalestibbletidyselecttinytexutf8V8vctrsviridisLitewithrxfunxml2yaml