|
statcpp
C++17 Header-Only Statistics Library
|
Effect size calculation and interpretation. More...
#include "statcpp/basic_statistics.hpp"#include "statcpp/dispersion_spread.hpp"#include <cmath>#include <stdexcept>Go to the source code of this file.
Namespaces | |
| namespace | statcpp |
Enumerations | |
| enum class | statcpp::effect_size_magnitude { statcpp::negligible , statcpp::small , statcpp::medium , statcpp::large } |
| Enumeration for effect size magnitude. More... | |
Functions | |
| template<typename Iterator > | |
| double | statcpp::cohens_d (Iterator first, Iterator last, double mu0, double sigma) |
| Cohen's d (one-sample, known population standard deviation) | |
| template<typename Iterator > | |
| double | statcpp::cohens_d (Iterator first, Iterator last, double mu0) |
| Cohen's d (one-sample, using sample standard deviation) | |
| template<typename Iterator1 , typename Iterator2 > | |
| double | statcpp::cohens_d_two_sample (Iterator1 first1, Iterator1 last1, Iterator2 first2, Iterator2 last2) |
| Cohen's d (two-sample, pooled standard deviation) | |
| double | statcpp::hedges_correction_factor (double df) |
| Hedges' bias correction factor J. | |
| template<typename Iterator > | |
| double | statcpp::hedges_g (Iterator first, Iterator last, double mu0) |
| Hedges' g (one-sample) | |
| template<typename Iterator1 , typename Iterator2 > | |
| double | statcpp::hedges_g_two_sample (Iterator1 first1, Iterator1 last1, Iterator2 first2, Iterator2 last2) |
| Hedges' g (two-sample) | |
| template<typename Iterator1 , typename Iterator2 > | |
| double | statcpp::glass_delta (Iterator1 control_first, Iterator1 control_last, Iterator2 treatment_first, Iterator2 treatment_last) |
| Glass's Delta (using control group's standard deviation) | |
| double | statcpp::t_to_r (double t, double df) |
| Convert t-value to correlation coefficient. | |
| double | statcpp::d_to_r (double d) |
| Convert Cohen's d to correlation coefficient. | |
| double | statcpp::r_to_d (double r) |
| Convert correlation coefficient to Cohen's d. | |
| double | statcpp::eta_squared (double ss_effect, double ss_total) |
| Calculate eta-squared from F-test. | |
| double | statcpp::partial_eta_squared (double f, double df1, double df2) |
| Calculate partial eta-squared from F-test. | |
| double | statcpp::omega_squared (double ss_effect, double ss_total, double ms_error, double df_effect) |
| Omega-squared. | |
| double | statcpp::cohens_h (double p1, double p2) |
| Cohen's h (effect size for difference between two proportions) | |
| double | statcpp::odds_ratio (double a, double b, double c, double d) |
| Odds ratio. | |
| double | statcpp::risk_ratio (double a, double b, double c, double d) |
| Relative risk (risk ratio) | |
| effect_size_magnitude | statcpp::interpret_cohens_d (double d) |
| Interpret Cohen's d. | |
| effect_size_magnitude | statcpp::interpret_correlation (double r) |
| Interpret correlation coefficient. | |
| effect_size_magnitude | statcpp::interpret_eta_squared (double eta2) |
| Interpret eta-squared. | |
Effect size calculation and interpretation.
Definition in file effect_size.hpp.