<?xml version="1.0" encoding="UTF-8"?>
<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
  <dc:title>One- And Two-Sample Hausdorff Goodness-of-Fit Test</dc:title>
  <dc:title>R package HausdorffGoF version 0.3.0</dc:title>
  <dc:description>Computes the test statistic and p-values of the one-sample and two-sample Hausdorff (H) goodness-of-fit tests. The H statistic measures the Hausdorff distance under the Chebyshev (l-infinity) metric, between the two cumulative distribution functions (cdfs) underlying the corresponding one-sample and two-sample null hypothesis. It coincides to the side length of the largest axis-aligned square (hypercube) that can be inscribed between the two cdfs. The following cases are covered: (i) one-sample, univariate; (ii) two-sample univariate; and (iii) two-sample bivariate.  Exact one-sample p-values are computed in O(n^2 log n) time via the 'Exact-KS-FFT' method of Dimitrova, Kaishev, and Tan (2020) &lt;doi:10.18637/jss.v095.i10&gt;; two-sample p-values are obtained by permutation. A key advantage of the H test is that its sensitivity can be directed towards the left tail, body, or right tail of the distribution by tuning a scale parameter sigma, and therefore maximizing its power which as shown numerically is significantly higher than the power of the classical tests such as the Kolmogorov-Smirnov,  Cramer-von Mises, and Anderson-Darling test, especially when the right tail of the distribution is targeted. The sensitivity of the test (left tail, body, or right tail) is governed by two parameters psi1 and psi2, whose values needs to be input. Then the optimal value of the scale parameter sigma is automatically computed.</dc:description>
  <dc:type>Software</dc:type>
  <dc:relation>Depends: R (&gt;= 3.5.0)</dc:relation>
  <dc:relation>Imports: Rcpp (&gt;= 0.12.12), KSgeneral, stats, utils, withr</dc:relation>
  <dc:relation>LinkingTo: Rcpp, RcppEigen</dc:relation>
  <dc:creator>Yun Jia &lt;yunjia2019@gmail.com&gt;</dc:creator>
  <dc:publisher>Comprehensive R Archive Network (CRAN)</dc:publisher>
  <dc:contributor>Dimitrina S. Dimitrova [aut],
  Yun Jia [aut, cre],
  Vladimir K. Kaishev [aut]</dc:contributor>
  <dc:rights>GPL (&gt;= 3)</dc:rights>
  <dc:date>2026-05-15</dc:date>
  <dc:format>application/tgz</dc:format>
  <dc:identifier>https://CRAN.R-project.org/package=HausdorffGoF</dc:identifier>
  <dc:identifier>doi:10.32614/CRAN.package.HausdorffGoF</dc:identifier>
</oai_dc:dc>
