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

Decompose estimate_errors() and redefine alpha #65

Merged
merged 1 commit into from Apr 12, 2018

Conversation

iewaij
Copy link
Contributor

@iewaij iewaij commented Mar 24, 2018

Fix issue #64.

estimate_errors() is decomposed into standard_errors(), margin_errors() and estimate_errors(). standard_errors() and margin_errors() will return standard errors and margin of errors, while estimate_errors() will print out standard errors, margin of errors and confidence intervals. What the present estimate_errors() does is equal to margin_errors().

The alpha parameter should be defined as significance level to reduce ambiguity and therefore use quantile(dist, 1 - alpha/2) to find (two-sided) critical values. Present version of estimate_errors(fit, alpha=0.95) is actually finding 90% confidence interval if I'm understanding the code correctly.

@iewaij iewaij changed the title decompose estimate_errors() and redefine alpha Decompose estimate_errors() and redefine alpha Mar 24, 2018
@pkofod
Copy link
Member

pkofod commented Apr 12, 2018

Sorry for letting this hang, looks great. We need to exclude v0.5 tests and allow nightly failures.

@pkofod pkofod merged commit 8aade1c into JuliaNLSolvers:master Apr 12, 2018
@bjarthur
Copy link
Contributor

this is a breaking change. how about a depwarn?

@pkofod
Copy link
Member

pkofod commented Apr 16, 2018

how about a depwarn?

Yes! We havn't tagged a new version yet, but this should definitely be handled before we do.

@iewaij
Copy link
Contributor Author

iewaij commented Apr 18, 2018

Sounds great, I'm adding a depwarn for it.

@iewaij iewaij deleted the error-functions branch April 23, 2018 07:18
@iewaij iewaij restored the error-functions branch April 23, 2018 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants