pRangeNor {NSM3} | R Documentation |
Function to compute the upper-tail probability of the range of k independent N(0,1) random variables for a given cutoff.
Description
Uses the integrate function based on the method proposed in Harter (1960).
Usage
pRangeNor(x,k)
Arguments
x |
Cutoff at which the upper-tail P-value is to be calculated. |
k |
Number of independent Normal random variables. |
Value
Returns the upper tail probability at the user-specified cutoff.
Author(s)
Grant Schneider
References
Harter, H. Leon. "Tables of range and studentized range." The Annals of Mathematical Statistics (1960): 1122-1147.
Examples
##Hollander-Wolfe-Chicken Example 7.3 Rounding First Base
pRangeNor(4.121,3)
##Hollander-Wolfe-Chicken Example 7.7 Chemical Toxicity
pRangeNor(4.171,7)
[Package NSM3 version 1.18 Index]