Code for "A First Course in Bayesian Statistical Methods"

Matlab Code for Peter Hoff "A First Course in Bayesian Statistical Methods"

https://github.com/newportquant/Matlab-Code-for-Peter-Hoff-A-First-Course-in-Bayesian-Statistical...

You are now following this Submission

Matlab Code for Peter Hoff "A First Course in Bayesian Statistical Methods"

Matlab codes are provided for most examples starting from Chapter 3. The codes were written and tested in Matlab 2018b, and should be compatible with later Matlab versions. Statistics and Machine Learning Toolbox is required.

Some examples require the following toolbox or files from Matlab Central File Exchange

* autocorr.m requires Matlab's Econometrics Toolbox
* multiESS.m https://github.com/lacerbi/multiESS
* OrdinalRankings.m https://www.mathworks.com/matlabcentral/fileexchange/19496-rankings
* gendist.m https://www.mathworks.com/matlabcentral/fileexchange/34101-random-numbers-from-a-discrete-distribution

Reference: Peter D. Hoff, A First Course in Bayesian Statistical Methods, Springer (2009)

Use this software at your own risk.

Cite As

Newport Quantitative (2026). Code for "A First Course in Bayesian Statistical Methods" (https://github.com/newportquant/Matlab-Code-for-Peter-Hoff-A-First-Course-in-Bayesian-Statistical-Methods-), GitHub. Retrieved .

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.0.1

add icon

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.