-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Analysis #29
Comments
The lmfit documentation specifies that the emcee can "can be used to obtain the posterior probability distribution of parameters, given a set of experimental data," but it "does not actually perform a fit." It instead explores the parameter space around a given solution to determine the probability distribution, but without the explicit goal of attempting to refine the solution. - Minimizer Fitting emcee documentation defines residuals as data - model can use residuals as the feed to the emcee function without defining the log likeliehood function by specifying is_weighted = False, it will then automatically assign.
Success can be checked by the autocorrelation time and/or acceptance fraction for the walkers. Acceptance fraction plot as number of walkers should be between 0.2 and 0.5 installation of the corner package can allow for plotting of the results, but the Minimizer results `import corner emcee_plot = corner.corner(res.flatchain, labels=res.var_names, The minimizer result will print the median of the probability distribution and one sigma quantile estimated as half the difference between the 15.8 and 84.2 quantiles. The emcee can then be used to calculated the maximum likelihood estimation and various quantiles (code on the linked page) |
Another solution would be to call the confidence interval function.
|
In meantime could make an error analysis example |
The text was updated successfully, but these errors were encountered: