Learn R Programming

NSM3 (version 1.1)

cMackSkil: Computes a critical value for the Mack-Skillings MS distribution.

Description

This function computes the critical value for the Mack-Skillings MS distribution at (or typically in the "Exact" and "Monte Carlo" cases, close to) the given alpha level.

Usage

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

Arguments

Value

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

Examples

Run this code
##Hollander-Wolfe-Chicken Example 7.9 Determination of Niacin in Bran Flakes
cMackSkil(.0501,4,3,3)
##Hollander-Wolfe-Chicken Chapter 7 Comment 72
cMackSkil(.0502,4,4,3)

Run the code above in your browser using DataLab