Re: [R] Cochran-Mantel-Haenszel problem

2003-12-11 Thread Peter Dalgaard
Frank E Harrell Jr <[EMAIL PROTECTED]> writes: > On Thu, 11 Dec 2003 14:42:07 +0100 > <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > I've tried to analyze some data with a CMH test. My 3 dimensional > > contingency tables are 2x2xN where N is usually between 10 and 100. > > > > The problem is

Re: [R] Cochran-Mantel-Haenszel problem

2003-12-11 Thread Frank E Harrell Jr
On Thu, 11 Dec 2003 14:42:07 +0100 <[EMAIL PROTECTED]> wrote: > Hello, > > I've tried to analyze some data with a CMH test. My 3 dimensional > contingency tables are 2x2xN where N is usually between 10 and 100. > > The problem is that there may be 2 strata with opposite counts (the 2x2 > contige

Re: [R] Cochran-Mantel-Haenszel problem

2003-12-11 Thread Knut M. Wittkowski
Hi Arne, This seems to be more a statistics than an R problem. Let's assume, one stratum is male and the other is female, and that you are giving estrogen. With women, it may be better to have more estrogen, with men to have less. Thus, if you recode women: (more estrogen/less estroge

[R] Cochran-Mantel-Haenszel problem

2003-12-11 Thread Arne.Muller
Hello, I've tried to analyze some data with a CMH test. My 3 dimensional contingency tables are 2x2xN where N is usually between 10 and 100. The problem is that there may be 2 strata with opposite counts (the 2x2 contigency table for these are reversed), producing opposite odds ratios that cancle