mosaicperm.panel.MosaicPanelInference.fit¶
- MosaicPanelInference.fit(nrand: int = 10000, alpha: int = 0.05, features: array | None = None, verbose: bool = True, use_centered_stat: bool = False)[source]¶
Fits the linear model and computes confidence interva
- Parameters:
- nrandint
Number of randomizations.
- alphaint
Desired nominal Type I error rate.
- featuresnp.array
The list of features to compute CIs for. Defaults to all features.
- verbosebool
If True, show progress bars.
- use_centered_statbool
If True, uses a randomization-centered statistic. This (perhaps pardoxically) leads to slightly higher standard errors but narrower confidence intervals.
- Returns:
- selfobject