Confidence interval for t-test
Posted: Mon Apr 02, 2018 9:40 pm
Hey guys, quick question. I noticed the confidence interval for the t-tests is for the confidence interval around the mean difference not the effect size. I think in the current format this may confuse users (myself included in that group) considering the order is (mean difference, SEM, effect size, confidence interval). Would you all be open to moving that confidence interval to next to the mean difference. Also, I have included the code for the confidence intervals for effect sizes if you all would like to add them.
Sorry for the all the comments recently
For the independent samples
For the paired samples
Sorry for the all the comments recently
For the independent samples
Code: Select all
LL <- d - (stats::qt(((
100 - (ciWidth)
) / 100) / 2,
res$parameter)) * abs(d) / stats::qt(res$p.value /
2,
res$parameter)
UL <- d + (stats::qt(((
100 - (100 * ciWidth)
) / 100) / 2,
res$parameter)) * abs(d) / stats::qt(res$p.value /
2,
rest$parameter)
Code: Select all
LL <- d - (stats::qt(((
100 - (ciWidth)
) / 100) / 2,
stud$parameter)) * abs(d) / stats::qt(stud$p.value /
2,
stud$parameter)
UL <- d + (stats::qt(((
100 - (100 * ciWidth)
) / 100) / 2,
stud$parameter)) * abs(d) / stats::qt(stud$p.value /
2,
stud$parameter)