datashieh_CI: Function to compute CI around Shieh's effect size estimators

View source: R/datashieh_CI.R

datashieh_CIR Documentation

Function to compute CI around Shieh's effect size estimators

Description

Function to compute CI around Shieh's effect size estimators

Usage

datashieh_CI(Group.1, Group.2, conf.level, unbiased, alternative, na.rm)

Arguments

Group.1

a (non-empty) numeric vector of data values.

Group.2

a (non-empty) numeric vector of data values.

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 (Hedges' g or Hedges' g'). Otherwise, bias estimator is computed (Cohen's d or Cohen's d').

alternative

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

na.rm

set whether Missing Values should be excluded (na.rm = TRUE) or not (na.rm = FALSE) - defaults to TRUE.

Value

Returns Cohen'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.