Skip to content

gabrielegilardi/BayesianInference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Multi-Parameter Bayesian Inference Using Markov Chain Monte Carlo (MCMC) Sampling and the Metropolis-Hastings Algorithm

There are two (similar) versions, one in Python and one in C++:

  • Readme for the Python version.

  • Readme for the C++ version.

References

Notes

  • The Python version has one example more than the C++ version (Coin_upd).

  • The differences in the results between the two versions are mostly due to the randomly generated initial data (array data). To compare solutions, simply generate and save the data using one of the versions and then load them in the other version.

  • The remaining (very) small differences are due to the randomness implicit in the Metropolis-Hastings algorithm.

About

Implementation of Markov chain Monte Carlo sampling and the Metropolis-Hastings algorithm for multi-parameter Bayesian inference.

Topics

Resources

License

Stars

Watchers

Forks