Ho: * |p-p0| ≥ margin *

Ha: |p-p0| < margin

The proportion of response is equivalent to the reference p0 is the null hypothesis is rejected

1 | ```
OneSampleProportion.Equivalence(alpha, beta, p, delta, margin)
``` |

`alpha` |
significance level |

`beta` |
power = 1-beta |

`p` |
the true response rate |

`delta` |
delta=p-p0 the difference between the true response rate of a test drug and a reference value p0 |

`margin` |
the superiority or non-inferiority margin |

Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003

1 2 | ```
Example.4.1.4<-OneSampleProportion.Equivalence(0.05,0.2,0.6,0.05,.2)
Example.4.1.4
``` |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.