RChiSquare: A Unified Framework for Chi-Square Tests in One, Two and Three Dimensions
Abstract
Chi-square tests remain widely used despite the availability of more powerful goodness-of-fit and two-sample procedures. Their appeal lies in their broad applicability to discrete and continuous data, in one or more dimensions, and in a well-developed large-sample theory that facilitates significance testing, power estimation, and sample-size planning. Although their power depends on the choice of partition, relatively few well-chosen cells can provide useful performance. The RChiSquare package provides a unified interface to the Cressie--Read family of power-divergence statistics for discrete and continuous observations in one, two and three dimensions. It accommodates fully specified and composite goodness-of-fit hypotheses, two-sample testing, parameter estimation, analytic and simulation-based power calculations, and sample-size determination. The examples illustrate testing, analytic power calculations, and sample-size planning, including comparisons with alternative procedures. They demonstrate the use of the routines rather than providing a simulation-based calibration study. The emphasis is on making established methods available within one coherent workflow.
Create a lesson
Metadata
- Categories
- stat.ME, stat.CO
- Comments
- 23 pages, 5 figures, 6 tables. R package RChiSquare available on CRAN; reproduction code included as ancillary files
Related papers
A Bayesian Joint Modeling Framework for Estimating Net Clinical Benefit Across Mixed Clinical Endpoints
Shared title terminologystat.MEFederico Macchiavelli Girón, Andrea B. Troxel, Thaddeus Tarpey
A covariance-weighted F-type test for the high-dimensional two-sample Behrens-Fisher problem
Shared title terminologystat.MEPengfei Wang
A Rank-Based Test for Dependent Censoring in Survival Analysis
Shared title terminologystat.MEStylianos Tzortzakis, Fotios Siannis, Emmanouil Androulakis
Bivariate Skew-Normal Random-effects Model for Individual Participant Data Meta-analysis of Diagnostic Test Accuracy Studies
Shared title terminologystat.MEDiribsa T. Bedada, Zelalem F. Negeri
Exponentially Tilted SBI and Splitting Methods for Conditionally Affine Square-Root Diffusions
Shared title terminologystat.MEPetar Jovanovski, Andrew Golightly, Umberto Picchini et al.
Spectral Regularization for Regression Specification Testing
Shared title terminologystat.MEShiwei Sang, Shao-Bo Lin, Xuehu Zhu