MDgof: Various Methods for the Goodness-of-Fit Problem in D>1 Dimensions

The routine gof_test() in this package runs the goodness-of-fit test using various test statistic for multivariate data. Models under the null hypothesis can either be simple or allow for parameter estimation. p values are found via the parametric bootstrap (simulation). The routine gof_test_adjusted_pvalues() runs several tests and then finds a p value adjusted for simultaneous inference. The routine gof_power() allows the estimation of the power of the tests. hybrid_test() and hybrid_power() do the same by first generating a Monte Carlo data set under the null hypothesis and then running a number of two-sample methods. The routine run.studies() allows a user to quickly study the power of a new method and how it compares to those included in the package via a large number of case studies. For details of the methods and references see the included vignettes.

Version: 1.0.0
Depends: R (≥ 3.5)
Imports: Rcpp, parallel, stats, microbenchmark, spatstat.geom, spatstat.explore, FNN, copula, mvtnorm, ggplot2, microbenchmark, MD2sample
LinkingTo: Rcpp
Suggests: rmarkdown, knitr
Published: 2026-02-12
DOI: 10.32614/CRAN.package.MDgof (may not be active yet)
Author: Wolfgang Rolke ORCID iD [aut, cre]
Maintainer: Wolfgang Rolke <wolfgang.rolke at upr.edu>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Materials: NEWS
CRAN checks: MDgof results

Documentation:

Reference manual: MDgof.html , MDgof.pdf
Vignettes: MDgof-Case-Studies (source, R code)
MDgof-Examples (source, R code)
MDgof-Methods (source, R code)
MDgof-hybrid (source, R code)

Downloads:

Package source: MDgof_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): MDgof_1.0.0.tgz, r-oldrel (arm64): MDgof_1.0.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=MDgof to link to this page.