Learn R Programming

AGSDest (version 2.3.4)

cer: 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

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

Run this code
# NOT RUN {
##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))
# }

Run the code above in your browser using DataLab