What Does Lasso Selection Tell Us?
The lasso can produce a fitted regression equation with some predictor coefficients exactly equal to zero. This makes the fitted model easier to describe: a predictor with a zero coefficient does not contribute directly to that model’s predictions. But that statement is about one fitted model, using one data set and one tuning parameter. It does not establish that the predictor is unrelated to the outcome, unimportant in every model, or statistically insignificant.
To interpret lasso selection carefully, keep three questions separate: What does the fitted equation do? Which predictors did the fitting procedure retain? What can be concluded about the underlying relationship? The first two can be answered from the fitted model. The third requires more than whether a coefficient is zero or nonzero.
The Model and the Lasso Fit
Let \(Y_i\) be a quantitative response for case \(i\), and let \(X_{ij}\) be predictor \(j\) for that case. A working linear model for the conditional mean is
Here, \(\beta_0\) is the intercept, \(\beta_j\) is the model coefficient for predictor \(j\), and \(\varepsilon_i\) represents the part of the response not described by the linear mean. The lasso computes estimates by balancing fit to the observed responses against a penalty on the sizes of the predictor coefficients. In this tutorial, the fitting criterion is
The intercept is not penalized. The nonnegative tuning parameter \(\lambda\) controls the penalty: increasing it makes large coefficient values more costly and can set more coefficients to exactly zero. The chosen value of \(\lambda\) is treated as fixed when interpreting the resulting fit; how it is chosen is a separate model-development question.
The coefficient values depend on the units of the predictors, so penalized regression commonly standardizes predictors before fitting. For the examples below, predictor columns are centered and scaled to have mean square 1, so \(n^{-1}\sum_i X_{ij}^2=1\). The response is kept in its original units. With this setup, each fitted coefficient describes the change in fitted response associated with a one-unit increase in the standardized predictor, holding the other predictors fixed. If a predictor was standardized from its original units, this is a one-standard-deviation increase.
As in other regression settings, coefficient interpretations rely on how the model is specified and on the data that were observed. Here, the lasso fit is a penalized estimate used to build a fitted model; it is not itself a test of whether a model coefficient equals zero in a population.
Why a Coefficient Becomes Zero
The role of the penalty is especially clear when predictors are orthogonal: their centered columns have zero cross-products with one another. In that case, each predictor’s coefficient can be considered separately. Suppose the centered, scaled response and one predictor have the score \(r=n^{-1}\sum_i X_{ij}Y_i\). The part of the lasso criterion involving that predictor, up to a constant that does not depend on its coefficient \(b\), is
For a positive coefficient, minimizing gives \(b=r-\lambda\); for a negative coefficient, it gives \(b=r+\lambda\). If neither value has the matching sign, the minimum is at zero. Together, these cases give the soft-thresholding rule:
Thus, in this orthogonal setting, the coefficient is zero when the predictor’s score is no larger in absolute value than the penalty threshold. In a model with correlated predictors, the relevant score is instead calculated against the residual after fitting the other predictors. The same general point remains: a zero coefficient is a result of the penalty acting within the fitted model, not a stand-alone verdict about the predictor.
Worked Example: A Score Just Above the Threshold
Suppose two centered, scaled predictors are orthogonal, the response is centered, and their scores are \(r_1=0.80\) and \(r_2=0.35\). Fit the lasso with \(\lambda=0.50\). The setup satisfies the conditions for the separate soft-thresholding calculation: the predictors are orthogonal and scaled to mean square 1.
For the first predictor, \(r_1\) is positive and greater than \(\lambda\), so
For the second predictor, \(|r_2|=0.35\leq0.50\), so
In this fitted model, the first predictor has a nonzero contribution and the second does not. If the tuning parameter were larger, the first coefficient could also be set to zero. The result describes this fit at \(\lambda=0.50\); by itself, it does not decide whether either predictor is important in the underlying setting.
Interpreting Nonzero Coefficients
A nonzero coefficient means that the predictor contributes directly to the fitted linear prediction, conditional on the other predictors in the model. It is not the predictor’s unadjusted relationship with the response: that relationship can differ because the model includes other predictors and because the lasso penalty shrinks the estimates.
When predictors were standardized, translate coefficients back to the original units before giving a practical interpretation. If predictor \(j\) was centered and divided by its sample standard deviation \(s_j\), and the response remains in its original units, a fitted standardized coefficient \(\hat{\beta}_j\) corresponds to a coefficient of \(\hat{\beta}_j/s_j\) per original predictor unit. This translation describes the same fitted contribution, not an unpenalized estimate.
Worked Example: Translating a Selected Coefficient
Imagine a hypothetical lasso model for predicting systolic blood pressure, measured in mmHg, from age and body mass index. Both predictors were centered and standardized before fitting. Suppose the model uses \(\lambda=0.30\) and produces coefficients of \(2.4\) for standardized age and \(0\) for standardized body mass index. In the data, the sample standard deviation of age is \(8\) years. Assume the model was fit using this stated preprocessing and tuning parameter.
The fitted age coefficient means that, holding body mass index fixed in this fitted model, a one-standard-deviation increase in age corresponds to a \(2.4\) mmHg increase in the fitted blood pressure. One standard deviation of age is \(8\) years, so the equivalent slope per year is
The zero coefficient for body mass index means that body mass index contributes no separate term to this fitted prediction equation. It does not establish that body mass index has no relationship with blood pressure. Its contribution may not have cleared the penalty in this fit, particularly given the other predictor in the model.
A Zero Does Not Establish Irrelevance
Predictors can carry overlapping information. When two predictors are strongly correlated, the lasso can use one to represent much of the predictive information shared by both. Which predictor receives a nonzero coefficient can depend on the data and the penalty. A zero coefficient may therefore mean that a predictor was not needed as a separate term in this particular fitted equation, rather than that the predictor could never help explain or predict the response.
An exact-duplication example makes this distinction clear. It is intentionally simplified to show what a zero can mean, not to suggest that exact duplicates are typical data. Let two standardized predictor columns be identical, \(X_1=X_2=x\), with \(n^{-1}\sum_i x_i^2=1\), and let the centered response be \(Y=2x\). Use \(\lambda=0.40\). Both predictors contain the same information. The fitted prediction depends on their coefficient sum \(t=\hat{\beta}_1+\hat{\beta}_2\); for nonnegative coefficients with that sum, the criterion is
For \(t\geq0\), differentiating with respect to \(t\) gives \(t-2+0.40\). Setting this equal to zero gives \(t=1.60\). Any nonnegative pair with this sum has the same fitted values and penalty. A fit with \(\hat{\beta}_1=1.60\) and \(\hat{\beta}_2=0\), for example, predicts \(1.60x\). The zero does not show that the second predictor lacks the signal: it is an exact duplicate of the selected predictor. With highly, rather than perfectly, correlated predictors, the allocation is not generally identical, but overlapping information can still complicate interpretation.
Worked Example: A Selected Predictor Is Not a Significance Test
Return to the orthogonal-predictor setup and suppose a predictor has score \(r=0.24\), with the other predictors orthogonal to it. At \(\lambda=0.20\), the lasso coefficient is
The coefficient is nonzero, so the predictor is selected in this fitted model. But the calculation compares a sample score with a penalty threshold. It does not calculate a standard error, a test statistic, or a p-value. Therefore, this result alone does not establish statistical significance. Nor does a zero coefficient constitute evidence from a significance test that the corresponding population relationship is exactly zero.
For context, the coefficient \(0.04\) is on the response scale per one-unit increase in the standardized predictor. Its small size may matter when assessing the fitted contribution, but size and statistical significance are different questions. Selection answers which terms appear in this penalized fit; it does not supply the usual inferential conclusion from a hypothesis test.
Common Mistakes and a Practical Reading
A tempting but incorrect conclusion is: “The lasso set this coefficient to zero, so the predictor is irrelevant.” The correction is more limited: “At this tuning parameter, with these data, preprocessing choices, and other predictors, the fitted lasso model assigned this predictor a zero coefficient.” That statement is accurate and keeps the interpretation tied to the model that was actually fit.
Similarly, “selected” does not mean “statistically significant,” and “not selected” does not mean “no association.” The penalty is part of the estimation rule, not a significance threshold. A selected coefficient may be small, while an unselected predictor may share information with another predictor or have a contribution that does not survive the penalty in this fit.
When reading a lasso result, check the preprocessing and tuning parameter before interpreting the coefficient table. For nonzero terms, state the outcome and predictor units, and make clear that the coefficient is conditional on the other predictors in the fitted model. For zero terms, describe their absence from the fitted prediction equation without turning that absence into a claim about the underlying science.
Note which predictors were standardized, the response scale, and the value of \(\lambda\).
A nonzero coefficient contributes to predictions conditional on the other predictors; convert its scale to practical units when appropriate.
Describe zero and nonzero coefficients as features of this fitted model, not as significance decisions or definitive claims of relevance.
Check Your Understanding
Answer each question using the distinction between a fitted-model statement and a claim about the underlying relationship.
- In an orthogonal-predictor fit, a predictor has score \(r=0.18\) and \(\lambda=0.25\). What is its lasso coefficient, and what does that say about its role in this fitted model?
- A standardized predictor has a nonzero coefficient of \(1.5\) mmHg per standard deviation, and its original-unit standard deviation is \(5\) years. What is the corresponding coefficient per year?
- Why can a lasso fit assign zero to one of two highly correlated predictors even when both relate to the response?
- Does a nonzero lasso coefficient establish statistical significance? Explain what the selection decision is based on instead.
- Write a careful interpretation of a zero coefficient that does not claim the predictor is irrelevant.