Effacer les filtres
Effacer les filtres

Script for Monte carlo method

8 vues (au cours des 30 derniers jours)
Ilias Minas
Ilias Minas le 9 Déc 2021
Commenté : Image Analyst le 10 Déc 2021
Hi all,
I have a data set and I would like to impement Markov Chain Monte Carlo method.
Is there any script that I could use for this?
Thank you very much
  4 commentaires
Ilias Minas
Ilias Minas le 10 Déc 2021
I have to implement MCMC method on the following dataset
[2 4 3 1 6 2 2.5 7 10]
The parameters given are the chain length (2000). Standard deviation for the proposal distribution is 0.2 and for the prior distribution mean value is 1.5 and standard deviation is 1.5.
I am new to Matlab and I dont know from where to start
Image Analyst
Image Analyst le 10 Déc 2021
@Ilias Minas You can start here:
and, like I posted before, I have some sample Monte Carlo demos for you below (scroll down). Did you try those? If not, why not?

Connectez-vous pour commenter.

Réponses (1)

Image Analyst
Image Analyst le 10 Déc 2021
I don't have Markov examples, but I'm attaching some Monte Carlo simulations, if that helps.

Community Treasure Hunt

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

Start Hunting!

Translated by