Skip to main content

Gamma approximation of stratified truncated exact test

Project description

Gaste Package

Welcome to the Gaste package! This package provides a set of tools and utilities for analyzing stratified 2x2 contingency table. Gives the exact or approximate p-value of the overall association between features and outcomes under 2x2 stratified contingency table.

Installation

To install the Gaste package, simply run the following command:

pip install gaste-test

Usage

Once installed, you can import the Gaste package or the main function in your Python code using the following line:

import gaste-test
from gaste-test import get_pval_comb, StratifiedTable2x2

Features

The Gaste package offers the following features:

  • Exact calcul of p-value combination of one tail Fisher's exact test
  • Approximation of the law of combination by Gamma approximation distribution
  • Incorporating truncation into the p-value combination enhances statistical power in scenarios featuring few effects or contradictory effects between strata
  • Visualization: Forest plot for data analysis.

Documentation

For detailed information on how to use the Gaste package, please refer to the sphinx documentation

Contributing

We welcome contributions from the community! If you would like to contribute to the Gaste package, feel free to contact the autor by mail.

License

The Gaste package is licensed under the MIT License.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

gaste_test-0.0.6-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file gaste_test-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: gaste_test-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for gaste_test-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d3893b25961eab8b0e2f469ef6dcb5658a8b1461f5fbbcd256f9e8c68fc440a1
MD5 f44257a78cb9ecf06ba7c1671ff655f0
BLAKE2b-256 902430b06d67ec24cf8659957bbf095a4cc47fa940fa08a9193ec47d345c43ea

See more details on using hashes here.

Supported by

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