Discrete Chi-square Method (DCM)
- Discrete Chi-square Method (DCM) is a family of techniques that apply chi-square statistics to discrete structures, addressing both time-series signal detection and analysis of categorical data.
- It employs a brute-force grid search paired with linear least-squares to recover multiple periodic signals superimposed on unknown trends in unevenly spaced time-series data.
- Broader DCM approaches extend to exact calibration, divergence estimation, and variance correction, thereby improving model selection for sparse histograms, contingency tables, and over-dispersed count data.
Discrete Chi-square Method (DCM) denotes, in the literature represented here, a chi-square-centered methodology on explicitly discrete structures. In one explicit usage, DCM is a brute-force, grid-based time-series procedure that minimizes a Chi-square criterion over a multidimensional tested frequency space in order to recover multiple periodic signals superimposed on an unknown polynomial trend in unevenly spaced data (2002.03890). In a broader statistical usage, the same label can reasonably denote chi-square-based procedures for empirical measures, multinomial counts, contingency tables, and histograms, including projection-based divergence estimation, exact finite-sample calibration of Pearson’s statistic, and variance-corrected or sparsity-aware testing for discrete data (Broniatowski et al., 2011). The term is therefore not a single universally standardized object; rather, it names a methodological family whose common feature is the use of chi-square structure on discrete supports.
1. Scope and terminological usage
The expression “Discrete Chi-square Method” is used explicitly in the time-series literature, where it denotes a numerical model-selection and signal-detection framework. In that usage, DCM is contrasted with the Discrete Fourier Transform and is presented as a method for detecting many signals superimposed on an unknown trend by performing a massive number of linear least-squares fits over a tested frequency grid (Jetsu, 1 Sep 2025).
At the same time, several directly relevant papers do not use the term itself, yet develop procedures that are closely aligned with what can be called a discrete chi-square method. The signed-measure divergence framework of Broniatowski and Keziou does not name its procedure DCM, but it produces discrete quadratic forms and minimum chi-square fits on empirical supports and contingency tables (Broniatowski et al., 2011). The exact-distribution paper on uniform histograms likewise does not define DCM as a formal name, yet it replaces continuous chi-square calibration by exact discrete calibration for Pearson’s statistic on multinomial histograms (Banić et al., 29 Jun 2025). This suggests that “DCM” has both a narrow, named meaning and a broader descriptive meaning.
A recurring distinction is therefore necessary. In the narrow sense, DCM is a particular regression-and-grid-search algorithm for time series. In the broader sense, DCM refers to any procedure that treats chi-square statistics as inherently discrete objects, calibrates them on their attainable support, or reformulates them through duality, projection, or variance correction on discrete models.
2. Named DCM in time-series analysis
In its explicit, named formulation, DCM analyzes observations
with model
where is the number of periodic signals, is the harmonic order of each signal, and is the polynomial trend order. The periodic part is
and the trend is a polynomial in normalized centered time (2002.03890).
The essential structural idea is a nonlinear-linear split. The frequencies
are nonlinear parameters, while the harmonic amplitudes and trend coefficients are linear parameters. Once the tested frequencies are fixed to grid values, the model becomes linear and is solved by least squares. The residuals are
with either residual sum of squares
or
and the search statistic is
0
depending on whether 1 are unknown or known (2002.03890).
The search is discrete and combinatorial. DCM tests only ordered frequency combinations satisfying
2
which removes permutation duplicates because the statistic is symmetric in the tested frequency space. A long search on a coarse grid of 3 frequencies is followed by a short search on denser local grids of 4 frequencies around the best coarse optima. The total number of tested models scales as
5
or, including bootstrap reanalysis,
6
The method therefore relies on brute computational force, but every tested candidate is a linear least-squares problem (Jetsu, 1 Sep 2025).
Model selection is performed with nested-model Fisher statistics,
7
where
8
The decision threshold is 9. A separate Predictivity-test evaluates out-of-sample performance through the same 0-statistic on predicted data. The method also uses residual bootstrap,
1
to estimate parameter uncertainties (Jetsu, 1 Sep 2025).
In this named sense, DCM is not Pearson’s goodness-of-fit test. It is a frequency-grid least-squares framework whose objective function is chi-square or residual sum of squares. Its “discrete” character lies in the tested frequency grid and the exhaustive search over discrete model combinations, not in multinomial cell counts.
3. Projection-based discrete chi-square methods for measures, counts, and contingency tables
In the broader statistical sense, a discrete chi-square method is exemplified by the signed-measure divergence framework of Broniatowski and Keziou. They define, for 2 and signed 3 with total mass 4,
5
and extend the analysis from probability measures to signed measures so that projections onto constrained sets become linear-quadratic optimization problems without positivity constraints (Broniatowski et al., 2011).
The central obstacle in continuous models is that the empirical measure
6
renders the classical plug-in divergence unusable whenever 7. The paper resolves this through a dual representation. For fixed 8,
9
and for a model 0,
1
This operational definition is computable from empirical data without grouping or smoothing and is the mechanism by which the method remains feasible on discrete empirical supports (Broniatowski et al., 2011).
The discrete connection becomes explicit when 2 is defined by linear constraints. In the finite-constraint case, the empirical optimization is posed directly on
3
where 4 is the set of signed measures supported on the sample points. The resulting statistic reduces to a quadratic form,
5
and under 6,
7
For contingency tables and related multinomial problems, the same framework yields minimum chi-square criteria over fitted cell probabilities subject to constraints, such as
8
In this setting, the procedure is a direct generalization of Pearson-type discrete chi-square fitting, but derived from divergence duality rather than from a raw plug-in formula (Broniatowski et al., 2011).
This broader DCM interpretation has two consequences. First, it places classical cell-count chi-square procedures inside a more general convex-analytic framework. Second, it clarifies that discrete quadratic forms may arise either from genuine categorical data or from projection of a more general measure-theoretic problem onto empirical support.
4. Exact calibration, approximation theory, and the discrete null law
A central theme in discrete chi-square methodology is that the null distribution of Pearson’s statistic is itself discrete at finite sample size. For a histogram 9 with 0 under a discrete uniform null, Pearson’s statistic can be written as
1
Defining
2
the exact distribution of 3 is equivalent to the exact distribution of the integer-valued statistic 4. Zero-disparity Distribution Synthesis computes this law by dynamic programming through the recurrence
5
which yields exact masses
6
The exact upper-tail 7-value is then a discrete tail probability over attainable support points, not a continuous 8 cdf evaluation (Banić et al., 29 Jun 2025).
This exact-calibration viewpoint materially changes interpretation in sparse or low-count settings. The paper shows that the usual rule of thumb 9 is too crude, that tail errors can remain substantial even when the bulk looks acceptable, and that treating a discrete null as continuous can distort rejection rates. Its NIST example with 0, significance threshold 1, and 2 gives exact 3-values that are substantially larger than the asymptotic chi-square approximation, so the continuous approximation would reject when the exact discrete test would not (Banić et al., 29 Jun 2025).
Approximation theory supplies complementary, rather than competing, results. Stein-based analysis yields explicit bounds for the distance between Pearson’s multinomial statistic
4
and its limiting 5 law, with smooth-test-function error of order 6 under 7 and explicit dependence on 8 and 9 (Gaunt et al., 2015). A different non-asymptotic route compares the multinomial Pearson statistic directly with its Gaussian quadratic-form analogue and proves
0
uniformly over probability vectors bounded away from the simplex boundary (Bax et al., 2023).
When calibration leads to generalized rather than ordinary chi-square distributions, further numerical machinery becomes relevant. Exact and approximate methods for the cdf, pdf, and inverse cdf of generalized chi-square laws include ray-tracing, inverse Fourier transform, and finite-tail ellipse approximations, with distinct tradeoffs in speed and tail accuracy (Das, 2024). A plausible implication is that advanced DCM variants can be limited as much by calibration numerics as by statistic construction.
5. Robustness, pathologies, and methodological disputes
A persistent misconception is that exact 1-values automatically repair chi-square inference. They do not. In discrete goodness-of-fit problems with highly nonuniform null probabilities, Pearson’s weighting by 2 can cause bins with tiny model probabilities to dominate the statistic. The result can be severe loss of power even under exact computational calibration. In response, one line of work advocates separating discrepancy choice from significance computation and recommends statistics such as the unweighted root-mean-square
3
together with Monte Carlo calibration under the fitted null, precisely because exactness of significance does not rescue a poor discrepancy measure (Perkins et al., 2011).
A second pathology appears in histogram fitting when overall normalization is itself a fitted parameter. For binned count data with variance tied to the expected counts, naive chi-square minimization can be biased because the denominator depends on the parameters. In the two-bin toy model,
4
and maximum likelihood introduces an additional normalization term absent from naive chi-square differentiation. The resulting score equations coincide with Poisson maximum likelihood, and the recommended chi-square-like fix is to omit derivatives of the inverse error matrix when solving the stationarity equations (Roe, 2015).
A third dispute concerns over-dispersion and sparse, high-dimensional discreteness. In temporal allele-frequency studies, the classical chi-square and CMH null models underestimate variance because they ignore Wright–Fisher drift, finite population sampling, and pool sequencing. The adapted chi-square statistic
5
replaces the standard denominator by a variance estimator matched to the actual hierarchical null, and the corresponding adjusted CMH statistic does the same across strata (Spitzer et al., 2019). In sparse multinomial goodness-of-fit, Pearson’s statistic itself can become biased because a signed linear component can pull the test statistic leftward under alternatives. Decomposing
6
and replacing 7 by 8 or a weighted version yields more powerful tests with asymptotic null law based on 9, not a standard chi-square limit (Chang et al., 2021).
These results collectively show that DCM is not synonymous with uncritical Pearson testing. The phrase marks a family of methods whose practical validity depends on which of four objects is made discrete and model-aware: the statistic, the null distribution, the optimization problem, or the variance model.
6. Applications, extensions, and related domains
The application range of discrete chi-square methodology is broad. In astronomy, the named time-series DCM has been used on eclipse timing data for XZ And, where a model 0 yielded two periodicities,
1
and was interpreted as evidence for the possible presence of a third and a fourth body (2002.03890). In a different astronomical setting, Pearson-style chi-square is used as a pointwise similarity metric on normalized asteroid and laboratory reflectance spectra after normalization, Savitzky–Golay smoothing, and interpolation to a common wavelength grid. There the statistic functions primarily as a ranking score rather than a formal 2-value, and lower 3 indicates closer spectral resemblance (Joshi et al., 2024).
In discrete distribution testing beyond classical multinomials, the convolution statistic provides a nonparametric maximum-likelihood estimator for the distribution of a sum of independent discrete random variables from unequal sample sizes. The resulting generalized Wald statistics have asymptotic chi-square laws with degrees of freedom given by covariance rank rather than raw cell count, and simulation evidence indicates higher power than Pearson’s chi-square when classical matched-tuple constructions would discard data (Prevedello et al., 2020).
Chi-square methodology also extends beyond second-order discrepancy. For members of the same affine exponential family, closed-form formulas exist for Pearson and Neyman chi-square distances and for higher-order Pearson–Vajda 4 quantities. These enter Taylor expansions for general 5-divergences,
6
and specialize, for example, to explicit Poisson-family formulas (Nielsen et al., 2013). This suggests that a “chi-square method” need not be confined to classical second-order Pearson residuals; it can also serve as an analytic basis for approximating broader divergence functionals.
The common misconception that DCM is a single recipe should therefore be rejected. In the literature represented here, the term encompasses at least three distinct but connected ideas: a named grid-based time-series search procedure; projection- and duality-based minimum chi-square methods on empirical supports; and finite-sample discrete calibration or correction of Pearson-type statistics for histograms, contingency tables, sparse multinomials, and over-dispersed count data. What unifies these variants is not a single algorithm, but a shared insistence that chi-square methodology must respect the discrete structure of the problem it is applied to.