Skip to content

Deprecate sage.stats.basic_stats #29662

@kcrisman

Description

@kcrisman

Right now in 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!

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.

Note that Python 3 comes with a basic built-in stats module, but much of its functionality is incompatible with Sage's numbers in #28234.

In the deprecation messages, we instead point users to suitable numpy and scipy functions, as well as to pandas (for moving_average).

See also #29663

CC: @dcoudert @tscrim

Component: statistics

Author: Matthias Koeppe

Branch: 7e7331a

Reviewer: David Coudert

Issue created by migration from https://trac.sagemath.org/ticket/29662

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions