{
  "_id": "6a33c8ce3efcd9bda43b24bc",
  "Package": "ZVCV",
  "Type": "Package",
  "Title": "Zero-Variance Control Variates",
  "Version": "2.1.3",
  "Date": "2025-10-18",
  "Authors@R": "c(person(\"Leah F.\",\"South\",role=c(\"aut\",\"cre\"),email=\"leah.south@hdr.qut.edu.au\",comment = c(ORCID = \"0000-0002-5646-2963\")))",
  "Description": "Stein control variates can be used to improve Monte Carlo\nestimates of expectations when the derivatives of the log\ntarget are available. This package implements a variety of such\nmethods, including zero-variance control variates (ZV-CV, Mira\net al. (2013) <doi:10.1007/s11222-012-9344-6>), regularised\nZV-CV (South et al., 2023 <doi:10.1214/22-BA1328>), control\nfunctionals (CF, Oates et al. (2017) <doi:10.1111/rssb.12185>)\nand semi-exact control functionals (SECF, South et al., 2022\n<doi:10.1093/biomet/asab036>). ZV-CV is a parametric approach\nthat is exact for (low order) polynomial integrands with\nGaussian targets. CF is a non-parametric alternative that\noffers better than the standard Monte Carlo convergence rates.\nSECF has both a parametric and a non-parametric component and\nit offers the advantages of both for an additional\ncomputational cost. Functions for applying ZV-CV and CF to two\nestimators for the normalising constant of the posterior\ndistribution in Bayesian statistics are also supplied in this\npackage. The basic requirements for using the package are a set\nof samples, derivatives and function evaluations.",
  "BugReports": "https://github.com/LeahPrice/ZVCV/issues",
  "License": "GPL (>= 2)",
  "LazyLoad": "yes",
  "LazyData": "true",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.1",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-18 10:26:05 UTC",
    "User": "root"
  },
  "Author": "Leah F. South [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-5646-2963>)",
  "Maintainer": "Leah F. South <leah.south@hdr.qut.edu.au>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-10-21 02:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/ZVCV",
  "RemoteRef": "HEAD",
  "RemoteSha": "8a6dc80b28fa99e4af5ee84a16a0e07d8cfecc42",
  "MD5sum": "8f93f8422320ab5dbccb80ba1b254f19",
  "_user": "cran",
  "_type": "src",
  "_file": "ZVCV_2.1.3.tar.gz",
  "_fileid": "fa84ab723ef3a9fe457e72011df9ddc834e84310a4144644e820a6ee5d9aca66",
  "_filesize": 407008,
  "_sha256": "fa84ab723ef3a9fe457e72011df9ddc834e84310a4144644e820a6ee5d9aca66",
  "_created": "2026-06-18T10:26:05.000Z",
  "_published": "2026-06-18T10:30:38.242Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82108522277,
      "time": 193,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7720784913"
    },
    {
      "job": 82108522275,
      "time": 191,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7720784371"
    },
    {
      "job": 82108522252,
      "time": 172,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7720777826"
    },
    {
      "job": 82108522276,
      "time": 198,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7720786439"
    },
    {
      "job": 82107841062,
      "time": 230,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7720718813"
    },
    {
      "job": 82108522249,
      "time": 153,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7720771609"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27752975865",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/ZVCV",
  "_commit": {
    "id": "8a6dc80b28fa99e4af5ee84a16a0e07d8cfecc42",
    "author": "Leah F. South <leah.south@hdr.qut.edu.au>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.1.3\n",
    "time": 1761013202
  },
  "_maintainer": {
    "name": "Leah F. South",
    "email": "leah.south@hdr.qut.edu.au",
    "login": "leahprice",
    "twitter": "@LeahFSouth",
    "description": "Lecturer at QUT interested in Bayesian computational statistics",
    "uuid": 26055385,
    "orcid": "0000-0002-5646-2963"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.11.0",
      "role": "Imports"
    },
    {
      "package": "glmnet",
      "role": "Imports"
    },
    {
      "package": "abind",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "Rlinsolve",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "partitions",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "ggthemes",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-43",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2.1.3",
      "date": "2025-10-21"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "leahprice",
      "count": 5,
      "uuid": 26055385
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 609,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 246,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ZVCV"
  },
  "_devurl": "https://github.com/leahprice/zvcv",
  "_searchresults": 6,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/ZVCV.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/leahprice/zvcv",
  "_realowner": "leahprice",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2019-01-24"
    },
    {
      "version": "2.1.0",
      "date": "2020-06-17"
    },
    {
      "version": "2.1.1",
      "date": "2021-06-30"
    },
    {
      "version": "2.1.2",
      "date": "2022-11-02"
    },
    {
      "version": "2.1.3",
      "date": "2025-10-21"
    }
  ],
  "_exports": [
    "aSECF",
    "aSECF_crossval",
    "CF",
    "CF_crossval",
    "evidence_CTI",
    "evidence_CTI_CF",
    "evidence_SMC",
    "evidence_SMC_CF",
    "Expand_Temperatures",
    "getX",
    "K0_fn",
    "logsumexp",
    "medianTune",
    "nearPD",
    "Phi_fn",
    "SECF",
    "SECF_crossval",
    "squareNorm",
    "zvcv"
  ],
  "_datasets": [
    {
      "name": "VDP",
      "title": "Example of estimation using SMC",
      "object": "VDP",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "aSECF",
      "title": "Approximate semi-exact control functionals (aSECF)",
      "topics": [
        "aSECF"
      ]
    },
    {
      "page": "aSECF_crossval",
      "title": "Approximate semi-exact control functionals (aSECF) with cross-validation",
      "topics": [
        "aSECF_crossval"
      ]
    },
    {
      "page": "CF",
      "title": "Control functionals (CF)",
      "topics": [
        "CF"
      ]
    },
    {
      "page": "CF_crossval",
      "title": "Control functionals (CF) with cross-validation",
      "topics": [
        "CF_crossval"
      ]
    },
    {
      "page": "evidence",
      "title": "Evidence estimation with ZV-CV",
      "topics": [
        "evidence",
        "evidence_CTI",
        "evidence_CTI_CF",
        "evidence_SMC",
        "evidence_SMC_CF"
      ]
    },
    {
      "page": "Expand_Temperatures",
      "title": "Adjusting the temperature schedule",
      "topics": [
        "Expand_Temperatures"
      ]
    },
    {
      "page": "getX",
      "title": "ZV-CV design matrix",
      "topics": [
        "getX"
      ]
    },
    {
      "page": "K0_fn",
      "title": "Kernel matrix calculation",
      "topics": [
        "K0_fn"
      ]
    },
    {
      "page": "logsumexp",
      "title": "Stable log sum of exponential calculations",
      "topics": [
        "logsumexp"
      ]
    },
    {
      "page": "medianTune",
      "title": "Median heuristic",
      "topics": [
        "medianTune"
      ]
    },
    {
      "page": "nearPD",
      "title": "Nearest symmetric positive definite matrix",
      "topics": [
        "nearPD"
      ]
    },
    {
      "page": "Phi_fn",
      "title": "Phi matrix calculation",
      "topics": [
        "Phi_fn"
      ]
    },
    {
      "page": "SECF",
      "title": "Semi-exact control functionals (SECF)",
      "topics": [
        "SECF"
      ]
    },
    {
      "page": "SECF_crossval",
      "title": "Semi-exact control functionals (SECF) with cross-validation",
      "topics": [
        "SECF_crossval"
      ]
    },
    {
      "page": "squareNorm",
      "title": "Squared norm matrix calculation",
      "topics": [
        "squareNorm"
      ]
    },
    {
      "page": "VDP",
      "title": "Example of estimation using SMC",
      "topics": [
        "VDP"
      ]
    },
    {
      "page": "zvcv",
      "title": "ZV-CV for general expectations",
      "topics": [
        "zvcv"
      ]
    },
    {
      "page": "ZVCV_package",
      "title": "Zero-Variance Control Variates",
      "topics": [
        "ZVCV-package",
        "ZVCV",
        "ZVCV_package"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "BH",
    "cli",
    "codetools",
    "dplyr",
    "foreach",
    "generics",
    "glmnet",
    "glue",
    "iterators",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "mvtnorm",
    "pillar",
    "pkgconfig",
    "R6",
    "rbibutils",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "rlang",
    "Rlinsolve",
    "shape",
    "survival",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "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.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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": false,
  "_nocasepkg": "zvcv",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://leahprice.r-universe.dev/ZVCV",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.3",
      "date": "2026-06-18T10:29:02.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "8a6dc80b28fa99e4af5ee84a16a0e07d8cfecc42",
      "fileid": "6d62a9b4606b6de9e37d5e6784ec4a99165ddd6f4c003eca2d3b8901dc7faf90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27752975865"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.3",
      "date": "2026-06-18T10:29:04.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "8a6dc80b28fa99e4af5ee84a16a0e07d8cfecc42",
      "fileid": "80c10d21a006ee0193fbd856870a05259a919876ffe80cedeb0ac66e8cc4adca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27752975865"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.3",
      "date": "2026-06-18T10:28:50.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "8a6dc80b28fa99e4af5ee84a16a0e07d8cfecc42",
      "fileid": "8384b5d1fc1b8b395d5dba45700bd38f7635f7d1230def2fd0bca24fbba17177",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27752975865"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.3",
      "date": "2026-06-18T10:29:06.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "8a6dc80b28fa99e4af5ee84a16a0e07d8cfecc42",
      "fileid": "11af25bb389e917e87458a5076b71eb88e78545e7f69d54f7a9d3c6f5b13167e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27752975865"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.3",
      "date": "2026-06-18T10:29:09.000Z",
      "arch": "emscripten",
      "commit": "8a6dc80b28fa99e4af5ee84a16a0e07d8cfecc42",
      "fileid": "82d1d4dc8d95fe5fe87f2026e27c29450076bce0e280b5bbb3f464c601be56b8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27752975865"
    }
  ]
}