Skip to content

Methods · Causal inference · Instrumental variables

Control Function and Two-Stage Residual Inclusion

The control function approach regresses an endogenous regressor on instruments and controls, then adds the first-stage residual to the outcome model so that the coefficient of interest is corrected and the residual's coefficient tests endogeneity.

통제함수 접근법은 내생 설명변수를 도구변수와 통제변수로 회귀한 1단계 잔차를 결과모형에 추가해 관심 계수를 보정하고, 잔차 계수로 내생성을 검정하는 방법입니다.

My key regressor is endogenous and the outcome is binary; how do I use an instrument when two-stage least squares is not appropriate for a probit model?

핵심 설명변수가 내생적이고 결과가 이분형인데, 프로빗 모형에서 도구변수를 어떻게 써야 하나요?

Regress the endogenous variable on the instruments and controls, save the residual, and include it as an extra regressor in the probit, logit, Poisson or Tobit outcome model (two-stage residual inclusion). The t or z test on the residual is the Rivers-Vuong or Smith-Blundell exogeneity test, and standard errors should be bootstrapped over both stages.

When to use Control Function and Two-Stage Residual Inclusion

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Using [value] as instruments (first-stage F([value], [value]) = [value]), the control-function probit gave a coefficient of [value] for [variable] (bootstrap SE = [value]) and an average partial effect of [value]; the Rivers-Vuong test on the residual gave z = [value], p = [value].

Common variants

자주 쓰는 설정

The same analysis with settings already chosen. Each runs Control Function and Two-Stage Residual Inclusion itself, at the same price.

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with SciPy and linearmodels.

    독립 계산. SciPy·linearmodels 대조 참조 시험 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 Control Function and Two-Stage Residual Inclusion on Quorant

Data you need
a table (CSV or Excel) with an outcome variable, predictor (feature) columns and a treatment indicator
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.

Method ID Q81046 · Reviewed 2026-10-25