Skip to main content

A simple library to compare the means of two or more independent samples and check for statistical differences.

Project description

Means-Testing

A simple library to compare the means of two or more independent samples and check 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.5.tar.gz (164.7 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.5-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: means_testing-0.0.5.tar.gz
  • Upload date:
  • Size: 164.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.9

File hashes

Hashes for means_testing-0.0.5.tar.gz
Algorithm Hash digest
SHA256 8cc0261ea315988e3b56de25c84b8e3019a053563a4363684dd4c66423e92ff7
MD5 db07accc59c0e618ce7bbeb35ee24e6b
BLAKE2b-256 ba04136cbc782a6845d21f201442732f36ad0f254224ff02e2520188ce8f4ad5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for means_testing-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 782710f5e373681ab061fcb6d9d4c2c15de3953ac67af27380759d3064e73eb2
MD5 57ae04690f196445a0453fec82c5e394
BLAKE2b-256 68e1c667848d70c219965cf418f3b41ff5b7c0b19a6be7c2bdeb805fbccf0862

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