Skip to content

astromedia/mcmc-analysis

Repository files navigation

MCMC analysis

Code to perform MCMC sampling of the posterior probability distribution of the model parameter space, given a generic model function. It is prepared to work with large datasets, complex modeling, or very long runs.

  • The code allows to start, stop, or load existing chains.

  • Statistical chain analysis and plotting functions are included in the notebook.

  • Some mock data (with outliers) is provided to test the MCMC analysis code, as well as a mock data generator.


To do list:

  • Include in the likelihood calculation any possible covariance in the data.
  • Include some code to show the mean loglikelihood evolution with each step.
  • Include option to select between different loglikelihood functions.
  • Increase the number of prior functions.
  • Generalize the plotting code to work with more than one input value (x-axis).

Based on "Data analysis recipes: Fitting a model to data" by Hogg et al.: https://arxiv.org/abs/1008.4686

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published