Skip to main content

Pepkio Biostat Test Navigator

Execute automated statistical test selection, distribution assumption diagnostics, post-hoc pairwise comparisons, and effect size calculations for biological research data via Python or REST API.

What It Does

Selecting the appropriate statistical test for biological and biomedical data is critical to avoid false positives (Type I errors) or lost statistical power (Type II errors). Datasets from real-time PCR, Western blots, cell viability assays, and flow cytometry often have small sample sizes ($n < 5$), non-normal distributions, or unequal group variances that violate standard parametric assumptions.

The pepkio-biostat-test-navigator package connects your Python workflows directly to the Pepkio Biostat Test Navigator calculation engine. It evaluates experimental design metadata—such as group counts, continuous vs. categorical outcomes, and paired observations—and runs distribution diagnostics (Shapiro-Wilk normality and Levene's homoscedasticity) to select and execute the most appropriate parametric or non-parametric statistical test.

Features

  • Automated Test Recommendation: Recommends optimal parametric or non-parametric tests based on sample size, experimental design, and distribution assumption testing.
  • Assumption Diagnostics: Performs automated Shapiro-Wilk normality tests and Levene's homoscedasticity tests on input group data.
  • Comprehensive Test Suite: Supports Student's t-test, Welch's t-test, Paired t-test, Mann-Whitney U test, Wilcoxon signed-rank test, One-Way ANOVA, Welch ANOVA, Kruskal-Wallis, Two-Way ANOVA, Repeated Measures ANOVA, Friedman test, Chi-Square, and Fisher's Exact test.
  • Post-Hoc Pairwise Testing: Executes appropriate post-hoc tests (Tukey's HSD, Games-Howell, Dunn's test) with Bonferroni or Benjamini-Hochberg False Discovery Rate (FDR) adjustments.
  • Effect Size & Confidence Intervals: Calculates standardized effect sizes (Cohen's $d$, Hedges' $g$, Eta-squared $\eta^2$, Rank-Biserial correlation, Odds Ratio) with 95% confidence intervals.
  • Power & Sample Size Analysis: Provides post-hoc statistical power analysis and prospective sample size estimation.
  • CLI & Python API: Provides both a programmatic Python client and a command-line interface for batch processing and workflow automation.

Installation

Install the package via pip:

pip install pepkio-biostat-test-navigator

Set your Pepkio API key as an environment variable before running calculations:

export PEPKIO_API_KEY="your-api-key"

Quick Example

from pepkio_biostat_test_navigator import PepkioClient

with PepkioClient() as client:
    qpcr_input = {
        "template_id": "qpcr",
        "outcome_type": "continuous",
        "comparison_type": "two_groups",
        "group_count": 2,
        "paired": False,
        "groups": [
            {"name": "Control", "values": [1.02, 0.98, 1.05, 1.01]},
            {"name": "Treatment", "values": [2.45, 2.51, 2.38, 2.62]},
        ],
    }

    result = client.run(qpcr_input)
    print("Recommended Test:", result.result["primary_test"])
    print("Rationale:", result.result["rationale"])
    print("Permalink:", result.permalink)

Command-line interface usage:

pepkio-biostat-test-navigator manifest
pepkio-biostat-test-navigator run --example qpcr_two_group_mann_whitney

Typical Use Cases

  • qPCR Relative Gene Expression ($\Delta\Delta Ct$): Choosing between Student's t-test, Welch's t-test, and Mann-Whitney U test when comparing fold-change values across small replicate cohorts.
  • Western Blot Densitometry: Selecting between One-Way ANOVA with Tukey HSD and Kruskal-Wallis with Dunn's post-hoc test for normalized protein optical densities.
  • Cell Viability Assays: Evaluating main treatment effects and compound-concentration interactions across dose response levels using Two-Way ANOVA.
  • Preclinical Animal Studies: Analyzing longitudinal biomarkers or tumor volumes in paired animal groups using Repeated Measures ANOVA or the Friedman test.
  • Flow Cytometry & Histopathology Gating: Assessing responder frequencies or categorical marker staining intensities using Fisher's Exact test or Chi-Square tests of independence.

Scientific Background

Parametric statistical tests assume normally distributed data and equal group variances, while non-parametric tests operate on rank orders without distributional assumptions. When sample sizes are small ($n < 5$), formal normality tests have low statistical power, making decision rules based on sample size thresholds, Shapiro-Wilk test statistics ($W$), and Levene's variance ratio test ($F$) critical for preventing inflated Type I error rates. Post-hoc multi-group comparisons apply family-wise error rate corrections (Bonferroni) or False Discovery Rate control (Benjamini-Hochberg) to ensure statistical validity across multiple testing steps.

Web Application

For researchers who prefer a graphical interface, an interactive web version is available.

Web Application: https://www.pepkio.com/tools/biostat-test-navigator

The web interface offers visual decision flowcharts, interactive data entry tables, graphical distribution plots, one-click PDF/CSV export, and shareable permalinks for manuscript peer review.

Documentation and Resources

GitHub Repository: https://github.com/pepkio/pepkio-biostat-test-navigator

Web Application: https://www.pepkio.com/tools/biostat-test-navigator

About Pepkio

Pepkio (https://www.pepkio.com/) develops software tools and bioinformatics solutions for life science researchers, including laboratory calculators and analysis services (https://www.pepkio.com/cro).

Keywords

biostatistics test navigator, statistical test selector, biological hypothesis testing, qPCR statistical analysis, parametric vs non-parametric test chooser, Student's t-test vs Mann-Whitney U, One-Way ANOVA decision tree, Shapiro-Wilk normality diagnostic, Levene's test homoscedasticity, Welch's t-test calculator, Kruskal-Wallis post-hoc Dunn test, Tukey HSD pairwise comparison, Benjamini-Hochberg FDR correction, Bonferroni adjusted p-value, Cohen's d effect size calculator, Hedges' g small sample correction, statistical power calculator biology, Fisher's exact test contingency table, Wilcoxon signed-rank test paired data, Two-Way ANOVA interaction effect, Repeated Measures ANOVA, Friedman test non-parametric, biological replicate statistics, pepkio-biostat-test-navigator, Python biostatistics package, automated hypothesis testing API, REST API statistical decision engine, how to choose statistical test for qPCR, post-hoc pairwise testing with FDR correction, automate biostatistical assumption checking Python, determine parametric or non-parametric test for small sample size, calculate Cohen's d and Hedges' g effect size with confidence intervals, perform Shapiro-Wilk and Levene's test automatically in Python, select between Student's t-test and Welch's t-test for unequal variances, evaluate Western blot densitometry with ANOVA and Tukey HSD, run Fisher's exact test on small sample contingency tables programmatically, batch statistical test navigation via Python client and CLI

Metadata

Release files for pepkio-biostat-test-navigator 0.1.0

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

Source distribution (sdist)

Source distribution for pepkio-biostat-test-navigator 0.1.0
File Size Uploaded Provenance
pepkio_biostat_test_navigator-0.1.0.tar.gz 37.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pepkio-biostat-test-navigator 0.1.0
File Interpreter ABI Platform
pepkio_biostat_test_navigator-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 47.8 kB

Release files / pepkio_biostat_test_navigator-0.1.0.tar.gz

Download URL pepkio_biostat_test_navigator-0.1.0.tar.gz
Size 37.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b7b6740a9b1b045f279221f3d7873ac1a3b123b062ed8cd3bcf04431bd078c8a
BLAKE2b-256 checksum
How to use checksums
d722fd88968acf6c403b9c0a34c59de14762554dbfccc1ffc4abb25583842cc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / pepkio_biostat_test_navigator-0.1.0-py3-none-any.whl

Download URL pepkio_biostat_test_navigator-0.1.0-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a98ccf5e9896a44e7621ebc5d67afb9e9e9029422c540a588e7625e0e8772e95
BLAKE2b-256 checksum
How to use checksums
a8092ff959f9f4f951bee6f9ee1f463c015309fc64f13bbe9537fba7255fd32c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for pepkio-biostat-test-navigator 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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