Search arXiv⌕ Search

arXiv · 2612.05321

On weighted Kolmogorov-Smirnov-type tests for the two-sample problem

Abstract

Testing whether two samples come from the same distribution is a fundamental problem in statistics, data science, and machine learning. We consider two unspecified continuous distribution functions on R and revisit the weighted two-sample test proposed by Canner (1975). We show how test of Canner fits into a class of distribution-free tests based on maxima of the absolute value of a weighted empirical process over selected grids. In simulations, tests in this class have higher empirical power than several standard tests for some alternatives, particularly when the distributions differ in the tails. The same framework provides a graphical way to identify where the two distributions differ and to quantify those differences. We also briefly discuss possible extensions of this class of tests to the multivariate setting.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Teresa Ledwina. 2026-12-03. On weighted Kolmogorov-Smirnov-type tests for the two-sample problem. https://searcharxiv.org/abs/2612.05321

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

Survival Inference with Label-Shifted, Label-Censored Source Data and Unlabeled Target Data

Let P represent the source population with complete data, containing covariate $\mathbf{Z}$ and response $T$, and Q the target population, where only the covariate $\mathbf{Z}$ is available. We consider a setting with both label shift and label censoring. Label shift assumes that the marginal distribution of $T$ differs between $P$ and $Q$, while the conditional distribution of $\mathbf{Z}$ given $T$ remains the same. Label censoring refers to the case where the response $T$ in $P$ is subject to random censoring. Our goal is to leverage information from the label-shifted and label-censored source population $P$ to conduct statistical inference in the target population $Q$. We propose a parametric model for $T$ given $\mathbf{Z}$ in $Q$ and estimate the model parameters by maximizing an approximate likelihood. This allows for statistical inference in $Q$ and accommodates a range of classical survival models. Under the label shift assumption, the likelihood depends not only on the unknown parameters but also on the unknown distribution of $T$ in $P$ and $\mathbf{Z}$ in $Q$, which we estimate nonparametrically. The asymptotic properties of the estimator are rigorously established and the effectiveness of the method is demonstrated through simulations and a real data application. This work is the first to combine survival analysis with label shift, offering a new research direction in this emerging topic.

stat.ME↗

Spatiotemporally Consistent Multivariate Bias Correction for Climate Projections via Nested Vine Copulas

Climate models are essential for understanding large-scale climate dynamics and long-term climate change, yet they exhibit systematic biases when compared with historical observations. Existing multivariate bias correction (MBC) approaches do not explicitly handle spatiotemporal dependence. However, preserving both spatiotemporal and inter-variable consistency is essential for realistic climate dynamics and reliable regional impact assessments. To address this gap, we propose a novel MBC method called GN-VBC that uses generalised additive models (GAMs) to disentangle spatiotemporal deterministic effects from stochastic residuals. To model joint distributions and dependencies across variables and locations, we introduce nested vine copulas (NVCs), a hierarchical vine merging strategy. NVC in the context of MBC combines two dependence levels: (i) spatial dependence across locations, modelled separately for each variable, and (ii) inter-variable dependence modelled at a selected reference location, which links the spatial models into a coherent multivariate and spatial structure. An application to Switzerland shows improvements in preserving inter-variable, spatial and temporal dependence across a wide range of evaluation metrics.

stat.ME↗

From Physics to Statistics: A Simple Route to Exponential Families via Maximum Entropy

Exponential families form the backbone of modern statistics and machine learning, but textbooks seldom explain them from first principles in an accessible way. Although minimal sufficiency and maximum entropy, a principle originating in physics, provide core motivation, they are often presented as technical and requiring advanced prerequisites. Here, a short, self-contained derivation of exponential families based on maximum entropy is presented that is straightforward to carry out, requires only a modest background in information entropy, and avoids technicalities like constrained optimisation. Two propositions are demonstrated in this fashion: i) exponential families with a general base function maximise information entropy with respect to a corresponding base distribution subject to fixed expectations of canonical statistics, and ii) exponential families with a constant base function maximise standard information entropy under the same constraints. Maximum entropy therefore provides a principled foundation for exponential families with minimal prerequisites, highlighting the value of teaching entropy in statistics courses.

stat.ME↗