TIntervalS {sigr} | R Documentation |
Student-T tolerance-style interval around an estimate of a mean from summary.
Description
Student-T tolerance-style interval around an estimate of a mean from summary.
Usage
TIntervalS(
sample_size,
sample_mean,
sample_var,
...,
nNA = 0,
conf.level = 0.95
)
Arguments
sample_size |
numeric scalar integer, size of sample. |
sample_mean |
numeric scalar, mean of sample. |
sample_var |
numeric scalar, variance of sample (Bessel-corrected). |
... |
extra arguments passed to TInterval. |
nNA |
number of NAs seen. |
conf.level |
confidence level to draw interval |
Value
wrapped stat
See Also
TInterval
, TIntervalS
, TInterval.numeric
, TInterval.data.frame
Examples
set.seed(2018)
d <- rnorm(100) + 3.2
TIntervalS(length(d), mean(d), stats::var(d))
[Package sigr version 1.1.5 Index]