v2.0.0
Loading...
Searching...
No Matches
sts_correction.h
Go to the documentation of this file.
1//=============================================================================================================
34
35#ifndef STS_CORRECTION_H
36#define STS_CORRECTION_H
37
38//=============================================================================================================
39// INCLUDES
40//=============================================================================================================
41
42#include "sts_global.h"
43
44//=============================================================================================================
45// EIGEN INCLUDES
46//=============================================================================================================
47
48#include <Eigen/Core>
49
50//=============================================================================================================
51// DEFINE NAMESPACE STSLIB
52//=============================================================================================================
53
54namespace STSLIB
55{
56
57//=============================================================================================================
64{
65public:
66 //=========================================================================================================
74 static Eigen::MatrixXd bonferroni(const Eigen::MatrixXd& pValues);
75
76 //=========================================================================================================
84 static Eigen::MatrixXd holmBonferroni(const Eigen::MatrixXd& pValues);
85
86 //=========================================================================================================
95 static Eigen::MatrixXd fdr(const Eigen::MatrixXd& pValues, double alpha = 0.05);
96};
97
98} // namespace STSLIB
99
100#endif // STS_CORRECTION_H
stats library export/import macros.
#define STSSHARED_EXPORT
Definition sts_global.h:50
Statistical testing (t-tests, F-tests, cluster permutation, multiple comparison correction).
Multiple comparison corrections (Bonferroni, Holm-Bonferroni, FDR).
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)