Testing treatment by covariate interactions when treatment varies within subjects.