Effacer les filtres
Effacer les filtres

MCMC - Metropolis Hastings

1 vue (au cours des 30 derniers jours)
Anita
Anita le 10 Juin 2011
Dear Experts, May I have a question? I`m trying to code up MCMC with Metropolis - Hasting using the mhsample command. The documentation says that the arguments x and y have to be the same size as the row vector of the initial values. I am trying to draw from three variables (3 initial values) but it does not work. Do you have any ideas how shall I proceed? Thank you very much in advance for your help.
  2 commentaires
the cyclist
the cyclist le 10 Juin 2011
Can you post the code that you have tried? That should help us diagnose any issues.
Anita
Anita le 12 Juin 2011
thank you, it is clear now.

Connectez-vous pour commenter.

Réponses (1)

Anita
Anita le 12 Juin 2011
problem solved, obviously a joint pdf was needed.

Catégories

En savoir plus sur Condensed Matter & Materials Physics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by