datameandiff_CI: Function to compute CI around the raw mean difference

View source: R/datameandiff_CI.R

datameandiff_CIR Documentation

Function to compute CI around the raw mean difference

Description

Function to compute CI around the raw mean difference

Usage

datameandiff_CI(Group.1, Group.2, conf.level, var.equal, 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

var.equal

a logical variable indicating whether to assume equality of population variances. If TRUE the pooled variance is used to estimate the standard error. Otherwise, the standard error is estimated based on unpooled variance.

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 raw mean difference, (1-alpha)% confidence interval around mean difference, standard error


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