Learn R Programming

ACSWR (version 1.0.1)

MPbinomial: Most Powerful Binomial Test

Description

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.

Usage

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

Prabhanjan N. Tattar

See Also

binom.test