approxposterior
approxposterior copied to clipboard
Add MultiNest for posterior retreival
I should implement MultiNest (specifically PyMultiNest) as nested sampling typically converges more quickly than MCMC and can handle multi-modal posterior distributions, whereas MCMC cannot. It should be pretty straight-forward given how the samplers both required an LnPrior and an LnLikelihood function. I'll need to make sure to properly handle the kwargs in the mcmcUtils validation functions.
I should consider this issue in the broader context of implementing functionality to permit different sampling strategies and codes, e.g. approxposterior with pymc3, pystan, etc. Such a change will require some generalizations, but should be feasible for the 1.0 release.