Source: wikibot/metropolis-hastings-algorithm

= Metropolis–Hastings algorithm
{wiki=Metropolis–Hastings_algorithm}

The Metropolis–Hastings algorithm is a Markov Chain Monte Carlo (MCMC) method used for sampling from probability distributions that are difficult to sample from directly. It is particularly useful in situations where the distribution is defined up to a normalization constant, making it challenging to derive samples analytically.