sd_tot: Calculate the total standard deviation

Description Usage Arguments Value Examples

View source: R/summary_functions.R

Description

Calculates the total standard deviation across two groups as if they were one combined group.

Usage

1
sd_tot(n1, mean1, sd1, n2 = n1, mean2 = NULL, sd2 = sd1, d = NULL)

Arguments

n1

Number of measurements in group 1.

mean1

Mean of group 1.

sd1

SD of group 1.

n2

Number of measurements in group 2. Optional: defaults to n1.

mean2

Mean of group 2. Optional: this or the effect size can be specified.

sd2

SD of group 2. Optional: defaults to sd1.

d

Cohen's D. Optional: this or mean2 can be specified.

Value

Total standard deviation across two groups.

Examples

1
sd_tot(n1=20, mean1=1, sd1=1, mean2=5)

mathesong/relfeas documentation built on March 4, 2020, 5:29 a.m.