Metropolis-Hastings
MH is one way of doing MCMC.
Output: - inferred posterior distribution
Given:
- -
- -
Algo:
- start with initial guess
- Repeat the below
maxSteps
times- sample from
- if set
- if is between 0 and 1 set with probability
See also: markov-chain-monte-carlo