natural.tolerance.chisquare.simple: Natural Tolerance - Chi Square Distribution

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

natural.tolerance.chisquare.simpleR Documentation

Natural Tolerance - Chi Square 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.chisquare.simple(df = 1, ncp = 0, ...)

Arguments

df

Scalar/numeric - degrees of freedom.

ncp

Scalar/numeric - non-centrality parameter in case of noncentral chi square distribution.

...

Additional parameters for natural.tolerance

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.