v2.0.0
Loading...
Searching...
No Matches
src
libraries
sts
sts_ftest.h
Go to the documentation of this file.
1
//=============================================================================================================
34
35
#ifndef STS_FTEST_H
36
#define STS_FTEST_H
37
38
//=============================================================================================================
39
// INCLUDES
40
//=============================================================================================================
41
42
#include "
sts_global.h
"
43
44
//=============================================================================================================
45
// QT INCLUDES
46
//=============================================================================================================
47
48
#include <QVector>
49
50
//=============================================================================================================
51
// EIGEN INCLUDES
52
//=============================================================================================================
53
54
#include <Eigen/Core>
55
56
//=============================================================================================================
57
// DEFINE NAMESPACE STSLIB
58
//=============================================================================================================
59
60
namespace
STSLIB
61
{
62
63
//=============================================================================================================
67
struct
STSSHARED_EXPORT
StatsFtestResult
{
68
Eigen::MatrixXd
matFstat
;
69
Eigen::MatrixXd
matPval
;
70
int
dfBetween
;
71
int
dfWithin
;
72
};
73
74
//=============================================================================================================
80
class
STSSHARED_EXPORT
StatsFtest
81
{
82
public
:
83
//=========================================================================================================
91
static
StatsFtestResult
oneWay
(
const
QVector<Eigen::MatrixXd>& groups);
92
93
//=========================================================================================================
103
static
double
fCdf
(
double
f,
int
df1,
int
df2);
104
};
105
106
}
// namespace STSLIB
107
108
#endif
// STS_FTEST_H
sts_global.h
stats library export/import macros.
STSSHARED_EXPORT
#define STSSHARED_EXPORT
Definition
sts_global.h:50
STSLIB
Statistical testing (t-tests, F-tests, cluster permutation, multiple comparison correction).
Definition
sts_adjacency.h:68
STSLIB::StatsFtestResult
Definition
sts_ftest.h:67
STSLIB::StatsFtestResult::matFstat
Eigen::MatrixXd matFstat
Definition
sts_ftest.h:68
STSLIB::StatsFtestResult::matPval
Eigen::MatrixXd matPval
Definition
sts_ftest.h:69
STSLIB::StatsFtestResult::dfWithin
int dfWithin
Definition
sts_ftest.h:71
STSLIB::StatsFtestResult::dfBetween
int dfBetween
Definition
sts_ftest.h:70
STSLIB::StatsFtest
F-test (one-way ANOVA) statistical testing.
Definition
sts_ftest.h:81
STSLIB::StatsFtest::fCdf
static double fCdf(double f, int df1, int df2)
Definition
sts_ftest.cpp:115
STSLIB::StatsFtest::oneWay
static StatsFtestResult oneWay(const QVector< Eigen::MatrixXd > &groups)
Definition
sts_ftest.cpp:55
Generated on
for MNE-CPP by
1.16.1