nessai.utils.indices
Utilities related to insertion indices.
Module Contents
Functions
|
Compute the two-sided KS test for discrete insertion indices for a given |
|
Apply the Bonferroni correction for multiple tests. |
- nessai.utils.indices.compute_indices_ks_test(indices, nlive, mode='D+')
Compute the two-sided KS test for discrete insertion indices for a given number of live points
- Parameters
- indicesarray_like
Indices of newly inserted live points
- nliveint
Number of live points
- Returns
- ——
- Dfloat
Two-sided KS statistic
- pfloat
p-value
- nessai.utils.indices.bonferroni_correction(p_values, alpha=0.05)
Apply the Bonferroni correction for multiple tests.
Based on the implementation in
statmodels.stats.multitest
- Parameters
- p_valuesarray_like
Uncorrelated p-values.
- alphafloat, optional
Family wise error rate.