nl_causal.base.testing
Module Contents
Functions
|
Methods for combining the p-values of independent/dependent tests bearing upon the same hypothesis. |
- nl_causal.base.testing.combine_pvalues(p_values, method='cauchy', weights=None)
Methods for combining the p-values of independent/dependent tests bearing upon the same hypothesis.
- Parameters:
- p_values: {array-like} of shape (num_test)
Array of p-values assumed to come from the same hypothesis.
- method: {geometric, bonferroni, median, hmean, hommel, cauchy}
Name of method to use to combine p-values.
- Returns:
- p_value: float
The combined p-value.