summ_stat {birk} | R Documentation |
Pools summary statistics when given mean and (optionally) a measurement of variability (choose one among var
, sd
, and se
).
summ_stat(mean, n, var, sd, se)
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. |
Matthew A. Birk, matthewabirk@gmail.com
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.