mosaicperm.core.combine_mosaic_tests_tseries¶
- mosaicperm.core.combine_mosaic_tests_tseries(mosaic_objects, how_combine_pvals='median', plot: bool = True, alpha: float = 0.05, **figure_kwargs)[source]¶
Combines time-series results across
MosaicPermutationTestobjects.- Parameters:
- mosaic_objectslist
List of objects inheriting from
MosaicPermutationTest, after calling.fit_tseries()for each object.- how_combine_pvalsstr
How to combine the p-values. One of several options:
‘median’ : twice the median
‘mean’ : twice the mean
‘min’ : len(mosaic_objects) times the minimum (Bonferroni correction).
- plotbool
If True, displays a plot of results similar to the
MosaicPermutationTest.plot_tseries()method.- alphafloat
Nominal level for error control.
- **figure_kwargsdict
kwargs for
plt.figure(), e.g.,figsize.
- Returns:
- dfpd.DataFrame
DataFrame of key inferential results.
Notes
This function combines results when using the same set of test statistics and different tilings. To combine results using the same tiling and different test statistics, just use a vector-valued test statistic.