Metropolis method
The Metropolis method is a rejection sampling Markov chain Monte Carlo technique for drawing samples from a probability distribution. It draws its name from Nicholas Metropolis, who first published the algorithm in 1953, proposing it as a technique for evaluating equations of state using the Los Alamos MANIAC I. The algorithm has since been generalized to the Metropolis-Hastings algorithm.
Originally the technique was described for producing a sequence of samples from the Boltzmann distribution, where the probability of each state was given by where is taken to be a constant and is a function, called the "energy," which has a minimum to be approximated.
The algorithm
- start with an initially random state
- consider a next sample at
- compare the energy of the new state to the old state by evaluating
- If , (the new sample has a higher probability) always accept as the new sample.
- If , (the new sample is in fact less probable) accept with a probability of .
The stationary distribution of this Markov chain has probabilities proportional to .
References
- N. Metropolis, A.W. Rosenbluth, M.N. Rosenbluth, A.H. Teller, and E. Teller (1953). ""Equations of State Calculations by Fast Computing Machines"". Journal of Chemical Physics. 21(6): 1087-1092.
{{cite journal}}
: CS1 maint: multiple names: authors list (link) - W.K. Hastings (1970). Biometrika. 57(1): 97-109.
{{cite journal}}
: Missing or empty|title=
(help); Unknown parameter|Title=
ignored (|title=
suggested) (help)