No License
MCMC -- Markov Chain Monte Carlo Tools Copyright (c) 1998, Harvard University. Full copyright in the file Copyright. Some routines require version 5 of Matlab, some will work with version 4
There are three parts to this library of routines.
1. *[rnd,pdf,lpr].m - distribution function tools to complement MATLAB's
2. mcmc*.m - routines to calculate and display summaries of MCMC output
3. other - other useful routines
1. Distribution Function Tools
These function help in random number generation and various calculations involving density functions.
randrand - randomize both random number chains off the clock
mvnormrnd - random multivariate normal - different from MATLAB's mvnrnd
wishrnd - random Wishart value
wishirnd - random Wishart value - integer df only
invwishrnd - random inverse Wishart value
invwishirnd - random inverse Wishart value - integer df only
invwishpdf - inverse Wishart density
metrop - a general Metropolis-Hastings step
betalpr - log probability ratio for beta distribution
gamlpr - log probability ratio for gamma distribution
invwishlpr - log probability ratio for inverse wishart distribution
mvnormlpr - log probability ratio for multivariate normal distribution
2. MCMC Summaries
mcmclt - lower triangle - for symmetric matricies to use with mcmctrace
mcmcsumm - calculate summary statistics(includes autocorrelations and Gelman-Rubin statistics)
mcmctrace - matrix of trace plots
mcmcacf - to plot autocorrelations
mcmcgr - Gelman-Rubin R statistic for convergence
mcmcdemo - short demonstration program
3. Other
ltvec - convert a lower-triangular matrix into a vector
veclt - convert a vector into a lower-triangular matrix
ltindex - convert row and column index into lt-index
Please see the contents.m file for a full description.
Cite As
David Shera (2024). mcmc (https://www.mathworks.com/matlabcentral/fileexchange/198-mcmc), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation > Image Thresholding >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
mcmc/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |