Description Usage Arguments Value Author(s) References Examples

The function computes exact values of the power of the randomized UMPU test for relevant differences between two binomial distributions and the conservative nonrandomized version of that test. It is assumed that the samples being available from both distributions are independent.

1 | ```
bi2rlv1(m,n,rho1,rho2,alpha,p1,p2)
``` |

`m` |
size of Sample 1 |

`n` |
size of Sample 2 |

`rho1` |
lower limit of the hypothetical equivalence range for the odds ratio |

`rho2` |
upper limit of the hypothetical equivalence range for the odds ratio |

`alpha` |
significance level |

`p1` |
true success rate in Population 1 |

`p2` |
true success rate in Population 2 |

`m` |
size of Sample 1 |

`n` |
size of Sample 2 |

`rho1` |
lower limit of the hypothetical equivalence range for the odds ratio |

`rho2` |
upper limit of the hypothetical equivalence range for the odds ratio |

`alpha` |
significance level |

`p1` |
true success rate in Population 1 |

`p2` |
true success rate in Population 2 |

`POWNR` |
power of the nonrandomized version of the test |

`POW` |
power of the randomized UMPU test |

Stefan Wellek <[email protected]>

Peter Ziegler <[email protected]>

Wellek S: Testing statistical hypotheses of equivalence and noninferiority. Second edition.
Boca Raton: Chapman & Hall/CRC Press, 2010, *Par.* 11.3.3.

1 2 | ```
bi2rlv1(200,300,.6667,1.5,.05,.25,.10)
``` |

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.