[R] suggestion for proportions

Viechtbauer Wolfgang (STAT) wolfgang.viechtbauer at maastrichtuniversity.nl
Wed Sep 7 16:28:24 CEST 2011


Acutally,

?mcnemar.test

since it is paired data.

Best,

Wolfgang

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
> On Behalf Of Bert Gunter
> Sent: Wednesday, September 07, 2011 15:34
> To: John Sorkin
> Cc: r-help at r-project.org
> Subject: Re: [R] suggestion for proportions
> 
> Please! ...  ?prop.test
> 
> not t tests.
> 
> -- Bert
> 
> --
> 
> On Wed, Sep 7, 2011 at 4:21 AM, John Sorkin <JSorkin at grecc.umaryland.edu>
> wrote:
> > >From you description, you should not used a paired Student's t-test.
> One uses a paired test when pairs of observations come from the same
> experimental unit (and thus are correlated). You describe a study where
> each experimental unit is tested once and where there are two independent
> groups of experimental units. Look at t.test (i.e. enter ?t.test).
> > John
> >
> >>>> array chip <arrayprofile at yahoo.com> 9/7/2011 4:11 AM >>>
> > Hi, I am wondering if anyone can suggest how to test the equality of 2
> proportions. The caveat here is that the 2 proportions were calculated
> from the same number of samples using 2 different tests. So essentially we
> are comparing 2 accuracy rates from same, say 100, samples. I think this
> is like a paired test, but don't know if really we need to consider the
> "paired" nature of the data, and if yes then how? Or just use prop.test()
> to compare 2 proportions?
> >
> > Any suggestion would be greatly appreciated.
> >
> > Thanks
> >
> > John



More information about the R-help mailing list