Learn R Programming

NSM3 (version 1.1)

cSDCFlig: Computes a critical value for the Dwass, Steel, Critchlow-Fligner W distribution.

Description

This function computes the critical value for the Dwass, Steel, Critchlow-Fligner W distribution at (or typically in the "Exact" and "Monte Carlo" cases, close to) the given alpha level.

Usage

cSDCFlig(alpha, n, method=NA, n.mc=10000)

Arguments

Value

Returns a list with "NSM3Ch6c" class containing the following components:nnumber of observations in the k data groupscutoff.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 Chapter 6 Comment 55
#cSDCFlig(.0331, c(3, 5, 7),n.mc=10000)
cSDCFlig(.0331, c(3, 5, 7),n.mc=2500)

##Another example
#cSDCFlig(alpha=0.05,n=rep(4,3),method="Exact")
cSDCFlig(alpha=0.05,n=rep(4,3),method="Monte Carlo",n.mc=2500)
#cSDCFlig(alpha=0.05,n=rep(4,3),method="Asymptotic")

Run the code above in your browser using DataLab