natural.tolerance.normal.simple: Natural Tolerance - Normal/Gaussian Distribution

View source: R/natural.tolerance.normal.simple.R

natural.tolerance.normalR Documentation

Natural Tolerance - Normal/Gaussian Distribution

Description

Calculates the natural tolerance of a given probability distribution, defined as F(p.upper)-F(p.lower) where F is a quantile function for a given univariate distribution. Default is to calculate the natural tolerance with a total tail area of .0027, or .00135 on the lower tail and .00135 on the upper tail.

Usage

natural.tolerance.normal(x, ...)

natural.tolerance.normal.simple(mean = 1, variance = 1, ...)

Arguments

x

Vector/numeric - data to fit parameters

...

Additional parameters for natural.tolerance

mean

Scalar/numeric - mean parameter for normal distribution.

variance

Scalar/numeric - variance parameter for normal distribution, expressed as variance.

Value

Scalar or data.frame - scalar if details = F, otherwise data frame with details from calculation.


burrm/lolcat documentation built on Sept. 15, 2023, 11:35 a.m.