From 6cf63fd14ac344b7a03b2fe0d9fa09288f32aea0 Mon Sep 17 00:00:00 2001 From: sronilsson Date: Tue, 24 Sep 2024 20:26:57 -0400 Subject: [PATCH] docs --- simba/mixins/statistics_mixin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simba/mixins/statistics_mixin.py b/simba/mixins/statistics_mixin.py index 3477ce118..b6e0b22f3 100644 --- a/simba/mixins/statistics_mixin.py +++ b/simba/mixins/statistics_mixin.py @@ -215,10 +215,10 @@ def cohens_d(sample_1: np.ndarray, sample_2: np.ndarray) -> float: .. math:: - d = \\frac{{\\bar{x}_1 - \\bar{x}_2}}{{\\sqrt{{\\frac{{s_1^2 + s_2^2}}{2}}}}} + d = \\frac{{\bar{x}_1 - \bar{x}_2}}{{\\sqrt{{\\frac{{s_1^2 + s_2^2}}{2}}}}} where: - - :math:`\\bar{x}_1` and :math:`\\bar{x}_2` are the means of sample_1 and sample_2 respectively, + - :math:`\bar{x}_1` and :math:`\bar{x}_2` are the means of sample_1 and sample_2 respectively, - :math:`s_1` and :math:`s_2` are the standard deviations of sample_1 and sample_2 respectively. :param ndarray sample_1: First 1d array representing feature values.