HoggAdapt:
Adaptive Choice of Rank-Based Test Statistic
Description
Implements the recommendations of Hogg et al. (1975) for data-driven selection of rank-based permutation test statistics. It is designed to select a powerful test statistic given the tailweight and skew of the distribution of y. Best used for continuous distributions that differ in location only (i.e., under a constant treatment effect assumption).
Usage
HoggAdapt(y)
Arguments
y
response variable (numeric vector)
Value
fun, a function designed to be used by the function NPC
References
Hogg, Robert V., Doris M. Fisher, and Ronald H. Randles. 1975. ``A Two-Sample Adaptive Distribution-Free Test.'' Journal of the American Statistical Association 70 (351): 656--661.