mne.stats.
spatio_temporal_cluster_1samp_test
(X, threshold=None, n_permutations=1024, tail=0, stat_fun=<function ttest_1samp_no_p>, connectivity=None, verbose=None, n_jobs=1, seed=None, max_step=1, spatial_exclude=None, step_down_p=0, t_power=1, out_type='indices', check_disjoint=False, buffer_size=1000)[source]¶Non-parametric cluster-level 1 sample T-test for spatio-temporal data.
This function provides a convenient wrapper for data organized in the form
(observations x time x space) to use
mne.stats.permutation_cluster_1samp_test()
. See [R177178] for more
information.
Parameters: | X : array
threshold : float | dict | None
n_permutations : int
tail : -1 or 0 or 1 (default = 0)
stat_fun : function
connectivity : sparse matrix or None
verbose : bool, str, int, or None
n_jobs : int
seed : int | instance of RandomState | None
max_step : int
spatial_exclude : list of int or None
step_down_p : float
t_power : float
out_type : str
check_disjoint : bool
buffer_size: int or None
|
---|---|
Returns: | T_obs : array, shape (n_times * n_vertices,)
clusters : list
cluster_pv: array
H0 : array, shape (n_permutations,)
|
Notes
If n_permutations >= 2 ** (n_samples - (tail == 0))
,
n_permutations
and seed
will be ignored since an exact test
(full permutation test) will be performed.
If no initial clusters are found, i.e., all points in the true
distribution are below the threshold, then clusters
, cluster_pv
,
and H0
will all be empty arrays.
References
[R177178] | (1, 2) Maris/Oostenveld, “Nonparametric statistical testing of EEG- and MEG-data” Journal of Neuroscience Methods, Vol. 164, No. 1., pp. 177-190. doi:10.1016/j.jneumeth.2007.03.024 |
[R178178] | (1, 2) Smith/Nichols (2009), “Threshold-free cluster enhancement: Addressing problems of smoothing, threshold dependence, and localisation in cluster inference”, NeuroImage 44 (2009) 83-98. |
mne.stats.spatio_temporal_cluster_1samp_test
¶