# The Hastings algorithm at fifty

Journal Article (Journal Article)

In a 1970 Biometrika paper, W. K. Hastings developed a broad class of Markov chain algorithms for sampling from probability distributions that are difficult to sample from directly. The algorithm draws a candidate value from a proposal distribution and accepts the candidate with a probability that can be computed using only the unnormalized density of the target distribution, allowing one to sample from distributions known only up to a constant of proportionality. The stationary distribution of the corresponding Markov chain is the target distribution one is attempting to sample from. The Hastings algorithm generalizes the Metropolis algorithm to allow a much broader class of proposal distributions instead of just symmetric cases.An important class of applications for the Hastings algorithm corresponds to sampling from Bayesian posterior distributions, which have densities given by a prior density multiplied by a likelihood function and divided by a normalizing constant equal to the marginal likelihood. The marginal likelihood is typically intractable, presenting a fundamental barrier to implementation in Bayesian statistics. This barrier can be overcome by Markov chain Monte Carlo sampling algorithms. Amazingly, even after 50 years, the majority of algorithms used in practice today involve the Hastings algorithm. This article provides a brief celebration of the continuing impact of this ingenious algorithm on the 50th anniversary of its publication.

### Full Text

### Duke Authors

### Cited Authors

- Dunson, DB; Johndrow, JE

### Published Date

- March 1, 2020

### Published In

### Volume / Issue

- 107 / 1

### Start / End Page

- 1 - 23

### Electronic International Standard Serial Number (EISSN)

- 1464-3510

### International Standard Serial Number (ISSN)

- 0006-3444

### Digital Object Identifier (DOI)

- 10.1093/biomet/asz066

### Citation Source

- Scopus