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

Replace Biodiverse::Statistics with Statistics::Descriptive::PDL #798

Closed
4 tasks done
shawnlaffan opened this issue Sep 5, 2021 · 1 comment
Closed
4 tasks done
Assignees
Milestone

Comments

@shawnlaffan
Copy link
Owner

shawnlaffan commented Sep 5, 2021

Statistics::Descriptive::PDL has just been released to CPAN.

It is faster than Statistics::Descriptive, upon which Biodiverse::Statistics is based, and also supports weighted variants.

The weighting will help with many of the element properties calculations as we currently have to duplicate the values to achieve weighting.

The main issue is that the median and percentiles are calculated differently, so the tests and metadata will need to be updated.

@shawnlaffan shawnlaffan added this to the Release_4.0 milestone Sep 5, 2021
@shawnlaffan shawnlaffan self-assigned this Sep 5, 2021
shawnlaffan added a commit that referenced this issue Sep 14, 2021
shawnlaffan added a commit that referenced this issue Sep 14, 2021
Iterating over a hash using each is best avoided

Updates #798
shawnlaffan added a commit that referenced this issue Sep 14, 2021
weighted and unweighted

Updates #798
shawnlaffan added a commit that referenced this issue Sep 14, 2021
Stats::Desc::PDL uses interpolation

Updates #798
shawnlaffan added a commit that referenced this issue Sep 14, 2021
Allows for re-use with calc_abc3 and similar

Updates #798
shawnlaffan added a commit that referenced this issue Sep 14, 2021
Interpolated values in Stats::Desc::PDL differ from Biodiverse::Stats

Updates #798
shawnlaffan added a commit that referenced this issue Sep 14, 2021
shawnlaffan added a commit that referenced this issue Sep 14, 2021
These were never used in the packages.

Updates #798
shawnlaffan added a commit that referenced this issue Sep 21, 2021
shawnlaffan added a commit that referenced this issue Sep 21, 2021
@shawnlaffan
Copy link
Owner Author

Tasks are done, closing

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

No branches or pull requests

1 participant