This function computes the critical value for the Nemenyi, Wilcoxon-Wilcox, Miller R* distribution at (or typically in the "Exact" and "Monte Carlo" cases, close to) the given alpha level.
cNWWM(alpha, k, n, method=NA, n.mc=10000)
Returns a list with "NSM3Ch7c" class containing the following components:
number of treatments
number of blocks
upper tail cutoff at or below user-specified alpha
true alpha level corresponding to cutoff.U (if method="Exact" or "Monte Carlo")
A numeric value between 0 and 1.
A numeric value indicating the number of treatments.
A numeric value indicating the number of blocks.
Either "Exact", "Monte Carlo" or "Asymptotic", indicating the desired distribution. When method=NA, "Exact" will be used if the number of permutations is 10,000 or less. Otherwise, "Monte Carlo" will be used.
If method="Monte Carlo", the number of Monte Carlo samples used to estimate the distribution. Otherwise, not used.
Grant Schneider
##Hollander-Wolfe-Chicken Example 7.4 Stuttering Adaptation
#cNWWM(.0492, 3, 18, "Monte Carlo")
cNWWM(.0492, 3, 18, method="Monte Carlo",n.mc=2500)
##Comment 7.35
cNWWM(.0093, 3, 3, "Exact")
#cNWWM(.0093, 3, 3, "Monte Carlo")
Run the code above in your browser using DataLab