cer: Conditional type I error rate (also called conditional...

View source: R/cer.R

cerR Documentation

Conditional type I error rate (also called conditional rejection probability)

Description

Calculates the conditional type I error rate of a GSD

Usage

cer(pT, iD)

Arguments

pT

object of the class GSTobj; primary trial design

iD

interim data; a list with the variables T and z; list(T = stage of interim analysis, z = interim z-statistic)

Value

cer conditional type I error rate

Author(s)

Niklas Hack niklas.hack@meduniwien.ac.at and Werner Brannath werner.brannath@meduniwien.ac.at

References

Mueller, HH, Schaefer, H (2001) ”Adaptive group sequential design for clinical trials: Combining the advantages of adaptive and of classical group sequential approaches”, Biometrics, 57, 886-891.

See Also

plan.GST

Examples

##The following calculates the conditional type I error rate
##under the null hypotesis after an adaptation at the second stage
##of the primary trial.
pT=plan.GST(K=4,SF=1,phi=0,alpha=0.025,delta=6,pow=0.8,compute.alab=TRUE,compute.als=TRUE)
cer(pT=pT,iD=list(T=2, z=1.09))

AGSDest documentation built on March 18, 2022, 6:30 p.m.