Why are ordinary p-values and confidence intervals invalid for coefficients selected by the lasso?

Quick Overview

Asks why standard p-values and confidence intervals break down for variables chosen by the lasso. Tests your understanding of post-selection inference, selection bias, shrinkage, and the valid alternatives such as sample splitting, selective inference and the debiased lasso.

Why are ordinary p-values and confidence intervals invalid for coefficients selected by the lasso?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Other

Why are ordinary p-values and confidence intervals invalid for coefficients selected by the lasso? Assume the usual workflow: fit the lasso, keep the variables with nonzero coefficients, and report standard regression output for them. ```hint Start from pure noise Suppose none of 100 candidate predictors has any real effect. Ask what you know about the variable the lasso admits first, and what its naive t-statistic is likely to look like. ``` ```hint The reference distribution A p-value compares a statistic with its distribution under the null. Ask what that distribution looks like once you condition on the variable having been selected. ``` ```hint What is being estimated Ask what "the coefficient on X" means when the set of other variables in the model was itself chosen from the data. ``` ### What a Strong Answer Covers - The assumption behind classical inference that the model is fixed before the data are seen, and how lasso selection breaks it. - Selection bias (the winner's curse) and double-dipping on the same noise. - Why the sampling distribution after selection is not the usual t or normal, and the separate problem of shrinkage bias in the lasso estimates. - Why the target of inference becomes random. - Valid alternatives and what each one costs. ### Follow-up Questions - What parameter does selective inference target, and how does it differ from the one the debiased lasso targets? - How does sample splitting trade power for validity, and how can repeating the split help? - Does the same problem arise with stepwise selection or with screening features by their univariate correlations? - Would bootstrapping the lasso give valid intervals?

Overview: Asks why standard p-values and confidence intervals break down for variables chosen by the lasso. Tests your understanding of post-selection inference, selection bias, shrinkage, and the valid alternatives such as sample splitting, selective inference and the debiased lasso.

General logo
General
Nov 24, 2026
hardMachine Learning EngineerOtherMachine Learning
0
0

Why are ordinary p-values and confidence intervals invalid for coefficients selected by the lasso? Assume the usual workflow: fit the lasso, keep the variables with nonzero coefficients, and report standard regression output for them.

What a Strong Answer Covers Guidance

  • The assumption behind classical inference that the model is fixed before the data are seen, and how lasso selection breaks it.
  • Selection bias (the winner's curse) and double-dipping on the same noise.
  • Why the sampling distribution after selection is not the usual t or normal, and the separate problem of shrinkage bias in the lasso estimates.
  • Why the target of inference becomes random.
  • Valid alternatives and what each one costs.

Follow-up Questions Guidance

  • What parameter does selective inference target, and how does it differ from the one the debiased lasso targets?
  • How does sample splitting trade power for validity, and how can repeating the split help?
  • Does the same problem arise with stepwise selection or with screening features by their univariate correlations?
  • Would bootstrapping the lasso give valid intervals?