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

Interpretting Warning: Close-to-zero parameters found warning #13

Open
TorkelE opened this issue Apr 16, 2024 · 4 comments
Open

Interpretting Warning: Close-to-zero parameters found warning #13

TorkelE opened this issue Apr 16, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@TorkelE
Copy link

TorkelE commented Apr 16, 2024

When I try to computer intervals, I sometimes get these warnings:

 ^t^l Warning: Close-to-zero parameters found when using :LN_NELDERMEAD.
 ^t^t @ LikelihoodProfiler ~/.julia/packages/LikelihoodProfiler/Qi97K/src/method_lin_extrapol.jl:34
 ^t^l Warning: Close-to-zero parameters found when using :LN_NELDERMEAD.
 ^t^t @ LikelihoodProfiler ~/.julia/packages/LikelihoodProfiler/Qi97K/src/method_lin_extrapol.jl:34
 ^t^l Warning: Close-to-zero parameters found when using :LN_NELDERMEAD.
 ^t^t @ LikelihoodProfiler ~/.julia/packages/LikelihoodProfiler/Qi97K/src/method_quadr_extrapol.jl:35
 ^t^l Warning: Close-to-zero parameters found when using :LN_NELDERMEAD.
 ^t^t @ LikelihoodProfiler ~/.julia/packages/LikelihoodProfiler/Qi97K/src/method_quadr_extrapol.jl:35
 ^t^l Warning: Close-to-zero parameters found when using :LN_NELDERMEAD.
 ^t^t @ LikelihoodProfiler ~/.julia/packages/LikelihoodProfiler/Qi97K/src/cico_one_pass.jl:32
 ^t^l Warning: Close-to-zero parameters found when using :LN_NELDERMEAD.
 ^t^t @ LikelihoodProfiler ~/.julia/packages/LikelihoodProfiler/Qi97K/src/cico_one_pass.jl:32
 ^t^l Warning: Close-to-zero parameters found when using :LN_NELDERMEAD.

Here I compute the same interval using all methods. Is it that the warning happens for each method, and then in both directions?

Exactly what does this warning mean, and how worried should I be about it?

@ivborissov
Copy link
Collaborator

We included this warning because we have seen cases, when :LN_NELDERMEAD local_alg fails to find a solution when starting from ~zero initial values. I suggest you confirm the obtained results with another local_alg

@TorkelE
Copy link
Author

TorkelE commented Apr 17, 2024

Makes sense. Is this recorded somewhere in the output solution (i.e. is it possible to check that this have happened)?

@ivborissov
Copy link
Collaborator

No, unfortunately we don't record it, so it is just a warning. It doesn't mean "wrong result", it's more like "the algorithm may be sensitive to values close to zero". But you are right, if you are examining many parameters (e.g. in a loop) it is not that convenient to deal with warnings. So maybe it is worth to add special retcodes, will look at it

@TorkelE
Copy link
Author

TorkelE commented Apr 17, 2024

Sounds good. Yeah, some kind of record would be useful (although admittedly my application is also a bit niche). Feel free to closet his if you want 👍

@ivborissov ivborissov added the enhancement New feature or request label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants