Skip to content
Prev 11647 / 398502 Next

AW: [R] binom.test appropriate?

On Sat, 9 Jun 2001, [iso-8859-1] Lüdde Mirko wrote:

            
But: the test for p = p0 vs p > p0 is the appropriate test for
p <= p0 vs p > p0 within this family of tests, by the monotonicity
properties.

You mentioned a 2 x 2 table and UMPU, but did not say exactly what you are
doing or how the data were sampled, nor how this hypothesis arises.  Under
one set of assumptions, I believe the UMPU theory you mention tells you to
use the binom.test for p = p0 vs p > p0, but it may be that other tests
(Fisher's exact test springs to mind) are more appropriate.  (And the last
U can be insidious, just as it can be for estimation.)

It's rare to have hypotheses like p = p0 or p <= p0 with p0 known
precisely: Mendelian genetics provides almost all the examples I have ever
seen.  If p0 comes from past experience, then it's a different problem.

[...]