Changes between Version 3 and Version 25 of Ticket #29662
- Timestamp:
- Aug 30, 2021, 8:38:20 PM (17 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29662
-
Property
Status
changed from
new
toneeds_work
-
Property
Reviewers
changed from
to
David Coudert
-
Property
Authors
changed from
to
Matthias Koeppe
- Property Cc dcoudert tscrim added
-
Property
Summary
changed from
Clarify stats module role
toDeprecate sage.stats.basic_stats
-
Property
Priority
changed from
minor
tomajor
-
Property
Branch
changed from
to
u/mkoeppe/clarify_stats_module_role
-
Property
Milestone
changed from
sage-feature
tosage-9.5
-
Property
Commit
changed from
to
5966df91465a86652ae4c217d2ab0cfcd4f4ccd6
-
Property
Status
changed from
-
Ticket #29662 – Description
v3 v25 1 1 Right now in [http://doc.sagemath.org/html/en/reference/stats/index.html sage stats] there are a few very basic things, and then lots of very technical stuff sampling from e.g. polynomials or for hidden markov modeling! 2 2 3 This ticket is to split the more technical stuff (which presumably may still be used for researchers, but not for the sort of things basic R or pandas data frames would be) into a separate module where it can be taken care of.3 In this ticket, we deprecate `sage.stats.basic_stats`, which is underdeveloped. Users are usually better off to learn to use other facilities available in Python that provide better coverage and consistency. For example, `mean` happens to work with vectors (which is used in some doctests elsewhere in sage), but `variance` does not. 4 4 5 Note that Python 3 comes with built-in stats module. 6 https://docs.python.org/3/library/statistics.html 5 Note that Python 3 comes with a basic [[https://docs.python.org/3/library/statistics.html|built-in stats module]], but much of its functionality is incompatible with Sage's numbers in #28234. 6 7 In the deprecation messages, we instead point users to suitable `numpy` and `scipy` functions, as well as to `pandas` (for `moving_average`). 8 7 9 8 10 See also #29663