frites.stats.ttest_1samp#
- frites.stats.ttest_1samp(x, pop_mean, axis=0, implementation='mne', sigma=0.001, **kw)[source]#
One-sample t-test.
- Parameters
- xnumpy:array_like
Sample observation
- pop_mean
python:float
Expected value in the null hypothesis
- axis
python:int
| 0 Axis along which to perform the t-test
- implementation{‘mne’, ‘scipy’}
Use either the scipy or the mne t-test
- sigma
python:float
| 0.001 Hat adjustment method, a value of 1e-3 may be a reasonable choice
- Returns
- tvaluesnumpy:array_like
Array of t-values
References
Ridgway et al., 2012 [16]