dgromer / apa

Format output of statistical tests in R according to APA guidelines
GNU General Public License v3.0
28 stars 2 forks source link

CIs for effect sizes #10

Open yannikstegmann opened 4 years ago

yannikstegmann commented 4 years ago

Hey @dgromer

Some journals recently ask for confidence intervals for effect sizes. Could you maybe add these to your code?

Thank you in advance! Best, Yannik Stegmann

dgromer commented 4 years ago

CI for Cohen's d is was implemented in 5cd789ae9de434e699ffb3c1cc099bbf90fc69a5 and 281aed7e4437eb777fa02b1dedab567f6fb4d6a5 using MBESS::conf.limits.nct() (released in apa 0.3.3 on CRAN).

Example:

library(tidyverse)
library(apa)

t_test(extra ~ group, data = sleep, var.equal = TRUE) %>%
  t_apa(es_ci = TRUE)