Skip to content
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

NaN as parameter errors #234

Open
cverstege opened this issue Aug 16, 2023 · 2 comments
Open

NaN as parameter errors #234

cverstege opened this issue Aug 16, 2023 · 2 comments
Labels

Comments

@cverstege
Copy link
Member

This example https://gist.github.com/cverstege/1e085a6c6349399a5fa957628675794c yields NaN as parameter errors.
Fitting with iminuit seems to work.
This should be investigated either way.

@cverstege cverstege added the bug label Aug 16, 2023
@cverstege
Copy link
Member Author

The upper bound for b is 0, while iminuit fits it to: b = -0.017 +/- 0.052
When setting the starting value for b to -0.1, the scipy fit converges and is able to calculate the errors.

@cverstege
Copy link
Member Author

The underlying issue might be, that scipy is unable to calculate uncertainties, once the 1sigma interval is outside the parameter limits. iminuit does it anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant