This package contains 3 MCMC functions:
RWM.m - Standard Metropolis Hastings with optimal acceptance rate tuning. [N.Metropolis,A.W.Rosenbluth,M.N.Rosenbluth,A.H.Teller,and E. Teller, “Equations of state calculations by fast computing machine,” Journal of Chemical Physics, vol. 21, no. 6, pp. 1087–1092, 1953]
AM.m - Adaptive Metropolis with optimal acceptance rate tuning. [H. Haario, E. Saksman, and J. Tamminen, “An adaptive Metropolis algorithm,” Bernoulli, vol. 7, pp. 223–242, 2001]
FSS.m - Factor Slice Sampling with optimal initial width tuning. [M. M. Tibbits, C. Groendyke, M. Haran, and J. C. Liechty, “Automated Factor Slice Sampling,” Journal of Computational and Graphical Statistics, no. April 2013, Apr. 2013]
Usage of these functions is illustrated in "demo_mcmc.m" with a spherical Gaussian target distribution. These procedures, however, can work well for arbitrary target density given that the correlation between all dimensions is linear.
引用
Khoa Tran (2024). Adaptive Metropolis Hastings and Factor Slice Sampling (https://www.mathworks.com/matlabcentral/fileexchange/45976-adaptive-metropolis-hastings-and-factor-slice-sampling), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions > Pseudorandom and Quasirandom Number Generation >
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!