[R] confidence interval given by prop.test()

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Sep 24 21:49:23 CEST 2001

mai at ms.uky.edu wrote:
> Dear R-help,
> > prop.test(9, 137, p=0.066)
> > prop.test(9, 137, p=0.05)
> give two different 95% confidence intervals.
> I thought the confidence interval calculation
> should be independent of testing calculations (and thus
> the null hypothesis)?

You can transform a two sided test problem into a confidence interval
and vice versa.
Why should the confidence intervals be the same for different
probabilities of success in this case?
> Splus 2000 has similar problems but give slightly different
> answer.

Uwe Ligges
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