102 const Eigen::MatrixXd& dataB,
116 const Eigen::MatrixXd& dataB,
128 static double tCdf(
double t,
int df);
143 static double betaCf(
double x,
double a,
double b);
149 static double logBeta(
double a,
double b);
Shared enumerations describing tail direction and multiple-comparison correction strategy.
STSLIB shared-library export macro and build-info accessors for the statistical-tests library.
Statistical testing (t-tests, F-tests, cluster permutation, multiple comparison correction).
StatsTailType
Direction of the alternative hypothesis for a t- or F-test (left, right, or two-sided).
Per-call output of a Student t-test: t-statistics, p-values and degrees of freedom.
One-sample, paired and independent two-sample Student t-tests with exact p-values via the regularised...
static double regularizedBeta(double x, double a, double b)
static StatsTtestResult paired(const Eigen::MatrixXd &dataA, const Eigen::MatrixXd &dataB, StatsTailType tail=StatsTailType::Both)
static double tCdf(double t, int df)
static StatsTtestResult oneSample(const Eigen::MatrixXd &data, double mu=0.0, StatsTailType tail=StatsTailType::Both)
static StatsTtestResult independent(const Eigen::MatrixXd &dataA, const Eigen::MatrixXd &dataB, StatsTailType tail=StatsTailType::Both)