About Markov Chain Monte Carlo Method (MCMC Method) ・ What is the MCMC method? -MCMC method types and Python modules I tried to summarize.
By using Markov chains, the Monte Carlo method is strengthened.
I will write in detail later, The Monte Carlo method is for sampling truly randomly. ・ Calculation cost is high ・ Accuracy does not improve There is a problem. So the Markov chain Monte Carlo method This problem was improved by using Markov chains.
"Introduction to Monte Carlo Method with Python" http://aidiary.hatenablog.com/entry/20140620/1403272044 The Monte Carlo method is carefully explained from the beginning, Moreover, it comes with a Python implementation.
You can learn the theory with very detailed explanations while trying this amount. I have the original book, but it's better to read this page I think it should be much less laborious and easy to understand.
There are quite a few types of Monte Carlo methods. ・ Inverse conversion method ・ Box-Muller method ・ Acceptance rejection law ・ Priority sampling
Roughly, to make a stochastic transition in time series It performs matrix operations. (Not accurate ...) You can also think of it as an automaton that makes a stochastic transition.
"Introduction to Markov chain : simplified!" http://www.analyticsvidhya.com/…/07/markov-chain-simplified/ English, but good article.
The Monte Carlo method is for sampling truly randomly. ・ Calculation cost is high ・ Accuracy does not improve There is a problem.
Markov chain Monte Carlo method By sampling with a Markov chain as a steady distribution, This is a method that improves the above problems.
step1. Determine the initial point step2. Determine the distribution for the next sampling by Markov chain
https://tatsyblog.wordpress.com/
From the side of reading the source code I feel like MCMC can understand.
The Metropolis-Hastings method is based on the most natural idea It is an orthodox method designed. In a certain probability when going to the lower probability It is a stopper to prevent the steady distribution from transitioning.
Other, ・ Gibbs sampling method ・ Hybrid Monte Carlo method ・ Slice sampling method Is introduced, but see ↑ article.
↑ The link uses the mcmc module, Besides that, it seems that the pymc3 module is also often used. http://qiita.com/kenmatsu4/items/a0c703762a2429e21793
The Institute of Statistical Mathematics by Professor Yukito Iba MCMC Lecture (https://www.youtube.com/watch?v=-H28H1unn0M)
From the stationary distribution to the nature of Markov chains and the physical aspects The explanation is simple and easy to understand. If you look at this, you can easily understand the foundation of MCMC.
MCMC method is a wonderful commentary on a recently talked-about book [Special feature] Bayesian inference and MCMC free software support page https://sites.google.com/site/iwanamidatascience/vol1/support_tokushu It may be enough to see.
But here,
Recommended Posts