Zero-Variance Control Variates

Stein control variates can be used to improve Monte Carlo estimates of expectations when the derivatives of the log target are available. This package implements a variety of such methods, including zero-variance control variates (ZV-CV, Mira et al. (2013) ), regularised ZV-CV (South et al., 2018 ), control functionals (CF, Oates et al. (2017) ) and semi-exact control functionals (SECF, South et al., 2020 ). ZV-CV is a parametric approach that is exact for (low order) polynomial integrands with Gaussian targets. CF is a non-parametric alternative that offers better than the standard Monte Carlo convergence rates. SECF has both a parametric and a non-parametric component and it offers the advantages of both for an additional computational cost. Functions for applying ZV-CV and CF to two estimators for the normalising constant of the posterior distribution in Bayesian statistics are also supplied in this package. The basic requirements for using the package are a set of samples, derivatives and function evaluations.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


2.1.0 by Leah F. South, 18 days ago

Report a bug at

Browse source code at

Authors: Leah F. South [aut, cre]

Documentation:   PDF Manual  

GPL (>= 2) license

Imports Rcpp, glmnet, abind, mvtnorm, stats, Rlinsolve, magrittr, dplyr

Suggests partitions, ggplot2, ggthemes

Linking to Rcpp, RcppArmadillo, BH

See at CRAN