Learn R Programming

TrialSize (version 1.4)

Nonpara.Two.Sample: 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

Run this code
# NOT RUN {
Example.14.3<-Nonpara.Two.Sample(0.05,0.2,1,0.7,0.8,0.8)
Example.14.3
#54

# }

Run the code above in your browser using DataLab