Why do we calculate the effect size as 2*t1$statistic / sqrt(2*nrow(SAMP)-2) for the independent samples t-test?
The independent samples t-value is defined as (M1-M2)/(SDpool*sqrt(2/n)). Cohen's d is defined as (M1-M2)/SDpool. Then Cohen's d based on the t-value should be: t*sqrt(2/n). Or is the effect size calculation in the BFDA package based on a different definition of Cohen's d? Then we should probably mention this in the vignette.
Why do we calculate the effect size as
2*t1$statistic / sqrt(2*nrow(SAMP)-2)for the independent samples t-test?The independent samples t-value is defined as (M1-M2)/(SDpool*sqrt(2/n)). Cohen's d is defined as (M1-M2)/SDpool. Then Cohen's d based on the t-value should be: t*sqrt(2/n). Or is the effect size calculation in the BFDA package based on a different definition of Cohen's d? Then we should probably mention this in the vignette.