Gail-Simon Test for Qualitative Interactions

See Gail and Simon, 1985, Testing for qualitative interactions between treatment effects and patient subsets., Biometrics Vol. 41, No. 2, pp. 361-372