MPbinomial function

Most Powerful Binomial Test

Most Powerful Binomial Test

The function returns the level alpha MP test for the testing the hypothesis H:p=p0 against K:p=p_1 as ensured by the application of Neyman-Pearson lemma.

MPbinomial(Hp, Kp, alpha, n)

Arguments

  • Hp: the value of p under hypothesis H
  • Kp: the value of p under hypothesis K
  • alpha: size of the test
  • n: sample size

Author(s)

Prabhanjan N. Tattar

See Also

binom.test

  • Maintainer: Prabhanjan Tattar
  • License: GPL-2
  • Last published: 2015-09-05

Useful links