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
Explain how to get n-sigma errors/covariance matrix in basic tutorial #173
Comments
@jetteodder - Could you please post a minimal working example of what you want to compute using pyminuit? I'll then try to reproduce it with iminuit. At the moment it's not clear to me if what you ask is possible and I don't have time to play around myself. |
Hi Christoph, Thanks for looking into this. Best, |
@jetteodder - Github doesn't allow attachments. Can you put the example e.g. into a gist and link to it from the Github issue? |
Just pasted it below, seems a whole lot easier… import minuit as minuit def f(x,y,z): m = minuit.Minuit(f) From: Christoph Deil <notifications@github.commailto:notifications@github.com> @jetteodderhttps://github.com/jetteodder - Github doesn't allow attachments. Can you put the example e.g. into a gisthttps://gist.github.com/ and link to it from the Github issue? — |
@jetteodder - You can get 1, 2, 3 sigma errors like this:
No need to run MIGRAD or HESSE multiple times. This was discussed at length by @HDembinski and me in #215 @HDembinski - the only place sigma is mentioned in the tutorial is here for plotting: I'd suggest to add a short mention of how to get errors and merrrors with sigma !=1 already before the plotting section, in http://nbviewer.jupyter.org/github/iminuit/iminuit/blob/master/tutorial/tutorial.ipynb#Parameter-uncertainties,-covariances,-and-confidence-intervals @HDembinski - Can you make a notebook edit or should I? |
I am really busy for the next two months, so if you could do it I would be very grateful. |
After running migrad I get out the sigma=1 errors if I initially set errordef=1. However, I'd also like to access the sigma=2 errors without running migrad again (extremely slow!). In pyminuit I could simply run hesse setting up=4, but it seems the parameter up is not defined for iminuit. I cannot find the workaround anywhere in the documentation and would therefore like to ask here for a solution.
Thanks a lot,
Jette
The text was updated successfully, but these errors were encountered: