Skip to content

Commit

Permalink
Updated ttest() method information
Browse files Browse the repository at this point in the history
  • Loading branch information
Corey-Bryant committed Jun 2, 2021
1 parent d802eec commit 9d35714
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
2 changes: 1 addition & 1 deletion source/refs.bib
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ @Book{cramer2016
volume = {9}
}

@InBook{ hedges1985,
@InBook{hedges1985,
chapter = {Statistical Methods in Meta-Analysis},
title = {Journal of Educational Statistics},
publisher = {Academic Press, Inc.},
Expand Down
21 changes: 0 additions & 21 deletions source/ttest_documentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,6 @@ with the following equation:
d_s = \frac{\bar{x}_1 - \bar{x}_2}{\sqrt{\frac{(n_1 - 1)SD^2_1 + (n_2 - 1)SD^2_2}{n_1 + n_2 - 2}}}
Rosenthal :cite:`rosenthal1991` provided the following formula to calculate
Cohen's d\ :sub:`s` using the t-value and the number of participants from each
group. This returns an identical Cohen's d\ :sub:`s` value as the original
formula.

.. math::
d_s = t\sqrt{\frac{1}{n_1} + \frac{1}{n_2}}
Computationally speaking, the formula provided by Rosenthal is faster, therefore
it is used to calculate Cohen's d\ :sub:`s`.

Hedges's g\ :sub:`s` (between subjects design)
Expand Down Expand Up @@ -121,15 +109,6 @@ as follows:
d_z = \frac{M_{diff}}{\sqrt{\frac{\sum (X_{diff} - M_{diff})^2}{N - 1}}}
Cohen's d\ :sub:`z` can also be calculated with the following formula using the
t-value and number of participants provided by Rosenthal :cite:`rosenthal1991`.
This formula is used to calculate Cohen's d\ :sub:`z` since it is computationally
quicker.

.. math::
d_z = \frac{t}{\sqrt{n}}
Pearson correlation coefficient r (between or within subjects design)
Expand Down

0 comments on commit 9d35714

Please sign in to comment.