An McMC matlab code for posterior calculation
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Markov Chain Models 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!