Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sronilsson committed Sep 25, 2024
1 parent 25c7878 commit 6cf63fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions simba/mixins/statistics_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6cf63fd

Please sign in to comment.