TIntervalS: Student-T tolerance-style interval around an estimate of a...

View source: R/TInterval.R

TIntervalSR 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))


sigr documentation built on Aug. 20, 2023, 9:06 a.m.