• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Ouranosinc / xclim / 13377332321 / 7
92%
main: 92%

Build:
DEFAULT BRANCH: main
Ran 17 Feb 2025 07:36PM UTC
Files 72
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Feb 2025 07:25PM UTC coverage: 82.454% (+0.01%) from 82.442%
13377332321.7

push

github

web-flow
Add xclim.indices.stats.fit method: MSE (maximum product of spacings) (#2077)

<!--Please ensure the PR fulfills the following requirements! -->
<!-- If this is your first PR, make sure to add your details to the
AUTHORS.rst! -->
### Pull Request Checklist:
- [x] This PR addresses an already opened issue (for bug fixes /
features)
    - This PR fixes #2078 
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] (If applicable) Documentation has been added / updated (for bug
fixes / features)
- [x] CHANGELOG.rst has been updated (with summary of main changes)
- [x] Link to issue (:issue:`number`) and pull request (:pull:`number`)
has been added

### What kind of change does this PR introduce?

* Adds a fit method: MSE, using
[scipy.stats.fit](https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.fit.html#ra4db2bb0bf1d-1).
Note that this is not available in the `dist` object.

### Does this PR introduce a breaking change?
- No.

### Other information:
- [Maximum spacing
estimation](https://en.wikipedia.org/wiki/Maximum_spacing_estimation#Sensitivity)
- A comparative analysis of L-moments, maximum likelihood, and maximum
product of spacing methods for the four-parameter kappa distribution in
extreme value analysis:
https://www.nature.com/articles/s41598-024-84056-1

8811 of 10686 relevant lines covered (82.45%)

0.82 hits per line

Source Files on job run-3.10-ubuntu-latest-preliminary - 13377332321.7
  • Tree
  • List 72
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13377332321
  • 2ac91505 on github
  • Prev Job for on main (#13376622539.4)
  • Next Job for on main (#13397187601.7)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc