Description Usage Arguments Value Author(s) References Examples

Given the group sequential design information, returns the simulated overall power.

1 2 | ```
TwoGrpCopriEndpt.SimPower(mu11,mu12, mu21, mu22, rho, tau,
alpha1, alpha2, alternative , Nmax, B)
``` |

`mu11` |
standardized mean value for coprimary endpoint 1 in group 1. |

`mu12` |
standardized mean value for coprimary endpoint 2 in group 1. |

`mu21` |
standardized mean value for coprimary endpoint 1 in group 2. |

`mu22` |
standardized mean value for coprimary endpoint 2 in group 2. |

`rho` |
correlation coefficient between two coprimary endpoints. |

`tau` |
information time for the interim analysis. |

`alpha1` |
significant level for the first stage. |

`alpha2` |
significant level for the second stage. |

`alternative` |
indicates the alternative hypothesis and must be one of |

`Nmax` |
maximum sample size per group. |

`B` |
the simulation iterative time. |

The evaluated power with attributes and computational error.

Yalin Zhu

Chang, M. (2014). Adaptive design theory and implementation using SAS and R.
*CRC Press*.

1 2 3 | ```
# Example in Chang (2014) page 275
TwoGrpCopriEndpt.SimPower(mu11=0.2,mu12=0.25, mu21=0.005, mu22=0.015, rho=0.25,
tau=0.5, alpha1=0.0025, alpha2=0.024, alternative = "two.sided",Nmax=584, B=10000)
``` |

```
[1] 1e-04
```

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.