{
  "_id": "6a1f01d4b401979e7341b110",
  "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-05-18 08:32:13 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": "84709fde79d7d3b57f90c628e2eb0704",
  "_user": "leahprice",
  "_type": "src",
  "_file": "ZVCV_2.1.3.tar.gz",
  "_fileid": "48fca6b1ac233b3a1f148fb777c2ac39721407d65431aeb87c799795df873b95",
  "_filesize": 401783,
  "_sha256": "48fca6b1ac233b3a1f148fb777c2ac39721407d65431aeb87c799795df873b95",
  "_created": "2026-05-18T08:32:13.000Z",
  "_published": "2026-06-02T16:16:20.182Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79118060482,
      "time": 188,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7053087904"
    },
    {
      "job": 79118060572,
      "time": 194,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7053089675"
    },
    {
      "job": 79118061337,
      "time": 177,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053083858"
    },
    {
      "job": 79118060571,
      "time": 188,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053087341"
    },
    {
      "job": 79118061285,
      "time": 235,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7053091025"
    },
    {
      "job": 79118060466,
      "time": 335,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7053128197"
    },
    {
      "job": 79118060309,
      "time": 246,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053093726"
    },
    {
      "job": 79118060244,
      "time": 324,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053125520"
    },
    {
      "job": 79118059803,
      "time": 238,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053023256"
    },
    {
      "job": 79118059676,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7363463837"
    },
    {
      "job": 79118060342,
      "time": 177,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7053083795"
    },
    {
      "job": 79118060445,
      "time": 209,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7053095113"
    },
    {
      "job": 79118060314,
      "time": 195,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053089922"
    }
  ],
  "_buildurl": "https://github.com/r-universe/leahprice/actions/runs/26022268329",
  "_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",
    "description": "Lecturer at QUT interested in Bayesian computational statistics"
  },
  "_downloads": {
    "count": 211,
    "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-05-18T08:35:14.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "565a1b6e9ec85eadc34882ffee56ccc759bb2465cadd568291da6d48b93a311d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/26022268329"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.3",
      "date": "2026-05-18T08:35:16.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "fc87e22e2ed563cb6364bce48299e87be54b0e3d5158e941d03f8ccf97c67530",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/26022268329"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.3",
      "date": "2026-05-18T08:35:05.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "49276e7127803f9ada04e97be6695bf6f3f226a909004f397561f667c3690eb9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/26022268329"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.3",
      "date": "2026-05-18T08:35:10.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "ee3314ee18034d60ca6b422cadc4c5f4da606738ce36a14de1e40231a248ba33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/26022268329"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.3",
      "date": "2026-05-18T08:35:39.000Z",
      "arch": "aarch64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "ac87d05ab082ccaed81bb3ace192f14360d77332c5dc73313e2475d1badb1c9c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/26022268329"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.3",
      "date": "2026-05-18T08:36:42.000Z",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "049c859617821dcd5aaed978c93e0d9ffeb18205b5bcd028e9fbc278845eac53",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/26022268329"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.3",
      "date": "2026-05-18T08:35:32.000Z",
      "arch": "aarch64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "4aca9e0b08385581755eebde2c10ddebc4ae06f74506ece2fc13db0776dd3cbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/26022268329"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.3",
      "date": "2026-05-18T08:36:11.000Z",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "6900e30da175a4cfc81718584656d1cb86e4a8bdd5523ff37aa30b2a26a5eac2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/26022268329"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.3",
      "date": "2026-05-18T08:34:21.000Z",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "a045408e5b6e84dd5be13492bcc4f352389609b9c7fa0c609bc3023bf956d711",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/26022268329"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.3",
      "date": "2026-05-18T08:34:47.000Z",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "39ed9cd6b9730965d3bbee32b3813ee0a84aa14b8d6a7d819e593f2678cb6319",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/26022268329"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.3",
      "date": "2026-05-18T08:34:31.000Z",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "9f4ae354cb60d76cdb50b5f9c606803b12ec1c0a901ff76fe2ffcd95b5efed11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/26022268329"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.3",
      "date": "2026-06-02T16:15:34.000Z",
      "arch": "emscripten",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "c20ed4f310b19a800736f54665d540c866fb292db563f45e8265844bb004bd03",
      "status": "success",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/26022268329"
    }
  ]
}