Nonpara.Two.Sample {TrialSize}R Documentation

Two sample location problem for Nonparametric

Description

Ho: theta=0;

Ha: theta is not equal to 0.

Usage

Nonpara.Two.Sample(alpha, beta, k, p1, p2, p3)

Arguments

alpha

significance level

beta

power = 1-beta

k

k=n1/n2

p1

p1=P(y_i \ge x_j)

p2

p2=P(y_i \ge x_{j1} ~and~ y_{i} \ge x_{j2})

p3

p3=P(y_{i1} \ge x_j ~and~ y_{i2} \ge x_{j})

References

Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003

Examples

Example.14.3<-Nonpara.Two.Sample(0.05,0.2,1,0.7,0.8,0.8)
Example.14.3
#54


[Package TrialSize version 1.4 Index]