mne.stats.bootstrap_confidence_interval#

mne.stats.bootstrap_confidence_interval(arr, ci=0.95, n_bootstraps=2000, stat_fun='mean', random_state=None)[source]#

Get confidence intervals from non-parametric bootstrap.

Parameters
arrndarray, shape (n_samples, …)

The input data on which to calculate the confidence interval.

cifloat

Level of the confidence interval between 0 and 1.

n_bootstrapsint

Number of bootstraps.

stat_funstr | callable()

Can be “mean”, “median”, or a callable operating along axis=0.

random_stateint | float | array_like | None

The seed at which to initialize the bootstrap.

Returns
cisndarray, shape (2, …)

Containing the lower boundary of the CI at cis[0, ...] and the upper boundary of the CI at cis[1, ...].

Examples using mne.stats.bootstrap_confidence_interval#

Explore event-related dynamics for specific frequency bands

Explore event-related dynamics for specific frequency bands

Explore event-related dynamics for specific frequency bands