Metropolis Hastings

Simple but powerful implementation of the MH algorithm
1K download
Aggiornato 11 apr 2013

Visualizza la licenza

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)

Cita come

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

Compatibilità della release di MATLAB
Creato con R2009a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Statistics and Machine Learning Toolbox in Help Center e MATLAB Answers
Versione Pubblicato Note della release
1.0.0.0