v2.0.0
Loading...
Searching...
No Matches
sts_correction.h
Go to the documentation of this file.
1//=============================================================================================================
29
30#ifndef STS_CORRECTION_H
31#define STS_CORRECTION_H
32
33//=============================================================================================================
34// INCLUDES
35//=============================================================================================================
36
37#include "sts_global.h"
38
39//=============================================================================================================
40// EIGEN INCLUDES
41//=============================================================================================================
42
43#include <Eigen/Core>
44
45//=============================================================================================================
46// DEFINE NAMESPACE STSLIB
47//=============================================================================================================
48
49namespace STSLIB
50{
51
52//=============================================================================================================
59{
60public:
61 //=========================================================================================================
69 static Eigen::MatrixXd bonferroni(const Eigen::MatrixXd& pValues);
70
71 //=========================================================================================================
79 static Eigen::MatrixXd holmBonferroni(const Eigen::MatrixXd& pValues);
80
81 //=========================================================================================================
90 static Eigen::MatrixXd fdr(const Eigen::MatrixXd& pValues, double alpha = 0.05);
91};
92
93} // namespace STSLIB
94
95#endif // STS_CORRECTION_H
STSLIB shared-library export macro and build-info accessors for the statistical-tests library.
#define STSSHARED_EXPORT
Definition sts_global.h:44
Statistical testing (t-tests, F-tests, cluster permutation, multiple comparison correction).
Bonferroni, Holm-Bonferroni and Benjamini-Hochberg FDR adjustments for mass-univariate p-value maps.
static Eigen::MatrixXd holmBonferroni(const Eigen::MatrixXd &pValues)
static Eigen::MatrixXd fdr(const Eigen::MatrixXd &pValues, double alpha=0.05)
static Eigen::MatrixXd bonferroni(const Eigen::MatrixXd &pValues)