glass_CI: Function to compute CI around Glass's effect size estimators

View source: R/glass_CI.R

glass_CIR Documentation

Function to compute CI around Glass's effect size estimators

Description

Function to compute CI around Glass's effect size estimators

Usage

glass_CI(m1, m2, sd1, sd2, n1, n2, conf.level, unbiased, alternative)

Arguments

m1

the average score of the control group

m2

the average score of the experimental group

sd1

the standard deviation the control group

sd2

the standard deviation the experimental group

n1

the sample size of the control group

n2

the sample size of the experimental group

conf.level

confidence level of the interval

unbiased

a logical variable indicating whether to compute the biased or unbiased estimator. If TRUE, unbiased estimator is computed (Glass's g). Otherwise, bias estimator is computed (Glass's d).

alternative

a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less".

Value

Returns glass's estimators of effect size and (1-alpha)% confidence interval around it, standard error


mdelacre/deffectsize documentation built on June 15, 2022, 11:47 p.m.