Statistics#
EEGPrep statistics helpers mirror the useful parts of EEGLAB’s
functions/statistics package while using explicit NumPy contracts. Unless
noted otherwise, condition arrays use their final axis for cases, subjects, or
surrogate replications.
Condition Tests#
Compare condition arrays using EEGLAB-style t-tests or ANOVAs. |
|
|
Compute paired t-statistics across the case axis. |
Compute unpaired t-statistics across the case axis. |
|
Compute one-way unpaired ANOVA F-statistics across condition arrays. |
|
Compute one-way repeated-measures ANOVA F-statistics. |
|
Compute balanced two-way unpaired ANOVA F-statistics. |
|
Compute two-way repeated-measures ANOVA F-statistics. |
Multiple Comparisons and Surrogates#
|
Compute Benjamini-Hochberg or Benjamini-Yekutieli FDR thresholds. |
Compute empirical p-values against a surrogate distribution. |
|
Compute surrogate confidence intervals along the last axis. |
|
Build bootstrap or permutation surrogate condition grids. |
Data Helpers#
Concatenate condition arrays along their case axis. |
|
Compute pairwise correlations along a case axis. |
|
Run deterministic smoke checks for the EEGPrep statistics package. |