Skip to content
Prev 68575 / 398506 Next

mantelhaen.test for more than two groups?

On Tue, 26 Apr 2005, Katrin Schweitzer wrote:

            
You're supposed to have a three-dimensional array: exposure x response x 
group.

This means turning your three group variables into one variable.  One way 
to do this is with the interaction() function.

 	-thomas

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle