Lasso Instrumental-Variables Regression (Partialling-Out and Cross-Fit)
An instrumental-variables estimator for settings with many candidate control variables. The outcome, the endogenous regressor and each instrument are residualised on the controls by post-lasso regression, and the effect is the IV estimate on these residuals; with cross-fitting the nuisance regressions are fitted on other folds, giving valid inference when only a sparse subset of controls matters.
후보 통제변수가 매우 많은 상황의 도구변수 추정량입니다. 결과, 내생 설명변수, 각 도구변수를 사후 라쏘 회귀로 통제변수에 대해 잔차화한 뒤 그 잔차로 도구변수 추정을 하며, 교차적합을 쓰면 장애모수 회귀를 다른 접힘에서 적합해 일부 통제변수만 중요할 때 타당한 추론을 줍니다.
What is the effect of class size on test scores, instrumented by an enrolment rule, when hundreds of school and district characteristics could act as controls?
입학 정원 규칙을 도구변수로 쓸 때, 학교와 지역 특성 수백 개가 통제변수 후보인 상황에서 학급 규모는 시험 점수에 어떤 효과를 줍니까?
The method returns the effect estimate with heteroskedasticity- or cluster-robust standard error and confidence interval, the number of controls selected for each variable, and first-stage strength after partialling out.
When to use Lasso Instrumental-Variables Regression (Partialling-Out and Cross-Fit)
- An endogenous regressor has valid instruments
- Many potential controls exist and choosing them by hand is not credible
- Approximate sparsity of the control relationships is plausible
When to use something else
- There are few controls: use Instrumental Variable Estimation (IV)
- The treatment is exogenous given controls: use Post-Double-Selection Lasso
- Nonlinear nuisance functions are needed without instruments: use Double Machine Learning (DML)
Assumptions and requirements
- Instruments are valid and relevant
- Approximate sparsity of the outcome, regressor and instrument equations in the controls
- Linear partially linear IV model
What the analysis reports
- IV effect with robust SE and CI
- Number of controls selected per variable
- First-stage F after partialling out
How to report it
Lasso IV regression (cross-fit partialling-out) estimated the effect of [variable] as [value] (SE = [value], 95% CI [[value], [value]], p = [value]).
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with linearmodels at a stated tolerance of 1e-8.
독립 계산. linearmodels 대조 참조 시험 1건 통과(허용오차 1e-8).
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 Lasso Instrumental-Variables Regression (Partialling-Out and Cross-Fit) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, a treatment indicator, instrument and predictor (feature) columns
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 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.