AW: [R] binom.test appropriate?
Lüdde Mirko
mirko.luedde at cellcontrol.de
Sat Jun 9 08:37:45 CEST 2001
No,
since I'd like to test
null: p <= p0
alternative: p > p0.
and my understanding is that binom.test tests
null: p = p0 (can only be a "simple" null hypothesis
according to help(binom.test))
alternative: p > p0 (or p < p0 or p != p0).
Thanks, Mirko.
> -----Ursprüngliche Nachricht-----
> Von: Douglas Bates [mailto:bates at stat.wisc.edu]
> Gesendet: Freitag, 8. Juni 2001 20:51
> An: Lüdde Mirko
> Betreff: Re: [R] binom.test appropriate?
>
>
> Lüdde Mirko <mirko.luedde at cellcontrol.de> writes:
>
> > Hi there,
> >
> > as part of a 2 x 2 contingency table analysis I would like
> to estimate
> > conditional probabilities (success rates) in a Bernoulli
> > experiment. In particular I want to test a null hypothesis p <= p0
> > versus the alternative hypothesis p > p0.
> >
> > As far as I understand the subject, there are UMPU tests for these
> > types of hypotheses.
> >
> > Now I know about R's "binom.test" but the help text is telling me it
> > will test only simple null hypotheses of the form p = p0.
>
> The help page says that the "alternative" argument can be used to
> specify "greater" as the alternative hypothesis. Isn't this what you
> want?
>
>
> binom.test package:ctest R Documentation
>
> Exact Binomial Test
>
> Description:
>
> Performs an exact test of a simple null hypothesis about the
> probability of success in a Bernoulli experiment.
>
... snipped ...
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list