{
  "_id": "6a3265823efcd9bda43854c8",
  "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., 2018 <arXiv:1811.05073>), control\nfunctionals (CF, Oates et al. (2017) <doi:10.1111/rssb.12185>)\nand semi-exact control functionals (SECF, South et al., 2020\n<arXiv:2002.00033>). ZV-CV is a parametric approach that is\nexact for (low order) polynomial integrands with Gaussian\ntargets. CF is a non-parametric alternative that offers better\nthan the standard Monte Carlo convergence rates. SECF has both\na parametric and a non-parametric component and it offers the\nadvantages of both for an additional computational cost.\nFunctions for applying ZV-CV and CF to two estimators for the\nnormalising constant of the posterior distribution in Bayesian\nstatistics are also supplied in this package. The basic\nrequirements for using the package are a set of samples,\nderivatives and function evaluations.",
  "BugReports": "https://github.com/LeahPrice/ZVCV/issues",
  "License": "GPL (>= 2)",
  "LazyLoad": "yes",
  "LazyData": "true",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.1",
  "Repository": "https://leahprice.r-universe.dev",
  "Date/Publication": "2025-10-20 09:59:52 UTC",
  "RemoteUrl": "https://github.com/leahprice/zvcv",
  "RemoteRef": "HEAD",
  "RemoteSha": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-17 09:04:38 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>",
  "MD5sum": "b1b7fec736fe0b30660d52001d85e5a4",
  "_user": "leahprice",
  "_type": "src",
  "_file": "ZVCV_2.1.3.tar.gz",
  "_fileid": "0d9124df4bd24723f8ff16504be1825189c4c3bbeb3aa1a8ab731930b2b12ea1",
  "_filesize": 407413,
  "_sha256": "0d9124df4bd24723f8ff16504be1825189c4c3bbeb3aa1a8ab731930b2b12ea1",
  "_created": "2026-06-17T09:04:38.000Z",
  "_published": "2026-06-17T09:14:42.855Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81858192191,
      "time": 226,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7690863507"
    },
    {
      "job": 81858192164,
      "time": 197,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7690854808"
    },
    {
      "job": 81858192246,
      "time": 180,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7690846568"
    },
    {
      "job": 81858192224,
      "time": 182,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7690847436"
    },
    {
      "job": 81858192225,
      "time": 252,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7690859018"
    },
    {
      "job": 81858192256,
      "time": 532,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7690956550"
    },
    {
      "job": 81858192261,
      "time": 179,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7690837770"
    },
    {
      "job": 81858192176,
      "time": 399,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7690914453"
    },
    {
      "job": 81857529769,
      "time": 208,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7690777764"
    },
    {
      "job": 81858192192,
      "time": 162,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7690838899"
    },
    {
      "job": 81858192161,
      "time": 225,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7690863208"
    },
    {
      "job": 81858192214,
      "time": 190,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7690851191"
    },
    {
      "job": 81858192119,
      "time": 270,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7690880348"
    }
  ],
  "_buildurl": "https://github.com/r-universe/leahprice/actions/runs/27677844178",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/leahprice/zvcv",
  "_commit": {
    "id": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
    "author": "Leah South <leah.south@hdr.qut.edu.au>",
    "committer": "Leah South <leah.south@hdr.qut.edu.au>",
    "message": "Removing invalid link, updating Rbuildignore\n",
    "time": 1760954392
  },
  "_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": "leahprice",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2025-43",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 7,
  "_contributors": [
    {
      "user": "leahprice",
      "count": 24,
      "uuid": 26055385
    }
  ],
  "_userbio": {
    "uuid": 26055385,
    "type": "user",
    "name": "Leah South",
    "followers": 28,
    "description": "Lecturer at QUT interested in Bayesian computational statistics"
  },
  "_downloads": {
    "count": 235,
    "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/readme.html",
    "extra/readme.md",
    "extra/ZVCV.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/leahprice/zvcv",
  "_realowner": "leahprice",
  "_cranurl": true,
  "_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"
      ]
    }
  ],
  "_readme": "https://github.com/leahprice/zvcv/raw/HEAD/README.md",
  "_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": 3.845098040014257,
  "_indexed": true,
  "_nocasepkg": "zvcv",
  "_universes": [
    "leahprice"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.3",
      "date": "2026-06-17T09:08:13.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "32d8d9c352196f65cee3e99fc4abff856e266a442c402a588f0d6dde21ba344c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/27677844178"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.3",
      "date": "2026-06-17T09:07:46.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "43c2dbe377b2f057e109dbb53cfed70590fb0092cb4a5ba9efe72e9590e12c8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/27677844178"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.3",
      "date": "2026-06-17T09:07:26.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "2a8e649be4a075ba3f78cb59b51944988dbfd09eac0ac24893681fb7712fd647",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/27677844178"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.3",
      "date": "2026-06-17T09:07:30.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "898455270604fa3d344d9ecffcaedbb5848c987f91804edf2554d63faaf0398f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/27677844178"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.3",
      "date": "2026-06-17T09:08:11.000Z",
      "arch": "aarch64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "d45254d4bc20f32ca557d9b0b0311bc857fbed180d43457290b04109bdfd82d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/27677844178"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.3",
      "date": "2026-06-17T09:09:04.000Z",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "7b0b43da2d4c13353b81c5db55525aadbb683a55b97ddfe394160c90cfe322cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/27677844178"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.3",
      "date": "2026-06-17T09:07:19.000Z",
      "arch": "aarch64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "f9548b823495600bb19d14cdb5774b2297519103e7d298caa5b23cba1e187b3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/27677844178"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.3",
      "date": "2026-06-17T09:09:33.000Z",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "bb6cd7bbdf498d4040c86d40ab5836748342e44b3c94b0b56c25fd28d02a9826",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/27677844178"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.3",
      "date": "2026-06-17T09:07:47.000Z",
      "arch": "emscripten",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "9b57ef4eaa35c08468661993bb6e27f768343b3497ce7ca3c8061518c20c5c96",
      "status": "success",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/27677844178"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.3",
      "date": "2026-06-17T09:07:15.000Z",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "5132c54ad7639b76bd385fa7ec5d2b485225e800eec0cb8807cf67c706844739",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/27677844178"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.3",
      "date": "2026-06-17T09:06:50.000Z",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "fe1230e03066a4dac89bb5c4c9f60845a8800533363cdbb4f649b7c6870609d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/27677844178"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.3",
      "date": "2026-06-17T09:07:54.000Z",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "cd7a4c572dae9d39be2b132c7f0d002f60adc16626248e1a3fc37b3346265624",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/27677844178"
    }
  ]
}