It returns c(PET0, PET1), where PET0 = prob(E-C>m1 & E>t1|H0) using bivariate normal density.
Input the estimated RMST mean and variance of each group (control and experiment)
and the critical value (m1,t1)
Usage
PET_norm(mu_c, var_c, mu_e, var_e, m1, t1)
Arguments
- mu_c
Mean of the control group.
- var_c
Variance of the control group.
- mu_e
Mean of the experimental group.
- var_e
Variance of the experimental group.
- m1
Threshold for RMST difference E-C at interim analysis.
- t1
Time point for Experimental group RMST E at interim analysis.
Value
Probability of Early Termination (PET).