mHP.c | R Documentation |

Compute the efficacy boundary (modified Haybittle-Peto) for the final (third) stage

mHP.c(prevalence, N, cov.J, mu.prime, Sigma.prime, alpha, btilde, b, theta)

`prevalence` |
the vector of prevalences between 0 and 1 summing
to 1. |

`N` |
a three-vector of total sample size at each stage |

`cov.J` |
the 3 x 3 covariance matrix for Z_J at each of the three stages |

`mu.prime` |
a list of |

`Sigma.prime` |
a list of |

`alpha` |
the amount of type I error to spend |

`btilde` |
the futility boundary |

`b` |
the efficacy boundary for the first two stages |

`theta` |
the effect size on the probability scale |

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.