This function is vectorized.
confIntSD(x, n = NULL, conf.level = 0.95)
x | Either a standard deviation, in which case |
---|---|
n | The sample size is |
conf.level | The confidence level |
A vector or matrix.
ufs::confIntSD(mtcars$mpg); #> sd.ci.lo sd.ci.hi #> 4.831825 8.012704 ufs::confIntSD(c(6, 7), c(32, 32)); #> sd.ci.lo sd.ci.hi #> sd=6, n=32 4.810220 7.976877 #> sd=7, n=32 5.611924 9.306357