compare_means: Determine the statistical significance of the difference in...

Description Usage Arguments Value Examples

View source: R/compare_means.R

Description

Determine the statistical significance of the difference in two different sample means.

Usage

1
compare_means(mean1, mean2, var1, var2, n1, n2)

Arguments

mean1

The first sample mean

mean2

The second sample mean

var1

The first sample variance

var2

the second sample variance

n1

The first sample size

n2

The second sample size

Value

The t value of the associated small two-sample t-test, and the associated p-value for this t-value.

Examples

1
compare_means(12, 15, 20, 30, 40, 45)

vanveghd/bikr documentation built on Dec. 23, 2021, 2:11 p.m.