Post-Double-Selection Lasso
Post-double-selection lasso selects control variables with one lasso predicting the outcome and another predicting the treatment, then estimates the treatment effect by ordinary least squares on the union of the selected controls.
사후 이중선택 라소는 결과를 예측하는 라소와 처치를 예측하는 라소로 각각 통제변수를 고르고, 두 선택의 합집합을 넣은 최소제곱 회귀로 처치효과를 추정하는 방법입니다.
I have a treatment and 200 possible control variables but only 500 observations; which controls should I include and how do I get a valid standard error for the treatment effect?
처치변수 하나에 통제변수 후보가 200개, 관측치는 500개인데, 어떤 통제변수를 넣어야 하고 처치효과의 표준오차는 어떻게 구하나요?
Run a lasso of the outcome on all candidate controls and a lasso of the treatment on them, keep every control picked by either, and regress the outcome on the treatment and that union with robust standard errors. Selecting on both equations protects against dropping a confounder that predicts treatment strongly but the outcome only weakly.
When to use Post-Double-Selection Lasso
- There are many candidate controls relative to the sample size.
- You believe a few controls capture most of the confounding (approximate sparsity).
- You want a single treatment coefficient with conventional robust inference.
When to use something else
- Confounding is dense or highly non-linear; double machine learning with flexible learners is more suitable.
- There are few controls; include them all in an ordinary regression.
Assumptions and requirements
- Selection on observables with approximately sparse confounding.
- Plug-in penalty uses c = 1.1 and gamma = 0.1/log(n) with heteroskedasticity-robust loadings.
- The final OLS uses HC1 or cluster-robust standard errors.
What the analysis reports
- Treatment effect with robust SE, t, p and CI
- Controls selected by each lasso
- Union size
- Penalty used
How to report it
Post-double-selection lasso retained [value] of [value] candidate controls; the estimated treatment effect was [value] (robust SE = [value], 95% CI [value] to [value], p = [value]).
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Post-Double-Selection Lasso itself, at the same price.
- Partialing-out lasso regression — estimator set to “partial”
- Double-selection lasso logit — model set to “logit”; penalty set to “cv”
- Double-selection lasso Poisson — model set to “poisson”; penalty set to “cv”
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels.
독립 계산. statsmodels 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Post-Double-Selection Lasso on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, a treatment indicator and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.