Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 2.0.1 instead.
Reason given by maintainers: AI-slop

Statys

Latest release CI PyPI License

Statys provides Friedman and Iman-Davenport statistics, Nemenyi critical differences, and critical-difference diagrams for comparing treatments or algorithms across repeated experimental blocks.

Statys requires Python 3.11 or newer.

Installation

pip install statys

Example

import numpy as np

from statys import friedman, nemenyi, plot_critical_difference

scores = np.array(
    [
        [0.82, 0.79, 0.75],
        [0.80, 0.77, 0.78],
        [0.84, 0.81, 0.76],
        [0.79, 0.75, 0.74],
    ]
)

print(friedman(scores))
ranks, critical_difference = nemenyi(scores)
plot_critical_difference(
    ranks,
    critical_difference,
    labels=["Model A", "Model B", "Model C"],
    output="critical-difference.pdf",
)

Rows are experimental blocks and columns are the treatments being compared.

Development

uv sync
uv run pytest
uv run pre-commit run --all-files
uv build

Documentation is available at statys.readthedocs.io.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

statys-2.0.0.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

statys-2.0.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file statys-2.0.0.tar.gz.

File metadata

  • Download URL: statys-2.0.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for statys-2.0.0.tar.gz
Algorithm Hash digest
SHA256 479418bf5d0638b0781bc1d40eba2cfcd915ba65ec269f50f777fc9e7180abb7
MD5 8cacc1dabd84279792c7663ecc9996bd
BLAKE2b-256 3ba1815375eddd2300a70a362acc6186284ed5b2f156bedb91b506c0d44fefc0

See more details on using hashes here.

File details

Details for the file statys-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: statys-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for statys-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94ce1f7143bbb5987a09ad5ffaa29c381d2f9fa65355873622800c57d5c45969
MD5 3673179eb95dc239806e377bdc41e7df
BLAKE2b-256 7a8f550588f2c4476b34522d81646cd812d2b4408770937c2b3e46153aeafe85

See more details on using hashes here.

Release history Release notifications | RSS feed

2.0.1

2 files

This release

2.0.0 This release

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page