Description Usage Arguments Value Author(s) References Examples

The program computes the largest nominal significance level
which can be substituted for the target level *α* without making the exact
size of the asymptotic testing procedure larger than *α*.

1 | ```
mcnemasc(alpha,n,del0,sw,tol,maxh)
``` |

`alpha` |
significance level |

`n` |
sample size |

`del0` |
upper limit set to |

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

`tol` |
upper bound to the absolute difference between size and target level below which the search for a corrected nominal level terminates |

`maxh` |
maximum number of interval halving steps to be carried out in finding the maximally raised nominal level |

`alpha` |
significance level |

`n` |
sample size |

`del0` |
upper limit set to |

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

`ALPH_0` |
value of the corrected nominal level obtained after nh steps |

`NH` |
number of interval-halving steps actually performed |

`ERROR` |
error indicator messaging "!!!!!" if the sufficient condition for the correctness of the result output by the program was found violated |

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

1 | ```
mcnemasc(0.05,50,0.20,0.05,0.0005,5)
``` |

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.