Mean.1Pop.PredictionInterval: One Population Mean - Prediction Interval

Description Usage Arguments Value

Description

Constructs a 100(1-alpha) percent prediction interval for the future observation of a single population's mean.

Usage

1
2
Mean.1Pop.PredictionInterval(xbar, variance, n, alpha = 0.05,
  popVarKnown = F, one.sided = F)

Arguments

xbar

the mean of the sample

variance

either the sample or population variance (the latter only if it is known)

n

the size of the sample

alpha

the significance level. Set to 0.05 by default.

popVarKnown

boolean denoting whether the population variance is known. False by default.

one.sided

boolean denoting whether the function should return one-sided confidence intervals. False by default.

Value

The confidence interval(s): one-sided lower and upper bounds (in a list) or just the two-sided confidence interval (as a simple vector).


AleksandrHovhannisyan/StatisticalInferencesInR documentation built on May 26, 2019, 6:38 a.m.