Learn R Programming

NSM3 (version 1.18)

cHayStonLSA: Computes a critical value for the Hayter-Stone W* asymptotic distribution.

Description

This function computes the critical value for the Hayter-Stone W* asymptotic distriburion at the given alpha level.

Usage

cHayStonLSA(alpha,k,delta=.001)

Value

Returns the cutoff (based on the specified grid) with upper tail probability nearest to alpha.

Arguments

alpha

A numeric value between 0 and 1.

k

A numeric value indicating the number of the data groups (with assumed equal sizes).

delta

Increment used to create the grid on which the distribution will be approximated.

Author

Grant Schneider

Details

The Asymptotic distribution requires that all (unspecified) group sizes are equal.

References

Hayter, Anthony J., and Wei Liu. "Exact calculations for the one-sided studentized range test for testing against a simple ordered alternative." Computational statistics & data analysis 22.1 (1996): 17-25.

Examples

Run this code
##Hollander-Wolfe-Chicken Example 6.7 Motivational Effect of Knowledge of Performance:
cHayStonLSA(.0553,3,delta=0.01)

##Section preceding Example 6.7 (explaining LSA)
cHayStonLSA(.05,6,delta=0.01)

Run the code above in your browser using DataLab