Learn R Programming

effectsize (version 0.2.0)

sd_pooled: Pooled Standard Deviation

Description

The Pooled Standard Deviation is a weighted average of standard deviations for two or more groups, with more "weight" given to larger sample sizes.

Usage

sd_pooled(x, y = NULL, data = NULL)

mad_pooled(x, y = NULL, data = NULL)

Arguments

x

A continuous variable or a formula.

y

A continuous variable, a factor with two groups or a formula.

data

An optional data frame containing the variables.

Value

Numeric, the pooled standard deviation.

Examples

Run this code
# NOT RUN {
sd_pooled(Sepal.Length ~ Petal.Width, data = iris)
# }

Run the code above in your browser using DataLab