Skip to main content

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.

Project description

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

Project details


Download files

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

Source Distribution

means_testing-0.0.7.tar.gz (168.5 kB view details)

Uploaded Source

Built Distribution

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

means_testing-0.0.7-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file means_testing-0.0.7.tar.gz.

File metadata

  • Download URL: means_testing-0.0.7.tar.gz
  • Upload date:
  • Size: 168.5 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for means_testing-0.0.7.tar.gz
Algorithm Hash digest
SHA256 46f743de7a177ac3e8a59e73afbc73631f3404d9305c800291d1309365d86efd
MD5 71df5820b246ece4c4229e75324f18fc
BLAKE2b-256 cdd3b0e9bbde71b713a99b02b9a7bfa66bc42288c98d2d34cd85032c74a08a06

See more details on using hashes here.

File details

Details for the file means_testing-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: means_testing-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for means_testing-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 541c7695dec6532c4835d5173025c5fb040e1e9d0c0a473074c5a6d426dad2f4
MD5 2821dbba47f65670cfcf673cbbc74149
BLAKE2b-256 6ba6d01ca46d8a10b2c4447c0dcc578ff929e5ab7c0ef0023edd30c6b4f3c62f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page