{"action":"created","issue":{"url":"https://api.github.com/repos/lmfit/lmfit-py/issues/249","labels_url":"https://api.github.com/repos/lmfit/lmfit-py/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/lmfit/lmfit-py/issues/249/comments","events_url":"https://api.github.com/repos/lmfit/lmfit-py/issues/249/events","html_url":"https://github.com/lmfit/lmfit-py/pull/249","id":104178858,"number":249,"title":"ENH: adding an emcee sampler to Minimizer","user":{"login":"andyfaff","id":702934,"avatar_url":"https://avatars.githubusercontent.com/u/702934?v=3","gravatar_id":"","url":"https://api.github.com/users/andyfaff","html_url":"https://github.com/andyfaff","followers_url":"https://api.github.com/users/andyfaff/followers","following_url":"https://api.github.com/users/andyfaff/following{/other_user}","gists_url":"https://api.github.com/users/andyfaff/gists{/gist_id}","starred_url":"https://api.github.com/users/andyfaff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyfaff/subscriptions","organizations_url":"https://api.github.com/users/andyfaff/orgs","repos_url":"https://api.github.com/users/andyfaff/repos","events_url":"https://api.github.com/users/andyfaff/events{/privacy}","received_events_url":"https://api.github.com/users/andyfaff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2015-09-01T03:46:25Z","updated_at":"2015-09-07T01:31:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lmfit/lmfit-py/pulls/249","html_url":"https://github.com/lmfit/lmfit-py/pull/249","diff_url":"https://github.com/lmfit/lmfit-py/pull/249.diff","patch_url":"https://github.com/lmfit/lmfit-py/pull/249.patch"},"body":"This PR proposes to add the `emcee` Markov Chain Monte Carlo ensemble sampler to lmfit.  This is a Bayesian statistical technique for sampling the posterior distribution for the parameters. \r\nAmongst other things it is a robust way of examining parameter correlations, etc. Use of this method would require the user to install `emcee` and `pandas`.  However, if they are not installed then an Error is raised (no need to add extra dependencies for lmfit).\r\nThis method does not require upper and lower bounds for each parameter, but it would probably converge faster if it did."},"comment":{"url":"https://api.github.com/repos/lmfit/lmfit-py/issues/comments/138152695","html_url":"https://github.com/lmfit/lmfit-py/pull/249#issuecomment-138152695","issue_url":"https://api.github.com/repos/lmfit/lmfit-py/issues/249","id":138152695,"user":{"login":"andyfaff","id":702934,"avatar_url":"https://avatars.githubusercontent.com/u/702934?v=3","gravatar_id":"","url":"https://api.github.com/users/andyfaff","html_url":"https://github.com/andyfaff","followers_url":"https://api.github.com/users/andyfaff/followers","following_url":"https://api.github.com/users/andyfaff/following{/other_user}","gists_url":"https://api.github.com/users/andyfaff/gists{/gist_id}","starred_url":"https://api.github.com/users/andyfaff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyfaff/subscriptions","organizations_url":"https://api.github.com/users/andyfaff/orgs","repos_url":"https://api.github.com/users/andyfaff/repos","events_url":"https://api.github.com/users/andyfaff/events{/privacy}","received_events_url":"https://api.github.com/users/andyfaff/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T01:31:10Z","updated_at":"2015-09-07T01:31:10Z","body":"@Tillsten @newville please see https://gist.github.com/andyfaff/ea9e0ec69e378ab75952 for a non-linear regression example with `emcee`. I've beefed up the docstring, and will start writing the documentation based on this example. The example was based on the example in doc/confidence.rst."}}