Learn R Programming

TrialSize (version 1.4)

Nonpara.One.Sample: One Sample Location problem in Nonparametric

Description

Ho: theta=0

Ha: theta is not equal to 0.

Usage

Nonpara.One.Sample(alpha, beta, p2, p3, p4)

Arguments

alpha

significance level

beta

power = 1-beta

p2

\(p2=P(|z_i|>=|z_j|,z_i>0)\)

p3

\(p3=P(|z_i|>=|z_{j1}|,|z_i|>=|z_{j2}|,z_i>0)\)

p4

\(p4=P(|z_{j1}|>=|z_i|>=|z_{j2}|,z_{j1}>0,z_i>0)\)

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.2<-Nonpara.One.Sample(0.05,0.2,0.3,0.4,0.05)
Example.14.2
# 383

# }

Run the code above in your browser using DataLab