Learn R Programming

NSM3 (version 1.1)

cLepage: Computes a critical value for the Lepage D distribution.

Description

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

Usage

cLepage(alpha, m, n, method=NA, n.mc=10000)

Arguments

Value

Returns a list with "NSM3Ch5c" class containing the following components:mnumber of observations in the first data group (X)nnumber of observations in the second data group (Y)cutoff.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 5.3 Platelet Counts of Newborn Infants
cLepage(0.02,10,6,"Exact")
cLepage(0.02,10,6,"Monte Carlo")
cLepage(0.02,10,6,"Asymptotic")

Run the code above in your browser using DataLab