Let's say, we have treatments A and B (decided by experimenter) that we use as response variable and factors 1, 2, 3...n that we use as predictors (measured variables). Intuitively, this is not correct, because we should model the outcome, not the controlled factor, but classification methods that are based on very similar math still do that. Any ideas/references?