[R-sig-teaching] prop.test in R
Laura Chihara
lchihara at carleton.edu
Mon Oct 25 23:15:20 CEST 2010
Yes, thank you for this reference. But according to
this article, the score is better than continuity
correction, so why is continuity correction the default
with prop.test?
-Laura
On 10/25/2010 4:02 PM, Ralph O'Brien, PhD wrote:
> I suggest:
>
> A. Agresti and B. A. Coull. Approximate is better than ”exact” for
> interval estimation of binomial proportions. The American Statistician,
> 52(2):119–126, 1998.
>
>
>
>
>
>
>
> On Mon, Oct 25, 2010 at 4:38 PM, Laura Chihara <lchihara at carleton.edu
> <mailto:lchihara at carleton.edu>> wrote:
>
> Hi,
>
> I have a question about prop.test in R:
>
> I teach students the score confidence
> interval for proportions (also called
> Wilson or Wilson score interval).
>
> prop.test(,..., correct=FALSE) gives this
> interval.
>
> The default uses a continuity correction.
> When should we use one over the other?
> Is it worth going over this in class? Why
> is correct=TRUE the default?
>
> Thanks for any pedagogical guidance here!
>
> -- Laura
>
> *******************************************
> Laura Chihara
> Professor of Mathematics 507-222-4065 (office)
> Dept of Mathematics 507-222-4312 (fax)
> Carleton College
> 1 North College Street
> Northfield MN 55057
>
> _______________________________________________
> R-sig-teaching at r-project.org <mailto:R-sig-teaching at r-project.org>
> mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-teaching
>
>
>
>
> --
> Ralph O'Brien, PhD
> Professor, Dept of Epidemiology and Biostatistics
> Case Western Reserve University
> Office: 216.368.1927
> Cell: 216.312.3203
--
*******************************************
Laura Chihara
Professor of Mathematics 507-222-4065 (office)
Dept of Mathematics 507-222-4312 (fax)
Carleton College
1 North College Street
Northfield MN 55057
More information about the R-sig-teaching
mailing list