v2.0.0
Loading...
Searching...
No Matches
sts_ftest.h
Go to the documentation of this file.
1//=============================================================================================================
30
31#ifndef STS_FTEST_H
32#define STS_FTEST_H
33
34//=============================================================================================================
35// INCLUDES
36//=============================================================================================================
37
38#include "sts_global.h"
39
40//=============================================================================================================
41// QT INCLUDES
42//=============================================================================================================
43
44#include <QVector>
45
46//=============================================================================================================
47// EIGEN INCLUDES
48//=============================================================================================================
49
50#include <Eigen/Core>
51
52//=============================================================================================================
53// DEFINE NAMESPACE STSLIB
54//=============================================================================================================
55
56namespace STSLIB
57{
58
59//=============================================================================================================
66 Eigen::MatrixXd matFstat;
67 Eigen::MatrixXd matPval;
70};
71
72//=============================================================================================================
79{
80public:
81 //=========================================================================================================
89 static StatsFtestResult oneWay(const QVector<Eigen::MatrixXd>& groups);
90
91 //=========================================================================================================
101 static double fCdf(double f, int df1, int df2);
102};
103
104} // namespace STSLIB
105
106#endif // STS_FTEST_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).
Per-call output of a one-way ANOVA F-test: F-statistics, p-values, and between/within degrees of free...
Definition sts_ftest.h:65
Eigen::MatrixXd matFstat
Definition sts_ftest.h:66
Eigen::MatrixXd matPval
Definition sts_ftest.h:67
One-way ANOVA F-test with exact p-values via the regularised incomplete beta function.
Definition sts_ftest.h:79
static double fCdf(double f, int df1, int df2)
static StatsFtestResult oneWay(const QVector< Eigen::MatrixXd > &groups)
Definition sts_ftest.cpp:44