Smu {LearningStats} | R Documentation |
Standard Deviation Estimator when the Population Mean is Known
Description
Smu
computes a estimation of the standard deviation, given a sample x
with known mean (denoted by mu
).
Usage
Smu(x, mu)
Arguments
x |
a numeric vector containing the sample. |
mu |
the population mean. |
Details
Given a sample of a random variable, the standard deviation estimator
when the population mean (denoted by
) is known can be computed as
.
Value
A single numerical value corresponding with the standard deviation estimation when the population mean is known.
Examples
x=rnorm(20)
Smu(x,mu=0)
[Package LearningStats version 0.1.0 Index]