v2.0.0
Loading...
Searching...
No Matches
STSLIB::StatsFtest Class Reference

F-test (one-way ANOVA) statistical testing. More...

#include <sts_ftest.h>

Static Public Member Functions

static StatsFtestResult oneWay (const QVector< Eigen::MatrixXd > &groups)
static double fCdf (double f, int df1, int df2)

Detailed Description

F-test (one-way ANOVA) statistical testing.

Provides F-test / one-way ANOVA implementation.

Definition at line 80 of file sts_ftest.h.

Member Function Documentation

◆ fCdf()

double StatsFtest::fCdf ( double f,
int df1,
int df2 )
static

Compute the CDF of the F-distribution using the regularized incomplete beta function.

Parameters
[in]fThe F-value.
[in]df1Numerator degrees of freedom.
[in]df2Denominator degrees of freedom.
Returns
The probability P(F <= f).

Definition at line 115 of file sts_ftest.cpp.

◆ oneWay()

StatsFtestResult StatsFtest::oneWay ( const QVector< Eigen::MatrixXd > & groups)
static

One-way ANOVA F-test.

Parameters
[in]groupsVector of matrices, each n_observations x n_variables.
Returns
StatsFtestResult with F-statistics, p-values, and degrees of freedom.

Definition at line 55 of file sts_ftest.cpp.


The documentation for this class was generated from the following files: