An McMC matlab code for posterior calculation
2 views (last 30 days)
Show older comments
Hi all, I have the followings 1. The prior distributions ( say Normal) 2. The prior bounds (upper and lower bound for priors) 3. A function that can calculate the likelihood ( or sum-of-square errors)for each combination of parameters.
I want to find 1. The posterior distributions
I am looking for some codes that can do the McMC (markov chain monte carlo) to find the posteriors. there are some toolboxes on the web that they are always asking for "real data" and a function to predict the data. However, I have a complex function that can only directly calculate the sum-of-square errors . Can you help with some codes?
thank you
0 Comments
Answers (1)
See Also
Categories
Find more on Markov Chain Models 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!