{
  "_id": "6af892c5535793c85332e60d",
  "Package": "VeccTMVN",
  "Type": "Package",
  "Title": "Multivariate Normal Probabilities using Vecchia Approximation",
  "Version": "1.3.2",
  "Date": "2026-01-26",
  "Authors@R": "c(person(\"Jian Cao\", role = c(\"aut\", \"cre\"), email = \"jcao2416@gmail.com\"),\nperson(\"Matthias Katzfuss\", role = \"aut\"))",
  "Author": "Jian Cao [aut, cre], Matthias Katzfuss [aut]",
  "Maintainer": "Jian Cao <jcao2416@gmail.com>",
  "Description": "Under a different representation of the multivariate\nnormal (MVN) probability, we can use the Vecchia approximation\nto sample the integrand at a linear complexity with respect to\nn. Additionally, both the SOV algorithm from Genz (92) and the\nexponential-tilting method from Botev (2017) can be adapted to\nlinear complexity. The reference for the method implemented in\nthis package is Jian Cao and Matthias Katzfuss (2024)\n\"Linear-Cost Vecchia Approximation of Multivariate Normal\nProbabilities\" <doi:10.48550/arXiv.2311.09426>. Two major\nreferences for the development of our method are Alan Genz\n(1992) \"Numerical Computation of Multivariate Normal\nProbabilities\" <doi:10.1080/10618600.1992.10477010> and Z. I.\nBotev (2017) \"The Normal Law Under Linear Restrictions:\nSimulation and Estimation via Minimax Tilting\"\n<doi:10.48550/arXiv.1603.04166>.",
  "License": "GPL (>= 2)",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/JCatwood/VeccTMVN",
  "BugReports": "https://github.com/JCatwood/VeccTMVN/issues",
  "RoxygenNote": "7.3.2",
  "Encoding": "UTF-8",
  "Repository": "https://jcatwood.r-universe.dev",
  "Date/Publication": "2026-11-14 16:27:07 UTC",
  "RemoteUrl": "https://github.com/jcatwood/vecctmvn",
  "RemoteRef": "HEAD",
  "RemoteSha": "8d68f607a7f7ee3b23f497297dcdd91578454945",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-14 16:45:21 UTC",
    "User": "root"
  },
  "_user": "jcatwood",
  "_type": "src",
  "_file": "VeccTMVN_1.3.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/7b12353fa8d6a20a6c2b341b990c294345a290749b496fda18be019325c0e5a3",
  "_filesize": 149677,
  "_sha256": "7b12353fa8d6a20a6c2b341b990c294345a290749b496fda18be019325c0e5a3",
  "_expires": "2027-02-22T16:56:35.000Z",
  "_created": "2026-11-14T16:45:21.000Z",
  "_published": "2026-11-20T02:01:42.480Z",
  "_upstream": "https://github.com/jcatwood/vecctmvn",
  "_status": "success",
  "_maintainer": {
    "name": "Jian Cao",
    "email": "jcao2416@gmail.com",
    "login": "jcatwood",
    "description": "",
    "uuid": 12179092
  },
  "_jobs": [
    {
      "job": 132515385768,
      "time": 147,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14122712478"
    },
    {
      "job": 132515385751,
      "time": 163,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14122753503"
    },
    {
      "job": 132515386074,
      "time": 145,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14122945637"
    },
    {
      "job": 132515385936,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14121964094"
    },
    {
      "job": 132515385825,
      "time": 204,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14122339655"
    },
    {
      "job": 132515386090,
      "time": 260,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14122474497"
    },
    {
      "job": 132515385739,
      "time": 147,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14122003954"
    },
    {
      "job": 132515385753,
      "time": 598,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14123630066"
    },
    {
      "job": 132514349611,
      "time": 222,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14122623480"
    },
    {
      "job": 132515385714,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14122469208"
    },
    {
      "job": 132515385868,
      "time": 393,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14122788909"
    },
    {
      "job": 132515385803,
      "time": 226,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14122084032"
    },
    {
      "job": 132515386000,
      "time": 169,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14123020289"
    },
    {
      "job": 132515385878,
      "time": 378,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14121959467"
    },
    {
      "job": 132515385875,
      "time": 178,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14121709933"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jcatwood/actions/runs/43617044300",
  "_commit": {
    "id": "8d68f607a7f7ee3b23f497297dcdd91578454945",
    "author": "Jian Cao <jcao2416@gmail.com>",
    "committer": "Jian Cao <jcao2416@gmail.com>",
    "message": "Bug fix for grad_jacprod_jacsolv_idea5, the mu arg is renamed and representing the partial contribution from the observed when conditioning on both observed and censored responses\n",
    "time": 1794673627
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.10",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "version": ">= 1.5-3",
      "role": "Imports"
    },
    {
      "package": "GpGp",
      "version": ">= 0.4.0",
      "role": "Imports"
    },
    {
      "package": "truncnorm",
      "version": ">= 1.0-8",
      "role": "Imports"
    },
    {
      "package": "GPvecchia",
      "role": "Imports"
    },
    {
      "package": "TruncatedNormal",
      "role": "Imports"
    },
    {
      "package": "nleqslv",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "lhs",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "role": "Suggests"
    }
  ],
  "_owner": "jcatwood",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-46",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "normal-distribution",
    "sampling-methods",
    "statistics",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "jcatwood",
      "count": 12,
      "uuid": 12179092
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 12179092,
    "type": "user",
    "name": "Jian Cao",
    "followers": 11
  },
  "_downloads": {
    "count": 441,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/VeccTMVN"
  },
  "_devurl": "https://github.com/jcatwood/vecctmvn",
  "_searchresults": 29,
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/VeccTMVN.html"
  ],
  "_homeurl": "https://github.com/jcatwood/vecctmvn",
  "_realowner": "jcatwood",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-01-26"
    },
    {
      "version": "1.1.0",
      "date": "2024-08-16"
    },
    {
      "version": "1.1.1",
      "date": "2024-09-04"
    },
    {
      "version": "1.2.0",
      "date": "2024-09-23"
    },
    {
      "version": "1.2.1",
      "date": "2024-11-26"
    },
    {
      "version": "1.3.0",
      "date": "2025-07-14"
    },
    {
      "version": "1.3.1",
      "date": "2025-08-19"
    },
    {
      "version": "1.3.2",
      "date": "2026-02-03"
    }
  ],
  "_exports": [
    "FIC_reorder_univar",
    "find_nn_corr",
    "get_sp_inv_chol",
    "loglk_censor_MVN",
    "mvrandn",
    "mvrandt",
    "pmvn",
    "pmvn_MLMC",
    "pmvt",
    "pmvt_MLMC",
    "ptmvrandn",
    "univar_order",
    "Vecc_reorder"
  ],
  "_help": [
    {
      "page": "FIC_reorder_univar",
      "title": "Univariate ordering under FIC approximation, first m chosen by m iter of dense univariate reordering",
      "topics": [
        "FIC_reorder_univar"
      ]
    },
    {
      "page": "find_nn_corr",
      "title": "Find ordered nearest neighbors based on a correlation Matrix. Assuming the absolute value of the correlation is monotonically decreasing with distance. Returns an n X (m + 1) matrix similar to `GpGp::find_ordered_nn`.",
      "topics": [
        "find_nn_corr"
      ]
    },
    {
      "page": "get_sp_inv_chol",
      "title": "Get the inverse upper Cholesky factor under the Vecchia approximation",
      "topics": [
        "get_sp_inv_chol"
      ]
    },
    {
      "page": "loglk_censor_MVN",
      "title": "Compute censored multivariate normal (MVN) log-probabilities that have spatial covariance matrices using Vecchia approximation",
      "topics": [
        "loglk_censor_MVN"
      ]
    },
    {
      "page": "mvrandn",
      "title": "Simulate truncated multivariate normal (TMVN) using the Vecchia approximation",
      "topics": [
        "mvrandn"
      ]
    },
    {
      "page": "mvrandt",
      "title": "Simulate truncated multivariate normal (TMVT) using the Vecchia approximation",
      "topics": [
        "mvrandt"
      ]
    },
    {
      "page": "pmvn",
      "title": "Compute multivariate normal (MVN) probabilities that have spatial covariance matrices using Vecchia approximation",
      "topics": [
        "pmvn"
      ]
    },
    {
      "page": "pmvn_MLMC",
      "title": "Applying the multi-level Monte Carlo (MLMC) technique to the pmvn function The function uses 'NLevel1 = 1' for 'm = m2' and the same exponential tilting parameter as 'm = m1' to compute one MC estimate. This MC estimate is used to correct the bias from the Vecchia approximation",
      "topics": [
        "pmvn_MLMC"
      ]
    },
    {
      "page": "pmvt",
      "title": "Compute multivariate Student-t (MVT) probabilities that have spatial covariance matrices using Vecchia approximation",
      "topics": [
        "pmvt"
      ]
    },
    {
      "page": "pmvt_MLMC",
      "title": "Applying the multi-level Monte Carlo (MLMC) technique to the pmvt function The function uses 'NLevel1 = 1' for 'm = m2' and the same exponential tilting parameter as 'm = m1' to compute one MC estimate. This MC estimate is used to correct the bias from the Vecchia approximation",
      "topics": [
        "pmvt_MLMC"
      ]
    },
    {
      "page": "ptmvrandn",
      "title": "Simulate partially censored multivariate normal (MVN) at censored locations using the Vecchia approximation",
      "topics": [
        "ptmvrandn"
      ]
    },
    {
      "page": "univar_order",
      "title": "Univariate variable reordering, described in Genz and Bretz (2009) If failed due to PD singularity, the unfinished order will be returned and a warning will be issued",
      "topics": [
        "univar_order"
      ]
    },
    {
      "page": "Vecc_reorder",
      "title": "Univariate ordering under Vecchia approximation",
      "topics": [
        "Vecc_reorder"
      ]
    },
    {
      "page": "VeccTMVN",
      "title": "VeccTMVN",
      "topics": [
        "VeccTMVN"
      ]
    }
  ],
  "_readme": "https://github.com/jcatwood/vecctmvn/raw/HEAD/README.md",
  "_rundeps": [
    "alabama",
    "BH",
    "dotCall64",
    "fields",
    "FNN",
    "GpGp",
    "GPvecchia",
    "lattice",
    "maps",
    "Matrix",
    "nleqslv",
    "numDeriv",
    "qrng",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "spacefillr",
    "spam",
    "sparseinv",
    "TruncatedNormal",
    "truncnorm",
    "viridisLite"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 3.7634279935629373,
  "_indexed": true,
  "_nocasepkg": "vecctmvn",
  "_universes": [
    "jcatwood"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.2",
      "date": "2026-11-14T16:48:09.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "8d68f607a7f7ee3b23f497297dcdd91578454945",
      "fileid": "https://r2.ropensci.org/de01a5e67f3498e98b0fa1daf2141c7c8ebe630e7ef89d98bd4cc1c997aa397a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jcatwood/actions/runs/43617044300"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.2",
      "date": "2026-11-14T16:48:20.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "8d68f607a7f7ee3b23f497297dcdd91578454945",
      "fileid": "https://r2.ropensci.org/6ef8e12f172b127862b789691602a8ccae6e7e2d0c274a618f7bfd595c2c31e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jcatwood/actions/runs/43617044300"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.3.2",
      "date": "2026-11-14T16:48:08.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "8d68f607a7f7ee3b23f497297dcdd91578454945",
      "fileid": "https://r2.ropensci.org/90a8c5054993d448b7aae1375bae2450267d60de31c6ddf86f89a556bf581022",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jcatwood/actions/runs/43617044300"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.3.2",
      "date": "2026-11-14T16:48:13.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "8d68f607a7f7ee3b23f497297dcdd91578454945",
      "fileid": "https://r2.ropensci.org/f001ba750c24c94676677930a261e15fd1997380bdb50858ea43aefcd422139f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jcatwood/actions/runs/43617044300"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.2",
      "date": "2026-11-14T16:48:22.000Z",
      "arch": "aarch64",
      "commit": "8d68f607a7f7ee3b23f497297dcdd91578454945",
      "fileid": "https://r2.ropensci.org/421635128125860c9633b969f0685ac958e181f99b6c8820b69fbf1e2ba65c6e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jcatwood/actions/runs/43617044300"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.2",
      "date": "2026-11-14T16:49:17.000Z",
      "arch": "x86_64",
      "commit": "8d68f607a7f7ee3b23f497297dcdd91578454945",
      "fileid": "https://r2.ropensci.org/f7089dafde387dd7c61f93283965b33aa982fd7b54900f1d215956fffd69ec4e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jcatwood/actions/runs/43617044300"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.3.2",
      "date": "2026-11-14T16:47:46.000Z",
      "arch": "aarch64",
      "commit": "8d68f607a7f7ee3b23f497297dcdd91578454945",
      "fileid": "https://r2.ropensci.org/b4dbc12ce8316a2230d3415b57c3e46ba136ddba3cfca47a438099b26c818f2c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jcatwood/actions/runs/43617044300"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.3.2",
      "date": "2026-11-14T16:53:19.000Z",
      "arch": "x86_64",
      "commit": "8d68f607a7f7ee3b23f497297dcdd91578454945",
      "fileid": "https://r2.ropensci.org/1c7f3e81a120dc8dec4f004f721af260dc3292925ba526dea1001d52ac1d6ac5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jcatwood/actions/runs/43617044300"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.2",
      "date": "2026-11-14T16:47:55.000Z",
      "arch": "emscripten",
      "commit": "8d68f607a7f7ee3b23f497297dcdd91578454945",
      "fileid": "https://r2.ropensci.org/984be5a12b3f62a738ddf6f703251baeed21d8857ee28eaa1397cec487709bfd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jcatwood/actions/runs/43617044300"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.2",
      "date": "2026-11-14T16:51:21.000Z",
      "arch": "aarch64",
      "commit": "8d68f607a7f7ee3b23f497297dcdd91578454945",
      "fileid": "https://r2.ropensci.org/bf23e5cfcbcb7bd81e4663806e94132e0d11c5288f037fa491942b09594ca35d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jcatwood/actions/runs/43617044300"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.2",
      "date": "2026-11-14T16:47:50.000Z",
      "arch": "x86_64",
      "commit": "8d68f607a7f7ee3b23f497297dcdd91578454945",
      "fileid": "https://r2.ropensci.org/37bb94ac7696562574098a35881e6203795f85288412f7a70d78eeb457e51a3f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jcatwood/actions/runs/43617044300"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.2",
      "date": "2026-11-14T16:47:40.000Z",
      "arch": "x86_64",
      "commit": "8d68f607a7f7ee3b23f497297dcdd91578454945",
      "fileid": "https://r2.ropensci.org/f33f044f875f41e053bf8a4faf72cf079ea7c2e2384ac033d0a2950d2ed6a879",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jcatwood/actions/runs/43617044300"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.3.2",
      "date": "2026-11-14T16:51:04.000Z",
      "arch": "aarch64",
      "commit": "8d68f607a7f7ee3b23f497297dcdd91578454945",
      "fileid": "https://r2.ropensci.org/5eca707d41a9d1239076f8b10347b5152be0ae4697750d5430eab64608efac88",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jcatwood/actions/runs/43617044300"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.3.2",
      "date": "2026-11-14T16:47:30.000Z",
      "arch": "x86_64",
      "commit": "8d68f607a7f7ee3b23f497297dcdd91578454945",
      "fileid": "https://r2.ropensci.org/70b22388d11f3e3b0d1e416c4660f59c02dfaab4790000d220e7463c64da14d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jcatwood/actions/runs/43617044300"
    }
  ]
}