Add Satterthwaite and Kenward-Roger fixed-effect tests

This commit is contained in:
2026-08-13 07:02:10 +08:00
parent 76dd8b1379
commit 8557daecac
14 changed files with 1330 additions and 20 deletions

View File

@@ -0,0 +1,13 @@
#pragma once
namespace spectra::reml {
// Two-sided Student-t tail probability and upper F tail probability.
// Both accept non-integer positive degrees of freedom.
[[nodiscard]] double student_t_two_sided_p(double statistic,
double degrees_of_freedom);
[[nodiscard]] double f_upper_tail(double statistic,
double numerator_degrees_of_freedom,
double denominator_degrees_of_freedom);
} // namespace spectra::reml