Metadata-Version: 2.4
Name: TwoSampleHC
Version: 0.4.2
Summary: Higher Criticism two-sample tests for sparse signals
Author: TwoSampleHC Maintainers
License: UNKNOWN
Project-URL: Homepage, https://github.com/
Keywords: higher-criticism,statistics,two-sample,sparse
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Mathematics
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: scipy

TwoSampleHC
===========

Higher Criticism (HC) utilities for two-sample testing under sparsity. Provides:

- HC statistic variants (`HC`, `HCstar`, `HCjin`)
- Exact and randomized binomial p-values for feature-wise testing
- Convenience helpers to compute HC thresholds and DataFrame outputs

Install from a local build or PyPI:

    pip install TwoSampleHC

Basic usage:

    from TwoSampleHC import two_sample_test
    
    hc_score, hc_threshold = two_sample_test(
        smp1, smp2, data_type='counts', alt='two-sided', stbl=True, gamma=0.2
    )

Requirements: `numpy`, `pandas`, `scipy`.

See the source in `src/TwoSampleHC` for details and examples.
