Skip to main content

Means-Testing

A simple library that automatically identifies the appropriate statistical test for comparing the means between two or more independent samples, and checking for statistical differences.

Installation

pip install means-testing

Basic usage

from means_testing import MeansTester

# Initialize a MeansTester, that takes in samples and tests for statistical differences
StatToolbox = MeansTester(*samples)

# Check if means are significantly different
StatToolbox.test_means()

After carrying out the statistical test, one can determine if the samples passed are statistically different or not via the property SignificantDifference as shown below.

StatToolbox.SignificantDifference
> True (if samples are statistically different) or
> False (if samples are NOT statistically different)

For more examples check out the examples.

Citation

The functions and statistical tests here are impelemented based on the book by Riffenburgh, Statistics in Medicine:

Riffenburgh R H. Statistics in Medicine. Elsevier/Academic Press, Amsterdam, Netherlands; 2012

Metadata

Release files for means-testing 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for means-testing 0.0.7
File Size Uploaded Provenance Actions
means_testing-0.0.7.tar.gz 168.5 kB Without provenance Details for means_testing-0.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for means-testing 0.0.7
File Interpreter ABI Platform Actions
means_testing-0.0.7-py3-none-any.whl Python 3 none any Details for means_testing-0.0.7-py3-none-any.whl

Total release size: 174.6 kB

Release files / means_testing-0.0.7.tar.gz

Download URL means_testing-0.0.7.tar.gz
Size 168.5 kB
Tags Source
SHA-256 checksum
How to use checksums
46f743de7a177ac3e8a59e73afbc73631f3404d9305c800291d1309365d86efd
BLAKE2b-256 checksum
How to use checksums
cdd3b0e9bbde71b713a99b02b9a7bfa66bc42288c98d2d34cd85032c74a08a06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / means_testing-0.0.7-py3-none-any.whl

Download URL means_testing-0.0.7-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
541c7695dec6532c4835d5173025c5fb040e1e9d0c0a473074c5a6d426dad2f4
BLAKE2b-256 checksum
How to use checksums
6ba6d01ca46d8a10b2c4447c0dcc578ff929e5ab7c0ef0023edd30c6b4f3c62f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for means-testing 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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