sample.sd {LearningStats} | R Documentation |
Sample Standard Deviation
Description
sample.sd
computes the sample standard deviation of a sample x
.
Usage
sample.sd(x)
Arguments
x |
a numeric vector containing the sample. |
Details
Given \{x_1,\ldots,x_n\}
a sample of a random variable, the sample standard deviation
can be computed as S=\sqrt{\frac{1}{n}\sum_{i=1}^n (x_i-\bar{x})^2}
.
Value
A single numerical value corresponding with the sample standard deviation.
Examples
x=rnorm(20)
sample.sd(x)
[Package LearningStats version 0.1.0 Index]