Filter löschen
Filter löschen

Script for Monte carlo method

8 Ansichten (letzte 30 Tage)
Ilias Minas
Ilias Minas am 9 Dez. 2021
Kommentiert: Image Analyst am 10 Dez. 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 Kommentare
Ilias Minas
Ilias Minas am 10 Dez. 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 am 10 Dez. 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?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Image Analyst
Image Analyst am 10 Dez. 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