cer {AGSDest} | R Documentation |
Calculates the conditional type I error rate of a GSD
cer(pT, iD)
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) |
cer
returns the conditional type I error rate
Niklas Hack niklas.hack@meduniwien.ac.at and Werner Brannath werner.brannath@meduniwien.ac.at
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.
##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))