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//=============================================================================================================
61{
62public:
63 //=========================================================================================================
71 static Eigen::MatrixXd bonferroni(const Eigen::MatrixXd& pValues);
72
73 //=========================================================================================================
81 static Eigen::MatrixXd holmBonferroni(const Eigen::MatrixXd& pValues);
82
83 //=========================================================================================================
92 static Eigen::MatrixXd fdr(const Eigen::MatrixXd& pValues, double alpha = 0.05);
93};
94
95} // namespace STSLIB
96
97#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)