Metropolis Hastings

Simple but powerful implementation of the MH algorithm

Sie verfolgen jetzt diese Einreichung

This is a very simple yet powerful implementation of the Metropolis Hastings algorithm. The function works a bit like Matlab's 'fmincon', but produces samples from the posterior distribution over parameters.
The algorithm assumes the following:
- Gaussian additive noise (variance is integrated out)
- Uniform priors over all parameters (this can easily be changed in the code)

Zitieren als

Saad Jbabdi (2026). Metropolis Hastings (https://de.mathworks.com/matlabcentral/fileexchange/41231-metropolis-hastings), MATLAB Central File Exchange. Abgerufen .

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und MATLAB Answers

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.0.0.0