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.8-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gaste_test-0.0.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 4c3df78987ff187557fb16d16d017f57be504064f919be79c20f913d02b884de
MD5 446adcd9d3d61cff938e172168750794
BLAKE2b-256 9bb8c0309b249e5659a90f6b7cad2e1288c44d6d5e59ea2e37f515a17ae16454

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