Re: [R] array complexity for the MH test

2012-06-25 Thread Richard M. Heiberger
I will try again. 1. If you have 5 groups, and split each in half, then you have 10 groups. If MH is applicable to 5 groups, then it should be applicable to the 10 groups as long as they are disjoint groups. 2. I don't think MH applies to your example because the groups do not have similar behavi

Re: [R] array complexity for the MH test

2012-06-24 Thread David Winsemius
On Jun 24, 2012, at 5:30 AM, francogrex wrote: Thanks for your answer. The answer advertises your VCD package, which by the way is a very nice package that I use and recommend for everyone doing such kind of data analysis. However if you really examine the answer you gave me, it does not

Re: [R] array complexity for the MH test

2012-06-24 Thread francogrex
Thanks for your answer. The answer advertises your VCD package, which by the way is a very nice package that I use and recommend for everyone doing such kind of data analysis. However if you really examine the answer you gave me, it does not really or specifically answer my question. -- View this

Re: [R] array complexity for the MH test

2012-06-20 Thread Richard M. Heiberger
You have a very nice graph of a dose-response function here. library(vcd) library(RColorBrewer) Pen <- array(c(0, 0, 6, 5, 3, 0, 3, 6, 6, 2, 0, 4, 5, 6, 1, 0, 2, 5, 0, 0), dim = c(2, 2, 5), dimnames = list( Delay = c("None", "1.5h"),

[R] array complexity for the MH test

2012-06-20 Thread francogrex
If we take the matel-haenszel test on these data of five 2x2 tables stratified along Penicillin.Levels array(c(0, 0, 6, 5, 3, 0, 3, 6, 6, 2, 0, 4, 5, 6, 1, 0, 2, 5, 0, 0), dim = c(2, 2, 5), dimnames = list( Delay = c("None", "1.5h"),