50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

npsm (version 2.0.0)

vanElteren.test: 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)

Value

statistic

Value of the test statistic.

p.value

p-value based on a normal approximation.

Arguments

g

n x 1 vector: treatment/group indicator

y

n x 1 vector: responses

b

n x 1 vector: denotes strata