StudentWilcoxon: Studentized Wilcoxon Rank-Sum Statistic

Description Usage Arguments Details Value Note Author(s) References

Description

This function returns a studentized version of Wilcoxon's rank sum statistic.

Usage

1
StudentWilcoxon(y, tr, tl, ...)

Arguments

y

Response variable (vector)

tr

Treatment variable (vector)

tl

The level of treatment variable (e.g., "treated" or 1) that indicates treated observations

...

Additional arguments (included for compatibility but ignored)

Details

As Chung and Romano (2013) show, using the studentized rank sum as a permutation test statistic yields an asymptotically valid test of the "weak null" that responses are equally likely to be higher under treatment and control.

Value

A scalar test statistic

Note

Returns NA if there are any missing values in y or tr.

Author(s)

Devin Caughey <devin.caughey@gmail.com>

References

Chung, E. and Romano, J. P. (2013) Exact and asymptotically robust permutation tests. Annals of Statistics, 41, 484-507.


NPC documentation built on May 2, 2019, 5:07 a.m.