Calculate Cohen's d with confidence interval
cohens_d_ci.RdComputes Cohen's d effect size with bootstrap confidence interval
Usage
cohens_d_ci(
x,
mu0 = 0,
conf.level = 0.95,
method = c("bootstrap", "nct"),
nboot = 1000
)Examples
x <- rnorm(30, mean = 5, sd = 2)
cohens_d_ci(x, mu0 = 0)
#>
#> Effect Size Calculation
#> ==================================================
#>
#> Cohen's d = 3.2069
#>
#> 95% Confidence Interval:
#> [2.5650, 4.5035]
#>
#> Interpretation: large effect size