Function to compute the upper-tail probability of the range of k independent N(0,1) random variables for a given cutoff.
Uses the integrate function based on the method proposed in Harter (1960).
pRangeNor(x,k)
x |
Cutoff at which the upper-tail P-value is to be calculated. |
k |
Number of independent Normal random variables. |
Returns the upper tail probability at the user-specified cutoff.
Grant Schneider
Harter, H. Leon. "Tables of range and studentized range." The Annals of Mathematical Statistics (1960): 1122-1147.
##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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.