|
statcpp
C++17 Header-Only Statistics Library
|
Analysis of Variance (ANOVA) More...
#include "statcpp/continuous_distributions.hpp"#include <algorithm>#include <cmath>#include <cstddef>#include <limits>#include <numeric>#include <stdexcept>#include <string>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| struct | statcpp::anova_row |
| Structure representing a row in the ANOVA table. More... | |
| struct | statcpp::one_way_anova_result |
| Structure storing one-way ANOVA results. More... | |
| struct | statcpp::two_way_anova_result |
| Structure storing two-way ANOVA results. More... | |
| struct | statcpp::posthoc_comparison |
| Structure storing individual pairwise comparison result in post-hoc tests. More... | |
| struct | statcpp::posthoc_result |
| Structure storing post-hoc comparison results. More... | |
| struct | statcpp::ancova_result |
| Structure storing ANCOVA (Analysis of Covariance) results. More... | |
Namespaces | |
| namespace | statcpp |
Functions | |
| one_way_anova_result | statcpp::one_way_anova (const std::vector< std::vector< double > > &groups) |
| Perform one-way analysis of variance. | |
| two_way_anova_result | statcpp::two_way_anova (const std::vector< std::vector< std::vector< double > > > &data) |
| Perform two-way analysis of variance (with replication) | |
| posthoc_result | statcpp::tukey_hsd (const one_way_anova_result &anova_result, const std::vector< std::vector< double > > &groups, double alpha=0.05) |
| Perform Tukey's Honestly Significant Difference (HSD) test. | |
| posthoc_result | statcpp::bonferroni_posthoc (const one_way_anova_result &anova_result, double alpha=0.05) |
| Perform Bonferroni method for multiple comparisons. | |
| posthoc_result | statcpp::dunnett_posthoc (const one_way_anova_result &anova_result, std::size_t control_group=0, double alpha=0.05) |
| Perform Dunnett's test for multiple comparisons against a control group. | |
| posthoc_result | statcpp::scheffe_posthoc (const one_way_anova_result &anova_result, double alpha=0.05) |
| Perform Scheffe's method for multiple comparisons. | |
| ancova_result | statcpp::one_way_ancova (const std::vector< std::vector< std::pair< double, double > > > &groups) |
| Perform one-way analysis of covariance. | |
| double | statcpp::eta_squared (const one_way_anova_result &result) |
| Calculate Eta-squared for one-way ANOVA. | |
| double | statcpp::partial_eta_squared_a (const two_way_anova_result &result) |
| Calculate Partial eta-squared for factor A in two-way ANOVA. | |
| double | statcpp::partial_eta_squared_b (const two_way_anova_result &result) |
| Calculate Partial eta-squared for factor B in two-way ANOVA. | |
| double | statcpp::partial_eta_squared_interaction (const two_way_anova_result &result) |
| Calculate Partial eta-squared for interaction in two-way ANOVA. | |
| double | statcpp::omega_squared (const one_way_anova_result &result) |
| Calculate Omega-squared for one-way ANOVA. | |
| double | statcpp::cohens_f (const one_way_anova_result &result) |
| Calculate Cohen's f for one-way ANOVA. | |
Analysis of Variance (ANOVA)
Provides ANOVA-related functions including one-way ANOVA, two-way ANOVA, analysis of covariance, and post-hoc tests.
Definition in file anova.hpp.