AED.sim: Conduct the simulation studies of the Adaptive Enrichment...

Description Usage Arguments Value References Examples

View source: R/esDesign.R

Description

The AED.sim() is used to conduct the simulation studies of the Adaptive Enrichment Design without early stopping boundary. The AED design is quite similar with the AED1_SSR design. But, in the AED design, the futility stopping boundary and the Sample Size Re-estimation Procedure are removed. On the contrary, a fixed sample size is used to replace the sample size re-estimated procedure. In addition, an ε-rule is also introduced to select the subgroup with larger subgroup-specific test statistic.

Usage

1
2
AED.sim(N1, N2, rho, alpha, beta, theta, theta0, K, Info, epsilon, sigma0,
  nSim, Seed)

Arguments

N1

The sample size used at the first stage

N2

The sample size used at the second stage

rho

The proportion of the subgroup 1

alpha

The overall Type I error rate

beta

The (1 - Power)

theta

The sizes of treatment effects in subgroups 1 and 2 among the experimental arm

theta0

The size of treatment effect in standard arm

K

The number of subgroups

Info

The observed information

epsilon

The threshold of difference between the subgroup-specific test statistics

sigma0

The variance of the treatment effect

nSim

The number of simulated studies

Seed

The random Seed

Value

A list contains

References

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
N1 <- 310
N2 <- 310
rho <- 0.5
alpha <- 0.05
beta <- 0.20
theta <- c(0,0)
theta0 <- 0
K <- 2
Info <- 0.5
epsilon <- 0.5
sigma0 <- 1
nSim <- 1000
Seed <- 6
AED.sim(N1 = N1, N2 = N2, rho = rho, alpha = alpha,
        beta = beta, theta = theta, theta0 = theta0,
        K  = K, Info = Info, epsilon = epsilon,
        sigma0 = sigma0, nSim = nSim, Seed = Seed)

esDesign documentation built on May 2, 2019, 10:41 a.m.

Related to AED.sim in esDesign...