OneArm.CondPower: Conditional power for one-arm, two-stage design with two...

Description Usage Arguments Value Author(s) References Examples

Description

Given the group sequential design information, returns the conditional power.

Usage

1
OneArm.CondPower(mu1, mu2, n1, n2, rho, tau, alpha2, alternative)

Arguments

mu1

mean value for the first stage (endpoint 1).

mu2

mean value for the second stage (endpoint 2).

n1

sample size for the first stage.

n2

sample size for the second stage.

rho

correlation coefficient between two coprimary endpoints.

tau

information time for the interim analysis.

alpha2

significant level for the second stage.

alternative

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

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
4
5
# Example in Chang (2014) page  277
OneArm.CondPower(mu1=0.1333, mu2=0.1605, n1=130, n2=130, rho=0.35,
 tau=0.5, alpha2=0.024, alternative = "one.sided")
OneArm.CondPower(mu1=0.1333, mu2=0.1605, n1=130, n2=414, rho=0.35,
 tau=0.5, alpha2=0.024, alternative = "one.sided")

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

Related to OneArm.CondPower in ADCT...