dirconn.BootstrapResult#
- class dirconn.BootstrapResult(observed: Connectivity, lower: ndarray, upper: ndarray, std: ndarray, ci: float, n_boot: int, seed: int, interval: str, resampling: dict[str, Any], checks: AssumptionChecklist)#
Percentile bands of the magnitude of a connectivity result.
All arrays have the shape of
observed.values; undefined cells are NaN.- observed#
The estimate on the original data (after
reduce), with its provenance.- Type:
- lower, upper
Percentiles
(1 - ci) / 2and(1 + ci) / 2of|value|over the resamples.- Type:
ndarray
- std#
Standard deviation (ddof 1) of
|value|over the resamples.- Type:
ndarray
- ci#
Confidence level of the band.
- Type:
float
- n_boot, seed
How the bootstrap was run.
- Type:
int
- interval#
Always
"percentile": no bias correction.- Type:
str
- resampling#
unit("trial"or"block"),n_unitsand, for blocks,block_sizeanddropped_samples(samples after the last whole block).- Type:
dict
- checks#
bootstrap_units(enough trials or blocks) andbootstrap_fits(diagnostics raised inside the resampled fits).- Type:
- __init__(observed: Connectivity, lower: ndarray, upper: ndarray, std: ndarray, ci: float, n_boot: int, seed: int, interval: str, resampling: dict[str, Any], checks: AssumptionChecklist) None#
Methods
__init__(observed, lower, upper, std, ci, ...)Attributes