Has anyone written R code for extended Mantel-Haenszel Tests- as described in Section 8.4.5 (eq. 8.18) of Agresti's book "Categorical Data Analysis"? In other words, I would like to use column scores to test for a location shift for different groups as defined by the row variable in a set of rxs tables. In addition, I would like to use row and column scores to test for a linear association between row and column variables. For SAS users, these correspond to the "row mean score test" and "nonzero correlation tests" available in Proc Freq. Thanks! John John Fieberg, Ph.D. Wildlife Biometrician, MN DNR 5463-C W. Broadway Forest Lake, MN 55434 Phone: (651) 296-2704