v2.0.0
Loading...
Searching...
No Matches
sts_types.h File Reference

Shared enumerations describing tail direction and multiple-comparison correction strategy. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  STSLIB
 Statistical testing (t-tests, F-tests, cluster permutation, multiple comparison correction).

Enumerations

enum class  STSLIB::StatsTailType { STSLIB::Left , STSLIB::Right , STSLIB::Both }
 Direction of the alternative hypothesis for a t- or F-test (left, right, or two-sided). More...
enum class  STSLIB::StatsCorrection { STSLIB::None , STSLIB::Bonferroni , STSLIB::Fdr , STSLIB::ClusterPermutation }
 Strategy used to control false positives when a test is repeated across many (channel, time) or (vertex, time) samples. More...

Detailed Description

Shared enumerations describing tail direction and multiple-comparison correction strategy.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.2.0
Date
April 2026

Centralising the STSLIB::StatsTailType (left / right / both) and STSLIB::StatsCorrection (none, Bonferroni, FDR, cluster permutation) enums in a header with no Qt or Eigen dependency lets lightweight modules - notably sts_ttest and sts_ftest - take the same tail argument as the cluster permutation entry points in sts_cluster without dragging the rest of STSLIB into client translation units.

Definition in file sts_types.h.