v2.0.0
Loading...
Searching...
No Matches
STSLIB Namespace Reference

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

Classes

class  StatsAdjacency
 Builds the sparse spatial and spatio-temporal neighbourhood graphs that define cluster support for permutation tests. More...
struct  StatsClusterResult
 Per-call output of a cluster permutation test: observed statistic map, cluster masses, cluster p-values and cluster labels. More...
class  StatsCluster
 Maris-Oostenveld cluster-mass permutation tests and Threshold-Free Cluster Enhancement on (channel,time) or (vertex,time) statistic maps. More...
class  StatsMcCorrection
 Bonferroni, Holm-Bonferroni and Benjamini-Hochberg FDR adjustments for mass-univariate p-value maps. More...
class  StsCovEstimators
 Regularised covariance estimators (Ledoit-Wolf, OAS, fixed-diagonal, PCA, Factor Analysis, cross-validated auto-select) matching the MNE-Python compute_covariance() API. More...
struct  StatsFtestResult
 Per-call output of a one-way ANOVA F-test: F-statistics, p-values, and between/within degrees of freedom. More...
class  StatsFtest
 One-way ANOVA F-test with exact p-values via the regularised incomplete beta function. More...
class  StatsSourceMetrics
 Peak localisation error and spatial dispersion metrics for evaluating distributed M/EEG inverse solutions. More...
struct  StatsTtestResult
 Per-call output of a Student t-test: t-statistics, p-values and degrees of freedom. More...
class  StatsTtest
 One-sample, paired and independent two-sample Student t-tests with exact p-values via the regularised incomplete beta function. More...

Enumerations

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

Functions

STSSHARED_EXPORT const char * buildDateTime ()
STSSHARED_EXPORT const char * buildHash ()
STSSHARED_EXPORT const char * buildHashLong ()

Detailed Description

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

Enumeration Type Documentation

◆ StatsCorrection

enum class STSLIB::StatsCorrection
strong

Strategy used to control false positives when a test is repeated across many (channel, time) or (vertex, time) samples.

Multiple comparison correction method.

Enumerator
None 

No correction.

Bonferroni 

Bonferroni correction.

Fdr 

False Discovery Rate (Benjamini-Hochberg).

ClusterPermutation 

Cluster-based permutation test.

Definition at line 49 of file sts_types.h.

◆ StatsTailType

enum class STSLIB::StatsTailType
strong

Direction of the alternative hypothesis for a t- or F-test (left, right, or two-sided).

Tail type for statistical tests.

Enumerator
Left 

Left-tailed test.

Right 

Right-tailed test.

Both 

Two-tailed test.

Definition at line 37 of file sts_types.h.

Function Documentation

◆ buildDateTime()

const char * STSLIB::buildDateTime ( )

Returns build date and time.

Definition at line 29 of file sts_global.cpp.

◆ buildHash()

const char * STSLIB::buildHash ( )

Returns abbreviated build git hash.

Definition at line 33 of file sts_global.cpp.

◆ buildHashLong()

const char * STSLIB::buildHashLong ( )

Returns full build git hash.

Definition at line 37 of file sts_global.cpp.