Description Usage Arguments Value Examples
The sSize.norm()
is used to calculate the sample size
used in the standard design with continuous endpoint.
1 | sSize.norm(alpha, beta, theta, side, r, sigma2)
|
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 |
A list contains the total sample size, and the sample sizes required for the experimental and control arms.
1 2 3 4 5 6 7 8 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.