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

回答(1 个)

Renmin University of China
Hello! You can find what you want on this website: http://helios.fmi.fi/~lainema/mcmc/.

类别

Help CenterFile Exchange 中查找有关 Markov Chain Models 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by