RE: [R] Tests on contingency tables

2005-02-15 Thread Jacques VESLOT
MAIL PROTECTED] Envoye : mardi 15 fevrier 2005 17:41 A : Jacques VESLOT Cc : R-HELP; [EMAIL PROTECTED] Objet : Re: [R] Tests on contingency tables You can test independence via a log-linear model. More importantly, you can model that dependence and learn something useful about the data. I do

Re: [R] Tests on contingency tables

2005-02-15 Thread Prof Brian Ripley
I forgot to mention a crucial statistical point: As you are doing this pairwise, remember Simpson's paradox. or if you don't know about it, Google it (it is not really due to Simpson, an instance of Stigler's Law of Eponymy). On Tue, 15 Feb 2005, Prof Brian Ripley wrote: You can test inde

Re: [R] Tests on contingency tables

2005-02-15 Thread Prof Brian Ripley
You can test independence via a log-linear model. More importantly, you can model that dependence and learn something useful about the data. I don't see your point here: the two factors are clearly highly dependent: who cares what the exact p value is? Did you do e.g. a mosaicplot as I suspe