cRangeNor: Quantile function for the range of k independent N(0,1)...

Description Usage Arguments Value Author(s) References Examples

View source: R/cRangeNor.R

Description

Uses the integrate function based on the method proposed in Harter (1960).

Usage

1
cRangeNor(alpha,k)

Arguments

alpha

A numeric value between 0 and 1.

k

Number of independent Normal random variables.

Value

Returns the upper tail cutoff at or immediately below the user-specified alpha.

Author(s)

Grant Schneider

References

Harter, H. Leon. "Tables of range and studentized range." The Annals of Mathematical Statistics (1960): 1122-1147.

Examples

1
2
3
4
5
##Hollander-Wolfe-Chicken Example 7.3 Rounding First Base
cRangeNor(.01, 3)

##Hollander-Wolfe-Chicken Example 7.7 Chemical Toxicity
cRangeNor(.05, 7)

Example output

Loading required package: combinat

Attaching package:combinatThe following object is masked frompackage:utils:

    combn

Loading required package: MASS
Loading required package: partitions
Loading required package: survival
[1] 4.121
[1] 4.171

NSM3 documentation built on April 6, 2021, 5:05 p.m.

Related to cRangeNor in NSM3...