sSize.norm {esDesign} | R Documentation |
Sample size calculation for the standard design with continuous endpoint
Description
The sSize.norm()
is used to calculate the sample size
used in the standard design with continuous endpoint.
Usage
sSize.norm(alpha, beta, theta, side, r, sigma2)
Arguments
alpha |
The Type I error rate or the significant level |
beta |
beta The |
theta |
The size of treatment effect |
side |
One-sided or two-sided Test |
r |
The ratio of sample size between the experimental and control arms |
sigma2 |
The variance of the treatment effect |
Value
A list contains the total sample size, and the sample sizes required for the experimental and control arms.
Examples
alpha <- 0.05
beta <- 0.2
theta <- 0.2
side <- 1
r <- 1
sigma2 <- 0.8
sSize.norm(alpha = alpha, beta = beta, theta = theta,
side = side, r = r, sigma2 = sigma2)
[Package esDesign version 1.0.3 Index]