{
  "_id": "6af82e47be2268deb4a407e2",
  "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-11-14 09:37:16 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>",
  "_user": "leahprice",
  "_type": "src",
  "_file": "ZVCV_2.1.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/11695024be3ba930e26a825dcb27953efe13f6afd30a767a47b49ed8f93690a6",
  "_filesize": 403794,
  "_sha256": "11695024be3ba930e26a825dcb27953efe13f6afd30a767a47b49ed8f93690a6",
  "_expires": "2027-02-22T09:47:49.000Z",
  "_created": "2026-11-14T09:37:16.000Z",
  "_published": "2026-11-20T02:18:53.260Z",
  "_upstream": "https://github.com/leahprice/zvcv",
  "_status": "success",
  "_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"
  },
  "_jobs": [
    {
      "job": 132407014814,
      "time": 193,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14108309929"
    },
    {
      "job": 132407014840,
      "time": 180,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14108052701"
    },
    {
      "job": 132407014902,
      "time": 154,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14108059165"
    },
    {
      "job": 132407014846,
      "time": 180,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14107964506"
    },
    {
      "job": 132407014782,
      "time": 215,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14108048345"
    },
    {
      "job": 132407014815,
      "time": 376,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14108449439"
    },
    {
      "job": 132407014776,
      "time": 197,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14108514427"
    },
    {
      "job": 132407014738,
      "time": 305,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14108743382"
    },
    {
      "job": 132406057169,
      "time": 238,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14108622830"
    },
    {
      "job": 132407014700,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14108846344"
    },
    {
      "job": 132407014864,
      "time": 430,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14109150233"
    },
    {
      "job": 132407014871,
      "time": 317,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14109040651"
    },
    {
      "job": 132407014828,
      "time": 312,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14108249362"
    },
    {
      "job": 132407014964,
      "time": 426,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14109040824"
    },
    {
      "job": 132407014894,
      "time": 299,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14108059497"
    }
  ],
  "_buildurl": "https://github.com/r-universe/leahprice/actions/runs/43581162646",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": [],
  "_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": 392,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ZVCV"
  },
  "_devurl": "https://github.com/leahprice/zvcv",
  "_searchresults": 8,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_abi": {
    "exports": [
      {
        "key": "ZVCV/include",
        "hash": "2eb6189bd14ac1f7"
      }
    ],
    "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/ZVCV.html"
  ],
  "_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.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"
    }
  ],
  "_score": 3.5440680443502757,
  "_indexed": true,
  "_nocasepkg": "zvcv",
  "_universes": [
    "leahprice"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.3",
      "date": "2026-11-14T09:40:32.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "https://r2.ropensci.org/095623cc72440d3f792669f8f39971d4a66212d820df295fa6be4b5711e91763",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/43581162646"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.3",
      "date": "2026-11-14T09:40:06.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "https://r2.ropensci.org/8ddb4fca549f0a3ebc26155ceaefcdcbb2b53d4ace2bde31fb450065ec3ce8af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/43581162646"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "2.1.3",
      "date": "2026-11-14T09:39:52.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "https://r2.ropensci.org/7ea348ede4977c817f8b1a1da3d5dfb9cf2c5ca82abb10cdc0ff73e31b3810a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/43581162646"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "2.1.3",
      "date": "2026-11-14T09:40:07.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "https://r2.ropensci.org/bc3daa4fa65afe19b42a59c61da386483835ea43f6681d9e4b80874db897b6f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/43581162646"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.3",
      "date": "2026-11-14T09:45:51.000Z",
      "arch": "aarch64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "https://r2.ropensci.org/2a2add49d04b2f54a13ec9056d486bcbd4806f32a0268404e2541f20a8a6f6bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/43581162646"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.3",
      "date": "2026-11-14T09:43:33.000Z",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "https://r2.ropensci.org/6531eae5085f4952b76584ce0d94760fdc1ab5149f71929d1396c872c60eac90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/43581162646"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "2.1.3",
      "date": "2026-11-14T09:45:49.000Z",
      "arch": "aarch64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "https://r2.ropensci.org/1bbabbf9a5f63af5dfbdfc43452febd17a6f67858390017199fd544924521d48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/43581162646"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "2.1.3",
      "date": "2026-11-14T09:42:21.000Z",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "https://r2.ropensci.org/67200d4af12077dc48d8ebef223344e982e1c031f8e666bc19ca16339a364303",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/43581162646"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.3",
      "date": "2026-11-14T09:39:51.000Z",
      "arch": "emscripten",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "https://r2.ropensci.org/37f8a3e62e30d0419abb74fc5b3dc945a2dc2a43e9e1dada9d17324ef53068d4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/43581162646"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.3",
      "date": "2026-11-14T09:43:33.000Z",
      "arch": "aarch64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "https://r2.ropensci.org/4b4babcadb1959fccfb71926d1086cdb9aff85954e026a340b3c78b2d00e50d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/43581162646"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.3",
      "date": "2026-11-14T09:40:20.000Z",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "https://r2.ropensci.org/7c4e16c7c04d7e02ba69a16b015667c0cfbd1da88bd97aa4c4987e44cc8fccba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/43581162646"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.3",
      "date": "2026-11-14T09:40:41.000Z",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "https://r2.ropensci.org/0263a8f6c18de5bbd7cf7bed77dce917f25da03a3203bb6ab723bf6c0bb75b16",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/43581162646"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "2.1.3",
      "date": "2026-11-14T09:43:30.000Z",
      "arch": "aarch64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "https://r2.ropensci.org/ac56cad6101c8a37a28215e9134d0914c1c3c273d9e3a62220b27d391b0d0469",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/43581162646"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "2.1.3",
      "date": "2026-11-14T09:40:49.000Z",
      "arch": "x86_64",
      "commit": "d30d6eb9e1c8aafdb9b5f515c444e798d057bc72",
      "fileid": "https://r2.ropensci.org/1087b5a873f956b9408cde49247c6b42ffdb33e9b470cbff8a99144db445cc08",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leahprice/actions/runs/43581162646"
    }
  ]
}