vanElteren.test {npsm}R Documentation

vanElteren test for stratified analysis

Description

Performs the vanElteren extension of the Wilcoxon rank sum test for stratified experiments.

Usage

vanElteren.test(g, y, b)

Arguments

g

n x 1 vector: treatment/group indicator

y

n x 1 vector: responses

b

n x 1 vector: denotes strata

Value

statistic

Value of the test statistic.

p.value

p-value based on a normal approximation.


[Package npsm version 1.1.1 Index]