Skip to content

fixing error in xval function in gumbel.jl#1859

Merged
devmotion merged 6 commits intoJuliaStats:masterfrom
ajshephard:master
May 29, 2024
Merged

fixing error in xval function in gumbel.jl#1859
devmotion merged 6 commits intoJuliaStats:masterfrom
ajshephard:master

Conversation

@ajshephard
Copy link
Contributor

There is a typo in the xval function in gumbel.jl. This closes #1858

@codecov-commenter
Copy link

codecov-commenter commented May 20, 2024

Codecov Report

Attention: Patch coverage is 90.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 85.60%. Comparing base (f852803) to head (6d2ebf5).

Files Patch % Lines
src/univariate/continuous/gumbel.jl 90.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1859      +/-   ##
==========================================
- Coverage   85.96%   85.60%   -0.37%     
==========================================
  Files         144      144              
  Lines        8647     8646       -1     
==========================================
- Hits         7433     7401      -32     
- Misses       1214     1245      +31     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@andreasnoack andreasnoack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a test as well. Is xval generally not tested across distributions?

@devmotion
Copy link
Member

As far as I can tell, for Gumbel currently xval is just not used anywhere. I assume for most distributions it is tested implicitly since it is used in a function such as quantile.

So, I guess either one could remove xval for Gumbel or one could define e.g. quantile in terms of xval.

ajshephard and others added 3 commits May 21, 2024 09:52
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Copy link
Member

@devmotion devmotion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@devmotion devmotion merged commit fe57164 into JuliaStats:master May 29, 2024
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.

Error in xval in gumbel

4 participants