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
Close
Hashes for higher-criticism-test-0.1.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ac99f6a8c9b55122e6aad6d1be2b1b928152380a05dfb9910565765d54a5b4a |
|
MD5 | 0d6aa4c15e546c2abf012c34a480c3e9 |
|
BLAKE2b-256 | fe04c8f84a156ec5260d55003ef4942c2be06c1fb62490e03b473eb676f909fa |
Close
Hashes for higher_criticism_test-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fd150549c0fad88754a4310939b70c83530514d038b1e2e77114dddf3dff492 |
|
MD5 | 40a3a95a4eb61b426dbc0fdb77ae136e |
|
BLAKE2b-256 | f236aa1047e1e1044db328ce6e11d344fc3ecfb1047a06b38c7600e8a9c1fa54 |