Methods for dimension reduction for regression