sd_pooled calculates pooled standard deviation from vectors group_a and group_b

sd_pooled(group_a, group_b, na.rm = FALSE)

Arguments

group_a

Numeric vector. This group represents baseline/control, observed variable, Pre-test in the paired design, or "practical" measure

group_b

Numeric vector. This group represents experimental, predicted variable, Post-test in the paired design, or "criterion" measure

na.rm

Should NAs be removed? Default is FALSE

Value

Pooled SD

Examples

sd_pooled(rnorm(10), rnorm(10))
#> [1] 1.032211