Higher Criticism statistical hypothesis testing
Project description
HCtest -- Higher Criticism Test
Higher Criticism (HC) test statistics for testing the global significance of many independent hypotheses. As an input, the test receives a list of P-values and returns the HC test statistics. See (Donoho & Jin 2004)
Example:
from scipy.stats import norm
from hctest import HCtest
n = 1000 #number of samples
X = norm.rvs(size=n)
pvals = norm.sf(X)
hc = HCtest(pvals)
hc_val, p_th = hc.HCstar(gamma = 0.25)
print("Higher-Criticism statistic = ", hc_val)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file higher-criticism-test-0.1.8.tar.gz
.
File metadata
- Download URL: higher-criticism-test-0.1.8.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ad5923b1bbddd0d0052b91c30132ee71b503798e43b23bcf76b4238a16bc63f |
|
MD5 | c4e747e942f5e5d3104aa581334738d3 |
|
BLAKE2b-256 | 5b45eb6a9b03e73947b2c277f82e53387a1b8a58bd0fba1ae12e5314a472e898 |
File details
Details for the file higher_criticism_test-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: higher_criticism_test-0.1.8-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2b4b197f718b301d7ea3e37242068548569bdb51c5e72f9cca660524c0ea4c5 |
|
MD5 | c3542256b8cea8ccc5c3b642532d77ef |
|
BLAKE2b-256 | bd192b2b4055885ac86eb7879ac6482b558e541a4bdd2a3679313e87bcfbb880 |