A framework for estimating and testing qualitative interactions with applications to predictive biomarkers. (24th August 2017)