Learn R Programming

NSM3 (version 1.1)

cPage: Function to compute a critical value for the Page L distribution.

Description

This function computes the critical value for the Page L distriburion at (or typically in the "Exact" and "Monte Carlo" cases, close to) the given alpha level.

Usage

cPage(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.2 Breaking Strength of Cotton Fibers
#cPage(.0097, 5, 3,"Exact")
cPage(.0097, 5, 3,"Monte Carlo")

Run the code above in your browser using DataLab