I am reading a report where they used Lasso and penalty term $\lambda$. Below is a table presented:
I have a question about the DF. The original model had 16 variables and no intercept, i.e without the penalty term it would have 16 DF. In the table we see that as lambda increase, the DF decrease -> it's penalizing and the model includes less effective variables.
So just to try to understand this;
- When $\lambda = 100$, the model has set some parameters to 0 (or decreased them), and by summing the remaining proportions of each effective variable contribution we end up with 9.939085? I.e for example it could look like $Df ; x_1=0.8, x_2 = 0.75, x_3 = 0.68, x_4 = 0.6, x_5 = 0.59, x_6 = 0.78, x_7 = 0.2, x_8 = 0, x_9 = 0, x_{10} = 0.95, x_{11} = 0.87, x_{12} = 0.1, x_{13} = .79, x_{14} = .88, x_{15} = 0.978, x_{16} = 0.971085$
- If the model had an intercept, would the orinial DF w/o penalty term applied be 17?