Expand description
Hypothesis tests (named htest to avoid Cargo’s tests/ integration dir).
Test statistics come off the accumulators; p-values come straight from the
special functions (no distribution-object suite yet).
Re-exports§
pub use result::Ci;pub use result::EffectSize;pub use result::TestResult;pub use ttest::t_test_one;pub use ttest::t_test_paired;pub use ttest::t_test_two;pub use ttest::VarAssumption;pub use anova::anova_one_way;pub use anova::f_test_var;pub use chi2::chi2_gof;pub use chi2::chi2_independence;pub use cor::cor_test;pub use cor::CorMethod;pub use effect::cohen_d;pub use effect::cramers_v;pub use effect::eta_squared;pub use ci::ci_correlation;pub use ci::ci_mean;pub use ci::ci_mean_diff;pub use ci::ci_mean_diff_welch;pub use ci::ci_proportion;
Modules§
- anova
- One-way ANOVA and the equal-variance F-test. Group stats from Variance; p via betai.
- chi2
- χ² goodness-of-fit and independence. p-values via the upper incomplete gamma gammq.
- ci
- Closed-form confidence intervals. Critical values from the inverse special functions.
- cor
- Correlation test. Pearson only; Spearman/Kendall would need rank machinery (not yet implemented).
- effect
- Effect sizes paired with the tests.
- result
- The result/reporting family. One struct shape for every test.
- ttest
- t-tests. Group statistics from the Variance accumulator; p-values from betai.