Metropolis-Hastings Monte Carlo Markov chain algorithm

버전 1.0.1 (5.38 MB) 작성자: Eugenio Bertolini
Algorithm to generate a Metropolis-Hastings Monte Carlo Markov chain, ready to generate cool MCMC video
다운로드 수: 625
업데이트 날짜: 2020/7/11

라이선스 보기

Easy algorithm to generate a Metropolis-Hastings Monte Carlo Markov chain that, given a probability density function (pdf), generate a Markow chain. The function enables the user to select the pdf, using a function handler @(x), and it enables to choose a sampler between uniform and gaussian. The example code also shows how to plot the Markow process just generated and it enables to convert the process into a cool video where you can follow the behaviour of your MCMC.

Make sure to read the comments inside the functions.

인용 양식

Eugenio Bertolini (2024). Metropolis-Hastings Monte Carlo Markov chain algorithm (https://www.mathworks.com/matlabcentral/fileexchange/78017-metropolis-hastings-monte-carlo-markov-chain-algorithm), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2019b
R2019b 이상 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

MetropolisHastings_MCMC

버전 게시됨 릴리스 정보
1.0.1

Changed image preview

1.0.0