What is Monte Carlo Markov Chain?
Monte Carlo Markov Chain (MCMC) is a computational method used to simulate complex systems and estimate their behavior. It combines the principles of Monte Carlo methods, which rely on random sampling, and Markov chains, which are mathematical models used to describe sequences of events where the probability of each event depends only on the previous event.
In MCMC, a Markov chain is constructed in such a way that its equilibrium distribution matches the desired distribution of interest. This allows for efficient sampling from complex probability distributions that are difficult to directly sample from. MCMC has applications in various fields, including statistics, machine learning, physics, and computational biology.
We should use MCMC before using any Machine Learning algorithm for two reasons:
1- MCMC has convergence behavior.
2- It always give unique value.
- How it works?
How I deploy this method?
By using “ Computational methods to clarify the influence of cosmic string wakes at the 21cm signal” from real telescope, I deploy MCMC:
- At the preprocessing stage, first we have to implement data cleaning and white noise-cleaning.
2.At the modeling stage, we should calculate the “chi-square”:
And then try to decrease chi-square.
3.For select next point, I use Gaussian distribution with deviation = 0.005
4.At next stage, we should compare new and old chi-square and try to select the best point.
5.At final stage we should meet white noise for optimum chi-square.
Burnt-in span till meet white noise
Optimum Chi-Square value vs number of steps
Using Fourier Transform (Real part) to find convergence value of Chi-Square
Evolution of data modeling
At this project, I use 25% for “accepted-ratio” and 400000 steps.
The final fitting show that I can find global minimum point and best value for Chi-Square.