MCMC - Metropolis Hastings

1 次查看(过去 30 天)
Anita
Anita 2011-6-10
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 个评论
the cyclist
the cyclist 2011-6-10
Can you post the code that you have tried? That should help us diagnose any issues.
Anita
Anita 2011-6-12
thank you, it is clear now.

请先登录,再进行评论。

回答(1 个)

Anita
Anita 2011-6-12
problem solved, obviously a joint pdf was needed.

类别

Help CenterFile Exchange 中查找有关 Condensed Matter & Materials Physics 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by