Search arXiv⌕ Search

arXiv · 2612.01655

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Wolfgang Rolke. 2026-12-01. RChiSquare: A Unified Framework for Chi-Square Tests in One, Two and Three Dimensions. https://searcharxiv.org/abs/2612.01655

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Exact conditional goodness-of-fit tests for the mixed membership stochastic block model

We propose exact conditional goodness-of-fit tests for directed mixed membership stochastic block models. Given dyad-level sender and receiver roles, the block-pair edge totals are sufficient for the block probability matrix; conditioning on these totals gives a nuisance-free uniform law on a finite fiber. This yields finite-sample randomization tests for residual sender and receiver heterogeneity, reciprocity, and directed transitive closure. The procedure uses an independent fiber sampler, Monte Carlo rank \(p\)-values, and can be applied after drawing latent block-pair assignments from the posterior distribution. Simulations and the Sampson monastery network show that the tests are calibrated under the null and diagnostically useful for directed model misspecification.

stat.ME↗

Bayesian Bridge Gaussian Process Regression

The performance of Gaussian Process (GP) regression is often hampered by the curse of dimensionality, which inflates computational cost and reduces predictive power in high-dimensional problems. Variable selection is thus crucial for building efficient and accurate GP models. Inspired by Bayesian bridge regression, we propose the Bayesian Bridge Gaussian Process Regression (B\textsuperscript{2}GPR) model. This framework places $\ell_q$-norm constraints on key GP parameters to automatically induce sparsity and identify active variables. We formulate two distinct versions: one for $q=2$ using conjugate Gaussian priors, and another for $0<q<2$ that employs constrained flat priors, leading to non-standard, norm-constrained posterior distributions. To enable posterior inference, we design a Gibbs sampling algorithm that integrates Spherical Hamiltonian Monte Carlo (SphHMC) to efficiently sample from the constrained posteriors when $0<q<2$. Simulations and a real-data application confirm that B\textsuperscript{2}GPR offers superior variable selection and prediction compared to alternative approaches.

stat.ME↗

Network Estimation for Stationary Time Series

High-dimensional multivariate time series are common in many scientific and industrial applications, where the interest lies in identifying key dependence structures within the data for subsequent analysis tasks, such as forecasting. An important avenue to achieve this is through the estimation of the conditional independence graph via graphical models, although for time series data settings the underpinning temporal dependence can make this task challenging. In this article, we propose a novel wavelet domain technique that allows the data-driven inference of the sparse conditional independence graph of a high-dimensional stationary multivariate time series. By adopting the locally stationary wavelet modelling framework, we repose the estimation problem as a well-principled wavelet domain graphical lasso formulation. Theoretical results establish that our associated estimation scheme enjoys good asymptotic properties when determining sparse dependence structure in input time series data. The performance of the proposed method is illustrated using extensive simulations and we demonstrate its applicability on a real-world dataset representing hospitalisations of COVID-19 patients.

stat.ME↗