Learn R Programming

NSM3 (version 1.1)

cWNMT: Computes a critical value for the Wilcoxon, Nemenyi, McDonald-Thompson R distribution.

Description

This function computes the critical value for the Wilcoxon, Nemenyi, McDonald-Thompson R distribution at (or typically in the "Exact" and "Monte Carlo" cases, close to) the given alpha level.

Usage

cWNMT(alpha, k, n, method=NA, n.mc=10000)

Arguments

Value

Returns a list with "NSM3Ch7c" class containing the following components:knumber of treatmentsnnumber of blockscutoff.Uupper tail cutoff at or below user-specified alphatrue.alpha.Utrue alpha level corresponding to cutoff.U (if method="Exact" or "Monte Carlo")

Examples

Run this code
##Hollander-Wolfe-Chicken Example 7.3 Rounding First Base
#cWNMT(.047, 3, 15)
cWNMT(.047, 3, 15,n.mc=5000)

##Chapter 7 Comment 26
#cWNMT(.083, 4, 2)
cWNMT(.083, 4, 2,n.mc=5000)

Run the code above in your browser using DataLab