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

Provides multivariate goodness-of-fit testing with a common interface for several test statistics. Null models may be simple or include parameter estimation, with p-values obtained by parametric bootstrap simulation. The function gof_test_adjusted_pvalue() combines several tests and computes a p-value adjusted for simultaneous inference. The function gof_power() estimates test power. The functions hybrid_test() and hybrid_power() use Monte Carlo samples under the null together with two-sample procedures. The function run.studies() supports systematic power comparisons of user-supplied and included methods across case studies. See the included vignettes for method details and references.

Version: 1.2.0
Depends: R (≥ 3.5)
Imports: Rcpp, parallel, stats, microbenchmark, spatstat.geom, spatstat.explore, FNN, copula, mvtnorm, ggplot2, MD2sample (≥ 1.4.0)
LinkingTo: Rcpp
Suggests: rmarkdown, knitr, testthat (≥ 3.0.0)
Published: 2026-09-18
DOI: 10.32614/CRAN.package.MDgof
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.2.0.tar.gz
Windows binaries: r-devel: MDgof_1.1.0.zip, r-release: MDgof_1.1.0.zip, r-oldrel: MDgof_1.1.0.zip
macOS binaries: r-release (arm64): MDgof_1.1.0.tgz, r-oldrel (arm64): MDgof_1.2.0.tgz, r-release (x86_64): MDgof_1.2.0.tgz, r-oldrel (x86_64): MDgof_1.2.0.tgz
Old sources: MDgof archive

Linking:

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