Learn R Programming

NSM3 (version 1.1)

cBohnWolfe: Function to compute a critical value for the Bohn-Wolfe U distribution.

Description

This function uses Monte Carlo sampling to compute the critical value for the Bohn-Wolfe U distribution at (or close to) the given alpha level. The Monte Carlo samples are simulated based on the order statistics of a uniform(0,1) distribution.

Usage

cBohnWolfe(alpha,k,q,c,d,method="Monte Carlo",n.mc=10000)

Arguments

Value

Returns a list with "NSM3Ch5c" class containing the following components:mnumber of observations in RSS for the first data group (X)nnumber of observations in RSS for the second data group (Y)cutoff.Uupper tail cutoff at or below user-specified alphatrue.alpha.Utrue alpha level corresponding to cutoff.U

References

Bohn, Lora L., and Douglas A. Wolfe. "Nonparametric two-sample procedures for ranked-set samples data." Journal of the American Statistical Association 87.418 (1992): 552-561.

Examples

Run this code
cBohnWolfe(.0515,4,4,5,5)
cBohnWolfe(.0303,2,3,3,3)

Run the code above in your browser using DataLab