Skip to main content
QUICK REVIEW

[Paper Review] Computing the confidence levels for a root-mean-square test of goodness-of-fit, II

William Perkins, Mark Tygert|arXiv (Cornell University)|Sep 12, 2010
Diverse Scientific and Engineering ResearchEngineering14 references8 citations
TL;DR

This paper presents efficient black-box algorithms for computing asymptotic confidence levels of a root-mean-square goodness-of-fit test when the model involves parameter estimation, extending prior work on fully specified models. It leverages a numerically stable integral representation of the non-central chi-square distribution to enable fast, accurate computation of P-values and confidence levels, even for complex, parameterized distributions with large sample sizes.

ABSTRACT

This paper extends our earlier article, "Computing the confidence levels for a root-mean-square test of goodness-of-fit;" unlike in the earlier article, the models in the present paper involve parameter estimation -- both the null and alternative hypotheses in the associated tests are composite. We provide efficient black-box algorithms for calculating the asymptotic confidence levels of a variant on the classic chi-squared test. In some circumstances, it is also feasible to compute the exact confidence levels via Monte Carlo simulation.

Motivation & Objective

  • To develop computationally efficient methods for calculating confidence levels in goodness-of-fit tests when the model is composite, involving parameter estimation.
  • To extend prior work on fully specified models to cases where the null and alternative hypotheses are composite due to estimated parameters.
  • To provide a practical, black-box solution for computing asymptotic P-values and confidence levels for root-mean-square statistics in large-sample settings.
  • To enable accurate computation even for models with infinitely many bins by truncating to a finite number of bins with high cumulative probability.
  • To support both analytical computation via integral quadrature and Monte-Carlo simulation for small-sample scenarios.

Proposed method

  • Uses an integral representation of the cumulative distribution function of a weighted sum of squared Gaussian random variables, derived from Theorem 2.1.
  • Applies adaptive Gaussian quadrature to numerically evaluate the complex integral in the cumulative distribution function expression.
  • Employs the principal branch of square roots and takes the imaginary part to ensure numerical stability and convergence.
  • Truncates the infinite bin space to a finite set of bins whose total probability exceeds 1−ε, ensuring accuracy within machine precision.
  • Handles parameter estimation by using the maximum-likelihood estimate (MLE) of the parameter, which converges to the true value in the large-sample limit.
  • Supports arbitrary weighting in the root-mean-square statistic, generalizing beyond uniform weighting.

Experimental results

Research questions

  • RQ1How can confidence levels be efficiently computed for a root-mean-square test when the model distribution is parameterized and the parameter must be estimated from data?
  • RQ2What numerical method enables fast and accurate computation of the asymptotic P-value for the root-mean-square test in composite hypothesis testing?
  • RQ3How can models with infinitely many bins be handled in practice without sacrificing accuracy?
  • RQ4What is the impact of parameter estimation on the distribution of the root-mean-square test statistic in large-sample settings?
  • RQ5In what scenarios is direct Monte-Carlo simulation feasible for computing confidence levels, and how does it compare to the proposed analytical method?

Key findings

  • The proposed algorithm enables fast and accurate computation of confidence levels for root-mean-square goodness-of-fit tests in the presence of parameter estimation, even for models with infinitely many bins.
  • The integral representation in Theorem 2.1 ensures numerical stability, with the integrand bounded away from infinity due to the lower bound on the product of square roots.
  • For the Zipf distribution example, the maximum-likelihood estimate of the parameter θ was computed via bisection on the function g(θ) = f(θ) − ∑Yk ln(k), achieving convergence with high precision.
  • In the Poisson example, the method used ε = 10⁻⁸ to truncate the infinite support, retaining only bins with cumulative probability ≥ 0.99999999, ensuring high accuracy.
  • The algorithm scales efficiently with sample size, with confidence levels computed in O(n) time for n bins, making it suitable for large-scale applications.
  • The method is robust and generalizable to multi-parameter models and weighted root-mean-square statistics, extending beyond the single-scalar parameter case.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.