summ_stat {birk}R Documentation

Pooled Summary Descriptive Statistics

Description

Pools summary statistics when given mean and (optionally) a measurement of variability (choose one among var, sd, and se).

Usage

summ_stat(mean, n, var, sd, se)

Arguments

mean

numeric. A vector of mean values to be pooled.

n

numeric. A vector of n values to be pooled.

var

numeric. A vector of variance values to be pooled.

sd

numeric. A vector of standard deviation values to be pooled.

se

numeric. A vector of standard error of the mean vlaues to be pooled.

Author(s)

Matthew A. Birk, matthewabirk@gmail.com

See Also

weighted.mean, se

Examples

summ_stat(mean = c(0.68, 0.67), n = c(4, 5), sd = c(0.11, 0.15))
summ_stat(mean = 0.68, n = 3, se = 5)
summ_stat(mean = rnorm(1e4), n = rep(1, 1e4)) # Find pooled mean when variability is unknown.


[Package birk version 2.1.2 Index]