Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)

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.

Details

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

Value

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

Author(s)

Grant Schneider

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

##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)

NSM3

Functions and Datasets to Accompany Hollander, Wolfe, and Chicken - Nonparametric Statistical Methods, Third Edition

v1.16
GPL-2
Authors
Grant Schneider, Eric Chicken, Rachel Becvarik
Initial release
2021-04-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.