Description Usage Arguments Value Author(s) References Examples

Sum up transformed observation time for each patient to get U in order to determine the trial: (1) goes to second stage (2) stops for futility (3) declares the treatment is promising and warrants for further study in a large scale phase III trial (4) declares the treatment is unpromising and is not worth for further study.

1 | ```
tot_time(obs_time, S0, x)
``` |

`obs_time` |
a vector. Each element represents an observation time of the patient |

`S0` |
the survival probability at timepoint x |

`x` |
the survival probability S0 at timepoint x |

the function returns the total transformed observation time for all patients

Chia-Wei Hsu, Haitao Pan, Jianrong Wu

Jianrong Wu, Haitao Pan, Chia-Wei Hsu (2021). "Bayesian Single-Arm Phase II Trial Designs with Time-to-Event Endpoints." Pharmaceutical Statistics. Accepted

1 2 3 4 5 6 |

BayesDesign documentation built on May 4, 2021, 9:07 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.