Re: [R] OT: A test with dependent samples.

2009-02-15 Thread Emmanuel Charpentier
Dear List, Catching up with my backlog, I stumbled upon this : On Wed, 11 Feb 2009 10:33:13 +1300, Rolf Turner wrote : > I am appealing to the general collective wisdom of this list in respect > of a statistics (rather than R) question. This question comes to me > from a friend who is a veterin

Re: [R] OT: A test with dependent samples.

2009-02-11 Thread Rolf Turner
.@r- project.org] On Behalf Of Rolf Turner Sent: Dienstag, 10. Februar 2009 22:33 To: R-help Forum Subject: [R] OT: A test with dependent samples. I am appealing to the general collective wisdom of this list in respect of a statistics (rather than R) question. This question comes to me

Re: [R] OT: A test with dependent samples.

2009-02-11 Thread Meyners, Michael, LAUSANNE, AppliedMathematics
ronger to me then. In other words: Mathematically, you'll get an appropriate test, while conceptually, I'm far from being convinced. Hope this makes sense, Michael -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Ro

Re: [R] OT: A test with dependent samples.

2009-02-11 Thread Bernardo Rangel Tura
Mail: richs...@earthlink.net > > - Original Message - > From: "David Winsemius" > To: "Rolf Turner" > Cc: "R-help Forum" > Sent: Tuesday, February 10, 2009 4:50 PM > Subject: Re: [R] OT: A test with dependent samples. > >

Re: [R] OT: A test with dependent samples.

2009-02-10 Thread David Winsemius
.D. Richland Statistics 9800 N 24th St Richland, MI, USA 49083 Mail: richs...@earthlink.net - Original Message - From: "David Winsemius" > To: "Rolf Turner" Cc: "R-help Forum" Sent: Tuesday, February 10, 2009 4:50 PM Subject: Re: [R] OT: A test with depe

Re: [R] OT: A test with dependent samples.

2009-02-10 Thread Gabor Grothendieck
There are a number of others considerations as well. Were all the cats given the same dose? If we can establish that the cats that vomited had a higher dose than the ones that did not then this would be further evidence. Or if the cats that vomitted had a lower dose perhaps the drug is protectiv

Re: [R] OT: A test with dependent samples.

2009-02-10 Thread Murray Cooper
Sent: Tuesday, February 10, 2009 4:50 PM Subject: Re: [R] OT: A test with dependent samples. In the biomedical arena, at least as I learned from Rosner's introductory text, the usual approach to analyzing paired 2 x 2 tables is McNemar's test. ?mcnemar.test > mcnemar.test(matrix

Re: [R] OT: A test with dependent samples.

2009-02-10 Thread Rolf Turner
On 11/02/2009, at 1:06 PM, Bert Gunter wrote: The only question at issue (i.e. capable of being addressed) is: is giving the drug to non-vomiting cats associated with vomiting? (I would strongly suspect that cats that were vomiting beforehand would have been excluded from the study, as the

Re: [R] OT: A test with dependent samples.

2009-02-10 Thread markleeds
: Tuesday, February 10, 2009 2:54 PM To: Bert Gunter Cc: 'David Winsemius'; 'Rolf Turner'; r-help@r-project.org Subject: Re: [R] OT: A test with dependent samples. Hi: Bert: can you do that because the null is that they are equal before and after, not that the prop

Re: [R] OT: A test with dependent samples.

2009-02-10 Thread Bert Gunter
om: markle...@verizon.net [mailto:markle...@verizon.net] Sent: Tuesday, February 10, 2009 2:54 PM To: Bert Gunter Cc: 'David Winsemius'; 'Rolf Turner'; r-help@r-project.org Subject: Re: [R] OT: A test with dependent samples. Hi: Bert: can you do that because the null is that they are

Re: [R] OT: A test with dependent samples.

2009-02-10 Thread David Winsemius
Still seems that McNemar's test is the appropriate test for the matched design, but my first answer sent the input to the function incorrectly, and it's not clear that a normal theory test would be accurate in all instances. The matrix should have 61 cats with no vomiting under either situa

Re: [R] OT: A test with dependent samples.

2009-02-10 Thread markleeds
009 1:51 PM To: Rolf Turner Cc: R-help Forum Subject: Re: [R] OT: A test with dependent samples. In the biomedical arena, at least as I learned from Rosner's introductory text, the usual approach to analyzing paired 2 x 2 tables is McNemar's test. ?mcnemar.test mcnemar.test(matrix(c(

Re: [R] OT: A test with dependent samples.

2009-02-10 Thread Marc Schwartz
on 02/10/2009 03:33 PM Rolf Turner wrote: > > I am appealing to the general collective wisdom of this > list in respect of a statistics (rather than R) question. This question > comes to me from a friend who is a veterinary oncologist. In a study that > she is writing up there were 73 cats who w

Re: [R] OT: A test with dependent samples.

2009-02-10 Thread Bert Gunter
ehalf Of David Winsemius Sent: Tuesday, February 10, 2009 1:51 PM To: Rolf Turner Cc: R-help Forum Subject: Re: [R] OT: A test with dependent samples. In the biomedical arena, at least as I learned from Rosner's introductory text, the usual approach to analyzing paired 2 x 2 tables is McNe

Re: [R] OT: A test with dependent samples.

2009-02-10 Thread Charles C. Berry
73 cats were treated. None barfing before and 12 after. This gives the table: | After | Yes | No | Total | |+-++---| | Before Yes | 0 | 0 | 0 | | Before No | 12 | 61 |73 | |+-++---| | Total | 12 | 61 |73 | and a McNem

Re: [R] OT: A test with dependent samples.

2009-02-10 Thread David Winsemius
In the biomedical arena, at least as I learned from Rosner's introductory text, the usual approach to analyzing paired 2 x 2 tables is McNemar's test. ?mcnemar.test > mcnemar.test(matrix(c(73,0,61,12),2,2)) McNemar's Chi-squared test with continuity correction data: matrix(c(73, 0

[R] OT: A test with dependent samples.

2009-02-10 Thread Rolf Turner
I am appealing to the general collective wisdom of this list in respect of a statistics (rather than R) question. This question comes to me from a friend who is a veterinary oncologist. In a study that she is writing up there were 73 cats who were treated with a drug called piroxicam. None