You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Check out the new article: MCMC Sampling Methods: The Slice Sampling Algorithm.
Markov chain Monte Carlo (MCMC) methods are widely used for sampling from complex multidimensional distributions, particularly in Bayesian statistics. Classical algorithms, such as Gibbs sampling or the Metropolis algorithm, often require careful fine-tuning. In the first case, it is necessary to derive analytical expressions for all full conditional distributions, and in the second, to painstakingly select the scale and shape of the proposal distribution. This makes it difficult to use them quickly and effectively in everyday practice.
This article examines slice sampling — an adaptive variant of MCMC. Its key advantage is that it automatically adapts to the characteristics of the target distribution, eliminating the need to manually adjust parameters such as step width.

After providing a detailed description of the algorithm and its implementation in the MQL5 environment, we will test it using the examples of Bayesian linear and logistic regression, comparing the results with classical frequentist methods that provide point estimates of the parameters.Author: Evgeniy Chernish