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//=============================================================================================================
68{
69 Eigen::MatrixXd matFstat;
70 Eigen::MatrixXd matPval;
73};
74
75//=============================================================================================================
84{
85public:
86 //=========================================================================================================
94 static StatsFtestResult oneWay(const QVector<Eigen::MatrixXd>& groups);
95
96 //=========================================================================================================
106 static double fCdf(double f, int df1, int df2);
107};
108
109} // namespace STSLIB
110
111#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:68
Eigen::MatrixXd matFstat
Definition sts_ftest.h:69
Eigen::MatrixXd matPval
Definition sts_ftest.h:70
One-way ANOVA F-test with exact p-values via the regularised incomplete beta function.
Definition sts_ftest.h:84
static double fCdf(double f, int df1, int df2)
static StatsFtestResult oneWay(const QVector< Eigen::MatrixXd > &groups)
Definition sts_ftest.cpp:44