Standard Error of Mean
Calculates the standard error of mean.
MeanSE(x, sd = NULL, na.rm = FALSE)
x |
a (non-empty) numeric vector of data values. |
sd |
the standard deviation of |
na.rm |
logical. Should missing values be removed? Defaults to |
MeanSE calculates the standard error of the mean defined as:
\frac{σ}{√{n}}
σ being standard deviation of x
and n the length of x
.
the standard error as numeric value.
Andri Signorell <andri@signorell.net>
data(d.pizza) MeanSE(d.pizza$price, na.rm=TRUE) # evaluate data.frame sapply(d.pizza[,1:4], MeanSE, na.rm=TRUE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.