Least squares, logistic, and Cox-regression with ordered