Description Usage Arguments Details Value Author(s) References Examples

View source: R/bi2wld_ni_del.R

Implementation of the construction described on pp. 183-5 of Wellek S (2010) Testing statistical hypotheses of equivalence and noninferiority. Second edition.

1 | ```
bi2wld_ni_del(N1,N2,EPS,SW,ALPHA,MAXH)
``` |

`N1` |
size of Sample 1 |

`N2` |
size of Sample 2 |

`EPS` |
noninferiority margin to the difference of success probabilities |

`SW` |
width of the search grid for determining the maximum of the rejection probability on the common boundary of the hypotheses |

`ALPHA` |
target significance level |

`MAXH` |
maximum number of interval-halving steps |

The program computes the largest nominal significance level
to be used for determining the critical lower bound to the Wald-type statistic for the
problem of testing *H:p_1 ≤ p_2 - \varepsilon* versus *K: p_1 < p_2 - \varepsilon*.

`N1` |
size of Sample 1 |

`N2` |
size of Sample 2 |

`EPS` |
noninferiority margin to the difference of success probabilities |

`SW` |
width of the search grid for determining the maximum of the rejection probability on the common boundary of the hypotheses |

`ALPHA` |
target significance level |

`MAXH` |
maximum number of interval-halving steps |

`ALPHA0` |
corrected nominal level |

`SIZE0` |
size of the critical region of the test at nominal level ALPHA0 |

`SIZE_UNC` |
size of the test at uncorrected nominal level ALPHA |

`ERR_IND` |
indicator taking value 1 when it occurs that the sufficient condition allowing one to restrict the search for the maximum of the rejection probability under the null hypothesis to its boundary, fails to be satisfied; otherwise the indicator retains its default value 0. |

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.* 6.6.3.

1 | ```
bi2wld_ni_del(25,25,.10,.01,.05,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.