TwoGrpCopriEndpt.SimPower: Power Simulation for Two Group Two Coprimary Endpoints Group...

Description Usage Arguments Value Author(s) References Examples

Description

Given the group sequential design information, returns the simulated overall power.

Usage

1
2
TwoGrpCopriEndpt.SimPower(mu11,mu12, mu21, mu22, rho, tau,
 alpha1, alpha2, alternative , Nmax, B)

Arguments

mu11

standardized mean value for coprimary endpoint 1 in group 1.

mu12

standardized mean value for coprimary endpoint 2 in group 1.

mu21

standardized mean value for coprimary endpoint 1 in group 2.

mu22

standardized mean value for coprimary endpoint 2 in group 2.

rho

correlation coefficient between two coprimary endpoints.

tau

information time for the interim analysis.

alpha1

significant level for the first stage.

alpha2

significant level for the second stage.

alternative

indicates the alternative hypothesis and must be one of "two.sided" or "two.sided".

Nmax

maximum sample size per group.

B

the simulation iterative time.

Value

The evaluated power with attributes and computational error.

Author(s)

Yalin Zhu

References

Chang, M. (2014). Adaptive design theory and implementation using SAS and R. CRC Press.

Examples

1
2
3
# Example in Chang (2014) page  275
TwoGrpCopriEndpt.SimPower(mu11=0.2,mu12=0.25, mu21=0.005, mu22=0.015, rho=0.25,
tau=0.5, alpha1=0.0025, alpha2=0.024, alternative = "two.sided",Nmax=584, B=10000)

Example output

[1] 1e-04

ADCT documentation built on May 2, 2019, 9:40 a.m.