Thank you Stephen and Peter for your code and your answers!
Stephen, your NaN explanation makes sense - thank you for putting it so clearly.
Cheers,
Jenny
On Tue, Apr 2, 2019 11:10 AM, peter dalgaard pda...@gmail.com wrote:
>> My questions:1) Why is there a "-" instead of a numerical result
>> My questions:1) Why is there a "-" instead of a numerical result for pairs
>> 1-2,
>> 1-16, and 2-16?
>
> When the difference between the pair is zero, the p.value is NaN (not a
> number).
>
Not quite: When both groups have 0 successes (or both 0 failures), the test
stat has a divide-by-ze
> > 3) Is there a way to assign the numbers to the treatment group that they
> were
> > originally in? For example, "1" in the result should be "3", indicating that
> > that was the temperature the experiment took place at. Pairwise.prop.test
> > doesn't seem to accept matrices with more than 2 col
M University
> College Station, TX 77843-4352
>
> -Original Message-
> > From: R-help On Behalf Of Jenny Liu
> > Sent: Sunday, March 31, 2019 6:10 PM
> > To: r-help@r-project.org
> > Subject: [R] Pairwise testing with pairwise.prop.test
> >
> >
> Subject: [R] Pairwise testing with pairwise.prop.test
>
> Hi all,
>
> I have a few questions about the pairwise.prop.test function.
> I run the test using on the attached dataset (EggMortNoTemp) using the
> following
> code:
> EggMatrix<-as.matrix(EggMortNoTe
Hi all,
I have a few questions about the pairwise.prop.test function.
I run the test using on the attached dataset (EggMortNoTemp) using the following
code:
EggMatrix<-as.matrix(EggMortNoTemp) #making the egg mortality data a matrix.
pairwise.prop.test needs it to be a matrix
EggResults<-pairwis
6 matches
Mail list logo