{
  "_id": "6ada6d482ccc51e6c64e51d2",
  "Package": "MD2sample",
  "Title": "Various Methods for the Two Sample Problem in D>1 Dimensions",
  "Version": "1.4.2",
  "Authors@R": "person(\"Wolfgang\", \"Rolke\", , \"wolfgang.rolke@upr.edu\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-3514-726X\"))",
  "Description": "The routine twosample_test() in this package runs the\ntwo-sample test using various test statistic for multivariate\ndata. The user can also run several tests and then find a p\nvalue adjusted for simultaneous inference. The p values are\nfound via permutation or via the parametric bootstrap. The\nroutine twosample_power() allows the estimation of the power of\nthe tests. The routine run.studies() allows a user to quickly\nstudy the power of a new method and how it compares to those\nincluded in the package. For details of the methods and\nreferences see the included vignettes.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-22 19:51:57 UTC",
    "User": "root"
  },
  "Author": "Wolfgang Rolke [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-3514-726X>)",
  "Maintainer": "Wolfgang Rolke <wolfgang.rolke@upr.edu>",
  "Config/pak/sysreqs": "libglpk-dev libgsl0-dev libxml2-dev",
  "Repository": "https://wolfgangrolke.r-universe.dev",
  "Date/Publication": "2026-10-22 13:30:26 UTC",
  "RemoteUrl": "https://github.com/cran/MD2sample",
  "RemoteRef": "HEAD",
  "RemoteSha": "00881fa485482314d486f3e6f5bc2b72e3b9e922",
  "_user": "wolfgangrolke",
  "_type": "src",
  "_file": "MD2sample_1.4.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/3a69354a8e7b3ac8f6b0e56038927a80c32a204c038d23487d460e29cc0df5cb",
  "_filesize": 19920421,
  "_sha256": "3a69354a8e7b3ac8f6b0e56038927a80c32a204c038d23487d460e29cc0df5cb",
  "_expires": "2027-01-30T20:08:36.000Z",
  "_created": "2026-10-22T19:51:57.000Z",
  "_published": "2026-10-22T20:08:39.851Z",
  "_upstream": "https://github.com/cran/MD2sample",
  "_status": "success",
  "_maintainer": {
    "name": "Wolfgang Rolke",
    "email": "wolfgang.rolke@upr.edu",
    "login": "wolfgangrolke",
    "description": "",
    "uuid": 9784563,
    "orcid": "0000-0002-3514-726X"
  },
  "_jobs": [
    {
      "job": 120052085769,
      "time": 171,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12453918273"
    },
    {
      "job": 120052085877,
      "time": 256,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12455021225"
    },
    {
      "job": 120052085903,
      "time": 161,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12453403899"
    },
    {
      "job": 120052085824,
      "time": 182,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12455011048"
    },
    {
      "job": 120052085788,
      "time": 172,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12454832841"
    },
    {
      "job": 120052085782,
      "time": 327,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12454653315"
    },
    {
      "job": 120052085905,
      "time": 146,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12455201811"
    },
    {
      "job": 120052085712,
      "time": 353,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12455271896"
    },
    {
      "job": 120047195989,
      "time": 553,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12454133332"
    },
    {
      "job": 120052085787,
      "time": 135,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12453533779"
    },
    {
      "job": 120052085767,
      "time": 460,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12454822048"
    },
    {
      "job": 120052085772,
      "time": 206,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12454646971"
    },
    {
      "job": 120052085889,
      "time": 176,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12453974186"
    },
    {
      "job": 120052085878,
      "time": 402,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12455270546"
    },
    {
      "job": 120052085842,
      "time": 162,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12454418261"
    }
  ],
  "_buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/39842384851",
  "_commit": {
    "id": "00881fa485482314d486f3e6f5bc2b72e3b9e922",
    "author": "Wolfgang Rolke <wolfgang.rolke@upr.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.4.2\n",
    "time": 1792675826
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "FNN",
      "role": "Imports"
    },
    {
      "package": "copula",
      "role": "Imports"
    },
    {
      "package": "ade4",
      "role": "Imports"
    },
    {
      "package": "gTests",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "lsa",
      "role": "Imports"
    },
    {
      "package": "microbenchmark",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "Ball",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "egg",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-26",
      "n": 1
    },
    {
      "week": "2026-32",
      "n": 1
    },
    {
      "week": "2026-38",
      "n": 1
    },
    {
      "week": "2026-42",
      "n": 1
    },
    {
      "week": "2026-43",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.1.0",
      "date": "2026-01-18"
    },
    {
      "name": "1.1.1",
      "date": "2026-02-02"
    },
    {
      "name": "1.2.0",
      "date": "2026-03-28"
    },
    {
      "name": "1.2.1",
      "date": "2026-05-12"
    },
    {
      "name": "1.2.2",
      "date": "2026-06-25"
    },
    {
      "name": "1.3.0",
      "date": "2026-08-04"
    },
    {
      "name": "1.4.0",
      "date": "2026-09-16"
    },
    {
      "name": "1.4.1",
      "date": "2026-10-14"
    },
    {
      "name": "1.4.2",
      "date": "2026-10-22"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "wolfgangrolke",
      "count": 10,
      "uuid": 9784563
    }
  ],
  "_userbio": {
    "uuid": 9784563,
    "type": "user",
    "name": "WolfgangRolke",
    "followers": 3
  },
  "_downloads": {
    "count": 563,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MD2sample"
  },
  "_searchresults": 0,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/MD2sample.html",
    "extra/NEWS.html",
    "extra/NEWS.txt"
  ],
  "_realowner": "wolfgangrolke",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-07-22"
    },
    {
      "version": "1.1.0",
      "date": "2026-01-18"
    },
    {
      "version": "1.1.1",
      "date": "2026-02-02"
    },
    {
      "version": "1.2.0",
      "date": "2026-03-28"
    },
    {
      "version": "1.2.1",
      "date": "2026-05-12"
    },
    {
      "version": "1.2.2",
      "date": "2026-06-25"
    },
    {
      "version": "1.3.0",
      "date": "2026-08-04"
    },
    {
      "version": "1.4.0",
      "date": "2026-09-16"
    },
    {
      "version": "1.4.1",
      "date": "2026-10-14"
    },
    {
      "version": "1.4.2",
      "date": "2026-10-22"
    }
  ],
  "_exports": [
    "case.studies",
    "chiTS.cont",
    "chiTS.disc",
    "FR.test",
    "power_pvals",
    "run.studies",
    "TS_cont_pval",
    "twosample_power",
    "twosample_test",
    "twosample_test_adjusted_pvalue"
  ],
  "_datasets": [
    {
      "name": "power_studies_results",
      "title": "power_studies_results",
      "object": "power_studies_results",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "case.studies",
      "title": "Create case studies",
      "topics": [
        "case.studies"
      ]
    },
    {
      "page": "chisq2D_test_cont",
      "title": "This function does the chi square two sample test for continuous data in two dimensions",
      "topics": [
        "chisq2D_test_cont"
      ]
    },
    {
      "page": "chisq2D_test_disc",
      "title": "This function does the chi square two sample test for continuous data in two dimensions",
      "topics": [
        "chisq2D_test_disc"
      ]
    },
    {
      "page": "chiTS.cont",
      "title": "Chi-square test for continuous data, example of user supplied function",
      "topics": [
        "chiTS.cont"
      ]
    },
    {
      "page": "chiTS.disc",
      "title": "Chi-square test for discrete data, example of user supplied function",
      "topics": [
        "chiTS.disc"
      ]
    },
    {
      "page": "edge.tests",
      "title": "This function does the tests by Chen and Friedman",
      "topics": [
        "edge.tests"
      ]
    },
    {
      "page": "FR.test",
      "title": "Friedman-Rafsky (FR) test",
      "topics": [
        "FR.test"
      ]
    },
    {
      "page": "MD2sample_power-methods",
      "title": "Methods for MD2sample power results",
      "topics": [
        "as.data.frame.MD2sample_power",
        "MD2sample_power-methods",
        "print.MD2sample_power"
      ]
    },
    {
      "page": "MD2sample_test-methods",
      "title": "Methods for MD2sample two-sample test results",
      "topics": [
        "as.data.frame.MD2sample_test",
        "MD2sample_test-methods",
        "print.MD2sample_test",
        "print.summary.MD2sample_test",
        "summary.MD2sample_test"
      ]
    },
    {
      "page": "power_studies_results",
      "title": "power_studies_results",
      "topics": [
        "power_studies_results"
      ]
    },
    {
      "page": "run.studies",
      "title": "Benchmarking for Multivariate Two-Sample Tests",
      "topics": [
        "run.studies"
      ]
    },
    {
      "page": "TS_cont_pval",
      "title": "This function runs a number of two sample tests which find their own p value.",
      "topics": [
        "TS_cont_pval"
      ]
    },
    {
      "page": "twosample_power",
      "title": "Power Estimation for Multivariate Two-Sample Tests",
      "topics": [
        "twosample_power"
      ]
    },
    {
      "page": "twosample_test",
      "title": "Multivariate Two-Sample Tests",
      "topics": [
        "twosample_test"
      ]
    },
    {
      "page": "twosample_test_adjusted_pvalue",
      "title": "Adjusted p values for multivariate two-sample tests",
      "topics": [
        "twosample_test_adjusted_pvalue"
      ]
    }
  ],
  "_rundeps": [
    "ade4",
    "ADGofTest",
    "Ball",
    "cli",
    "cluster",
    "codetools",
    "colorspace",
    "copula",
    "cpp11",
    "FNN",
    "foreach",
    "gam",
    "glue",
    "gsl",
    "gTests",
    "igraph",
    "iterators",
    "lattice",
    "lifecycle",
    "lsa",
    "magrittr",
    "MASS",
    "Matrix",
    "microbenchmark",
    "mvtnorm",
    "numDeriv",
    "pcaPP",
    "pixmap",
    "pkgconfig",
    "pspline",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "SnowballC",
    "sp",
    "stabledist",
    "survival",
    "vctrs"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "CaseStudies.Rmd",
      "filename": "CaseStudies.html",
      "title": "Case Studies",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Dim=2, equal marginals",
        "Dim=2, unequal marginals",
        "Dim=5, equal marginals",
        "Dim=5, unequal marginals"
      ],
      "created": "2025-07-22 11:40:11",
      "modified": "2026-01-18 14:10:02",
      "commits": 2
    },
    {
      "source": "MD2sample.Rmd",
      "filename": "MD2sample.html",
      "title": "MD2sample",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Continuous Data",
        "Example 1",
        "New Tests",
        "Adjusted p values",
        "Power Estimation",
        "Example 2",
        "Discrete Data",
        "Example 3",
        "User supplied tests",
        "Goodness-of-fit/Two-sample hybrid problem",
        "Benchmarking",
        "Goodness-of-fit / twosample hybrid problem.",
        "Example 5",
        "Methods included in MD2sample for continuous data",
        "Methods whose p values are found via simulation",
        "Methods based on empirical distribution functions",
        "Methods based on nearest neighbors",
        "Methods based on distances between observations",
        "Methods based on kernel density estimates",
        "Methods whose p values are found using a large sample theory",
        "Methods included in MD2sample for discrete data",
        "References"
      ],
      "created": "2025-07-22 11:40:11",
      "modified": "2026-06-25 05:10:08",
      "commits": 4
    }
  ],
  "_score": 3.7323937598229686,
  "_indexed": true,
  "_nocasepkg": "md2sample",
  "_universes": [
    "wolfgangrolke"
  ],
  "_previous": "1.4.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.2",
      "date": "2026-10-22T19:55:08.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "00881fa485482314d486f3e6f5bc2b72e3b9e922",
      "fileid": "https://r2.ropensci.org/d9eac7424183f67faca8a1f7fc65a6d5f9c1e95441e262cbc9ba18c101bc199e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/39842384851"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.2",
      "date": "2026-10-22T19:56:17.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "00881fa485482314d486f3e6f5bc2b72e3b9e922",
      "fileid": "https://r2.ropensci.org/a04562b906c16ecb325a6b63273a4473e2fce12d317bbaa312074edaf49c7b38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/39842384851"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4.2",
      "date": "2026-10-22T19:55:03.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "00881fa485482314d486f3e6f5bc2b72e3b9e922",
      "fileid": "https://r2.ropensci.org/1c040777057a2a29f218e631d2cfcd69d508be4408520aedbb65b5235fbbbb21",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/39842384851"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4.2",
      "date": "2026-10-22T19:55:16.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "00881fa485482314d486f3e6f5bc2b72e3b9e922",
      "fileid": "https://r2.ropensci.org/f773a8fbf638ba4c422269638f983f41fdb2e392c07dbe75fc9dad1d83774c30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/39842384851"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.2",
      "date": "2026-10-22T20:06:52.000Z",
      "arch": "aarch64",
      "commit": "00881fa485482314d486f3e6f5bc2b72e3b9e922",
      "fileid": "https://r2.ropensci.org/025838f39abe4a42ae2777587ac30a23a3da4ec5b5131bb394563ea8721bbbc3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/39842384851"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.2",
      "date": "2026-10-22T20:03:31.000Z",
      "arch": "x86_64",
      "commit": "00881fa485482314d486f3e6f5bc2b72e3b9e922",
      "fileid": "https://r2.ropensci.org/828823ce9547b34b8bb01060a0a9b4c1e2a6241d173720d1d3a9be938c63489e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/39842384851"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4.2",
      "date": "2026-10-22T20:06:34.000Z",
      "arch": "aarch64",
      "commit": "00881fa485482314d486f3e6f5bc2b72e3b9e922",
      "fileid": "https://r2.ropensci.org/0902eafed6527b7fe8c6e9cb7fe78426880867412cdff47d0da4189e45239872",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/39842384851"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4.2",
      "date": "2026-10-22T20:05:30.000Z",
      "arch": "x86_64",
      "commit": "00881fa485482314d486f3e6f5bc2b72e3b9e922",
      "fileid": "https://r2.ropensci.org/a51518098a265cb81b284c388b306553ed7daa5ed0d467d6778da33a0a46defe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/39842384851"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.2",
      "date": "2026-10-22T19:55:01.000Z",
      "arch": "emscripten",
      "commit": "00881fa485482314d486f3e6f5bc2b72e3b9e922",
      "fileid": "https://r2.ropensci.org/6778c6cedbd1a7d78f8b2cedad8d06bf178d02e12d283e6057f2bee0c3efe9f9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/39842384851"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.2",
      "date": "2026-10-22T19:59:01.000Z",
      "arch": "aarch64",
      "commit": "00881fa485482314d486f3e6f5bc2b72e3b9e922",
      "fileid": "https://r2.ropensci.org/b67a6fba1977cc210023308d1dda9225e98867a7645c5033a7cb9313cba8d115",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/39842384851"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.2",
      "date": "2026-10-22T19:54:09.000Z",
      "arch": "x86_64",
      "commit": "00881fa485482314d486f3e6f5bc2b72e3b9e922",
      "fileid": "https://r2.ropensci.org/a4c939fc1397d80231090459d41b6a7dfa73ff199cc912502ee5bc1318202592",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/39842384851"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.2",
      "date": "2026-10-22T19:54:37.000Z",
      "arch": "x86_64",
      "commit": "00881fa485482314d486f3e6f5bc2b72e3b9e922",
      "fileid": "https://r2.ropensci.org/b6d457f6732a041c4e8837166018956b6b8b04e70e89c4f6560754ae5b94b4a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/39842384851"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.4.2",
      "date": "2026-10-22T19:58:01.000Z",
      "arch": "aarch64",
      "commit": "00881fa485482314d486f3e6f5bc2b72e3b9e922",
      "fileid": "https://r2.ropensci.org/bb818e23816ff0fe86991837a9a9c2208ceb467dd0087bfcdfa6ad803dac5633",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/39842384851"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.4.2",
      "date": "2026-10-22T19:54:09.000Z",
      "arch": "x86_64",
      "commit": "00881fa485482314d486f3e6f5bc2b72e3b9e922",
      "fileid": "https://r2.ropensci.org/53515e637fee4eda9deebcd16a81a5c8997ab498b441069dd377388357309551",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/39842384851"
    }
  ]
}