In lasso/ridge regression it's often recommended to scale predictors $X$ before estimation so that the coefficient estimates $\hat{\beta}$ will be invariant to the scale of predictors $X$.
Q: Is there a recommended alternative procedure such that:
- the coefficient estimates lead to predicted values $\hat{y}$ which are $X$-scale invariant and
- the coefficients can still be interpreted in their usual way as $\beta_k = \frac{\partial y}{\partial x_k}$?
The pre-scaling step gets (1) at the cost of (2). No pre-scaling step keeps (2) at the cost of (1).
What about the following approach?
Consider the standard ridge regression set-up from ISL, pg. 215.
$\sum_{i=1}^n\left(y_i - \beta_0 - \sum_{j=1}^p\beta_j x_{ij} \right)^2 + \lambda\sum_{j=1}^p \beta_j^2$
The pre-scaling approach would estimate:
$\sum_{i=1}^n\left(y_i - \beta_0 - \sum_{j=1}^p\beta_j \tilde{x}_{ij} \right)^2 + \lambda\sum_{j=1}^p \beta_j^2$
with $\tilde{x}_{ij} = \frac{x_{ij}}{s_{x_j}}$ and $s_{x_j} = \sqrt{\frac{1}{n}\sum_{i=1}^n(x_{ij}-\bar{x}_{j})^2}$
My proposal is to estimate:
$\sum_{i=1}^n\left(y_i - \beta_0 - \sum_{j=1}^p\beta_j x_{ij} \right)^2 + \lambda\sum_{j=1}^p s_{x_j}^2 \beta_j^2$
Note: in my proposed set-up, scaling $x_{ij}$ by $c$ with $\check{x}_{ij}=cx_{ij}$ gives $s_{\check{x}_{ij}} = c s_{x_{ij}}$. By re-parameterizing $\check{\beta}_j = \frac{1}{c}\beta_j$, we get back to the original objective function. In other words, the objective function and $\hat{y}_i$ are invariant to scalings of $x_{ij}$ by $c$.
So shouldn't my proposal get me both (1) and (2) above? Are there any bad properties I'm not seeing? Maybe there would be issues in the numerical optimization routine?