{
  "_id": "6a1f19bbb401979e7341f009",
  "Package": "HausdorffGoF",
  "Type": "Package",
  "Version": "0.3.0",
  "Title": "One- And Two-Sample Hausdorff Goodness-of-Fit Test",
  "Authors@R": "c(\nperson(\"Dimitrina S.\", \"Dimitrova\",\nemail = \"D.Dimitrova@citystgeorges.ac.uk\", role = c(\"aut\")),\nperson(\"Yun\", \"Jia\",\nemail = \"yunjia2019@gmail.com\",   role = c(\"aut\", \"cre\")),\nperson(\"Vladimir K.\", \"Kaishev\",\nemail = \"Vladimir.Kaishev.1@citystgeorges.ac.uk\", role = c(\"aut\")))",
  "Description": "Computes the test statistic and p-values of the one-sample\nand two-sample Hausdorff (H) goodness-of-fit tests. The H\nstatistic measures the Hausdorff distance under the Chebyshev\n(l-infinity) metric, between the two cumulative distribution\nfunctions (cdfs) underlying the corresponding one-sample and\ntwo-sample null hypothesis. It coincides to the side length of\nthe largest axis-aligned square (hypercube) that can be\ninscribed between the two cdfs. The following cases are\ncovered: (i) one-sample, univariate; (ii) two-sample\nunivariate; and (iii) two-sample bivariate.  Exact one-sample\np-values are computed in O(n^2 log n) time via the\n'Exact-KS-FFT' method of Dimitrova, Kaishev, and Tan (2020)\n<doi:10.18637/jss.v095.i10>; two-sample p-values are obtained\nby permutation. A key advantage of the H test is that its\nsensitivity can be directed towards the left tail, body, or\nright tail of the distribution by tuning a scale parameter\nsigma, and therefore maximizing its power which as shown\nnumerically is significantly higher than the power of the\nclassical tests such as the Kolmogorov-Smirnov, Cramer-von\nMises, and Anderson-Darling test, especially when the right\ntail of the distribution is targeted. The sensitivity of the\ntest (left tail, body, or right tail) is governed by two\nparameters psi1 and psi2, whose values needs to be input. Then\nthe optimal value of the scale parameter sigma is automatically\ncomputed.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/fakecloudsjy/HausdorffGoF",
  "Encoding": "UTF-8",
  "Copyright": "Dimitrina S. Dimitrova, Yun Jia, and Vladimir K. Kaishev own\nthe copyright of the original R and C++ code in this package.\nPortions of the C++ source code (src/fastCDF.cpp,\nsrc/fastCDF.h, src/fastCDFOnSample.cpp, src/fastCDFOnSample.h,\nsrc/nDDominanceAlone.cpp) are derived from the StOpt library\nand are Copyright (C) 2020 EDF - Electricite de France,\npublished under the GNU Lesser General Public License (LGPL-3).\nSee the file inst/COPYRIGHTS for full details.",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-15 22:01:24 UTC",
    "User": "root"
  },
  "Author": "Dimitrina S. Dimitrova [aut], Yun Jia [aut, cre], Vladimir K.\nKaishev [aut]",
  "Maintainer": "Yun Jia <yunjia2019@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-05-15 21:31:26 UTC",
  "RemoteUrl": "https://github.com/cran/HausdorffGoF",
  "RemoteRef": "HEAD",
  "RemoteSha": "5c038217ac7342c753132e7ef7466ba3886ff438",
  "MD5sum": "b51ecb5f04405129a53639b0cacf9ef7",
  "_user": "cran",
  "_type": "src",
  "_file": "HausdorffGoF_0.3.0.tar.gz",
  "_fileid": "b63bfc4ddbeed5e15229fa6b92f1d61c8824744a23b2b9aa231cff2f2b7e667c",
  "_filesize": 403397,
  "_sha256": "b63bfc4ddbeed5e15229fa6b92f1d61c8824744a23b2b9aa231cff2f2b7e667c",
  "_created": "2026-05-15T22:01:24.000Z",
  "_published": "2026-06-02T17:58:19.064Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79137586967,
      "time": 101,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79137587732,
      "time": 124,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7027351503"
    },
    {
      "job": 79137587218,
      "time": 137,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79137587558,
      "time": 102,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7027347120"
    },
    {
      "job": 79137585978,
      "time": 192,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7027324139"
    },
    {
      "job": 79137586109,
      "time": 116,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7365780538"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25943410501",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/HausdorffGoF",
  "_commit": {
    "id": "5c038217ac7342c753132e7ef7466ba3886ff438",
    "author": "Yun Jia <yunjia2019@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.0\n",
    "time": 1778880686
  },
  "_maintainer": {
    "name": "Yun Jia",
    "email": "yunjia2019@gmail.com",
    "login": "fakecloudsjy",
    "uuid": 117369785
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.12",
      "role": "Imports"
    },
    {
      "package": "KSgeneral",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.3.0",
      "date": "2026-05-15"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "fakecloudsjy",
      "count": 1,
      "uuid": 117369785
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/HausdorffGoF"
  },
  "_devurl": "https://github.com/fakecloudsjy/hausdorffgof",
  "_searchresults": 0,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/HausdorffGoF.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2026-05-15"
    }
  ],
  "_exports": [
    "distribution",
    "H_stat_1s_1d",
    "H_stat_2s_1d_p",
    "H_stat_2s_1d_tr",
    "H_stat_2s_2d",
    "H_test_1s_1d",
    "H_test_2s_1d",
    "H_test_2s_2d",
    "H_test_c_cdf",
    "Hausdorff_stat",
    "Hausdorff_stat.function",
    "Hausdorff_stat.list",
    "Hausdorff_stat.matrix",
    "Hausdorff_stat.NullDist",
    "Hausdorff_stat.numeric",
    "Hausdorff_test",
    "Hausdorff_test.function",
    "Hausdorff_test.list",
    "Hausdorff_test.matrix",
    "Hausdorff_test.NullDist",
    "Hausdorff_test.numeric"
  ],
  "_help": [
    {
      "page": "HausdorffGoF-package",
      "title": "One- and Two-Sample Hausdorff Goodness-of-Fit Test",
      "topics": [
        "HausdorffGoF-package",
        "HausdorffGoF"
      ]
    },
    {
      "page": "distribution",
      "title": "Specify a null distribution for the one-sample Hausdorff test",
      "topics": [
        "distribution",
        "print.NullDist"
      ]
    },
    {
      "page": "H_stat_1s_1d",
      "title": "Computes the one-sample Hausdorff test statistic for a given sample and a prespecified null distribution",
      "topics": [
        "H_stat_1s_1d"
      ]
    },
    {
      "page": "H_stat_2s_1d_p",
      "title": "C++ implementation of the two-sample Hausdorff distance via the projection method",
      "topics": [
        "H_stat_2s_1d_p"
      ]
    },
    {
      "page": "H_stat_2s_1d_tr",
      "title": "C++ implementation of the two-sample Hausdorff distance via the transformation method",
      "topics": [
        "H_stat_2s_1d_tr"
      ]
    },
    {
      "page": "H_stat_2s_2d",
      "title": "Computes the Hausdorff distance between two bivariate empirical cdfs",
      "topics": [
        "H_stat_2s_2d"
      ]
    },
    {
      "page": "H_test_1s_1d",
      "title": "One-sample Hausdorff goodness-of-fit test",
      "topics": [
        "H_test_1s_1d"
      ]
    },
    {
      "page": "H_test_2s_1d",
      "title": "Two-sample Hausdorff goodness-of-fit test with exact or Monte Carlo permutation p-values",
      "topics": [
        "H_test_2s_1d"
      ]
    },
    {
      "page": "H_test_2s_2d",
      "title": "Two-sample bivariate Hausdorff goodness-of-fit test with Monte Carlo permutation p-values",
      "topics": [
        "H_test_2s_2d"
      ]
    },
    {
      "page": "H_test_c_cdf",
      "title": "Exact complementary cdf of the one-sample Hausdorff statistic",
      "topics": [
        "H_test_c_cdf"
      ]
    },
    {
      "page": "Hausdorff_stat",
      "title": "Unified one-sample and two-sample Hausdorff test statistic",
      "topics": [
        "Hausdorff_stat",
        "Hausdorff_stat.function",
        "Hausdorff_stat.list",
        "Hausdorff_stat.matrix",
        "Hausdorff_stat.NullDist",
        "Hausdorff_stat.numeric"
      ]
    },
    {
      "page": "Hausdorff_test",
      "title": "Unified one-sample and two-sample Hausdorff goodness-of-fit test",
      "topics": [
        "Hausdorff_test",
        "Hausdorff_test.function",
        "Hausdorff_test.list",
        "Hausdorff_test.matrix",
        "Hausdorff_test.NullDist",
        "Hausdorff_test.numeric"
      ]
    }
  ],
  "_rundeps": [
    "dgof",
    "KSgeneral",
    "MASS",
    "Rcpp",
    "RcppEigen",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "hausdorffgof",
  "_universes": [
    "cran",
    "fakecloudsjy"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-15T22:03:39.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5c038217ac7342c753132e7ef7466ba3886ff438",
      "fileid": "a9e39960a1408eb481c24c6f3a3ace258f039f5c3805620a20603720aa69970d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25943410501"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-15T22:03:20.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5c038217ac7342c753132e7ef7466ba3886ff438",
      "fileid": "140917bdfb9d47a05ca72ac96f81fe33fba31d3f380050108034828d35535829",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25943410501"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-06-02T17:57:43.000Z",
      "arch": "emscripten",
      "commit": "5c038217ac7342c753132e7ef7466ba3886ff438",
      "fileid": "52ea800e7f8ad31c67c09b4ebda5db54bb240864b29ad812c96f855d759e8fb7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25943410501"
    }
  ]
}