MCMC - Metropolis Hastings
5 views (last 30 days)
Show older comments
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 Comments
the cyclist
on 10 Jun 2011
Can you post the code that you have tried? That should help us diagnose any issues.
Answers (1)
See Also
Categories
Find more on Condensed Matter & Materials Physics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!