542
Views
23
CrossRef citations to date
0
Altmetric
Short Technical Notes

Statistically Efficient Thinning of a Markov Chain Sampler

Pages 738-744 | Received 01 Sep 2016, Published online: 01 Aug 2017
 

ABSTRACT

It is common to subsample Markov chain output to reduce the storage burden. Geyer shows that discarding k − 1 out of every k observations will not improve statistical efficiency, as quantified through variance in a given computational budget. That observation is often taken to mean that thinning Markov chain Monte Carlo (MCMC) output cannot improve statistical efficiency. Here, we suppose that it costs one unit of time to advance a Markov chain and then θ > 0 units of time to compute a sampled quantity of interest. For a thinned process, that cost θ is incurred less often, so it can be advanced through more stages. Here, we provide examples to show that thinning will improve statistical efficiency if θ is large and the sample autocorrelations decay slowly enough. If the lag ℓ ⩾ 1 autocorrelations of a scalar measurement satisfy ρ > ρℓ + 1 > 0, then there is always a θ < ∞ at which thinning becomes more efficient for averages of that scalar. Many sample autocorrelation functions resemble first order AR(1) processes with ρ = ρ|ℓ| for some − 1 < ρ < 1. For an AR(1) process, it is possible to compute the most efficient subsampling frequency k. The optimal k grows rapidly as ρ increases toward 1. The resulting efficiency gain depends primarily on θ, not ρ. Taking k = 1 (no thinning) is optimal when ρ ⩽ 0. For ρ > 0, it is optimal if and only if θ ⩽ (1 − ρ)2/(2ρ). This efficiency gain never exceeds 1 + θ. This article also gives efficiency bounds for autocorrelations bounded between those of two AR(1) processes. Supplementary materials for this article are available online.

Supplementary Materials

R code to compute the optimal amount of thinning for Markov chain sampling under an AR(1) model for the covariance is available online.

Acknowledgments

The author thanks Hera He, Christian Robert, Hans Andersen, Michael Giles, and some anonymous reviewers for helpful comments.

Funding

This work was supported by the NSF under grants DMS-1407397 and DMS-1521145.

Log in via your institution

Log in to Taylor & Francis Online

PDF download + Online access

  • 48 hours access to article PDF & online version
  • Article PDF can be downloaded
  • Article PDF can be printed
USD 61.00 Add to cart

Issue Purchase

  • 30 days online access to complete issue
  • Article PDFs can be downloaded
  • Article PDFs can be printed
USD 180.00 Add to cart

* Local tax will be added as applicable

Related Research

People also read lists articles that other readers of this article have read.

Recommended articles lists articles that we recommend and is powered by our AI driven recommendation engine.

Cited by lists all citing articles based on Crossref citations.
Articles with the Crossref icon will open in a new tab.