computeMHPBoundaries {ASSISTant} | R Documentation |

## Compute the three modified Haybittle-Peto boundaries

### Description

Compute the three modified Haybittle-Peto boundaries

### Usage

```
computeMHPBoundaries(prevalence, N, alpha, beta, eps, futilityOnly = FALSE)
```

### Arguments

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

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

`alpha` |
the type I error |

`beta` |
the type II error |

`eps` |
the fraction (between 0 and 1) of the type 1 error to spend in the interim stages 1 and 2 |

`futilityOnly` |
a logical value indicating only the futility
boundary is to be computed; default |

### Value

a named vector of three values containing
`\tilde{b}`

, b, c

[Package

*ASSISTant*version 1.4.3 Index]