Estimates k-factors for tolerance intervals based on Howe's method with normality assumption.

k_factor(n, alpha = 0.05, P = 0.99, side = 1)

## Arguments

n |
Sample size |

alpha |
The level chosen such that (1-alpha) is the confidence level. |

P |
The proportion of the population to be covered by the tolerance interval. |

side |
Whether a 1-sided or 2-sided tolerance interval is required (determined by `side = 1` or `side = 2` , respectively). |

## Value

The estimated k-factor for tolerance intervals assuming normality.

## Note

This function is a simplified version of `tolerance::K.factor()`

, only considering Howe's method.

## See also

## Examples

k_factor(10, P = 0.95, side = 2)

#> [1] 3.407495