Dear R-help,

I'm using prop.test() to compute a confidence interval for a proportion
under R version 2.4.1, as in:

prop.test(x = 340, n = 400)$conf
[1] 0.8103309 0.8827749

I have two questions:

1) from the source code my understanding is that the confidence
interval is computed according to Wilson, E.B. (1927) Probable
inference, the law of succession, and statistical inference.
J. Am. Stat. Assoc., 22:209-212.
Is it correct?

2) The doc says "Continuity correction is used only if it does not exceed
the difference between sample and null proportions in absolute value."
Does someone has a reference in which this point is discussed?

Best,
-- 
Jean R. Lobry            ([EMAIL PROTECTED])
Laboratoire BBE-CNRS-UMR-5558, Univ. C. Bernard - LYON I,
43 Bd 11/11/1918, F-69622 VILLEURBANNE CEDEX, FRANCE
allo  : +33 472 43 27 56     fax    : +33 472 43 13 88
http://pbil.univ-lyon1.fr/members/lobry/

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to