Methods · Causal inference · Selection bias correction

Heckman Two Stage Selection Model

The Heckman two-stage selection model corrects regression estimates for sample selection bias by first modeling the probability of being observed with a probit and then adding the inverse Mills ratio to the outcome equation.

Heckman 2단계 표본선택모형은 먼저 프로빗으로 관측될 확률을 모형화한 뒤 역밀스비를 결과식에 추가하여 표본선택 편의를 보정하는 회귀모형이다.

How do I correct for selection bias when the outcome is observed only for a non-random subset?

결과변수가 무작위가 아닌 일부에게만 관측될 때 선택편의는 어떻게 보정하나요?

The Heckman model estimates a probit selection equation for whether the outcome is observed, then includes the inverse Mills ratio from that equation as a regressor in the outcome regression. It fits cases such as wages observed only for people who work, where those observed differ systematically from those who are not.

When to use Heckman Two Stage Selection Model

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

The inverse Mills ratio was significant, λ = [value], SE = [value], p = [value], indicating selection bias; after correction, [predictor] was associated with [outcome], b = [value], p = [value].

Related methods

Run Heckman Two Stage Selection Model on Quorant

Data you need
a table (CSV or Excel) with an outcome variable, a treatment indicator and predictor (feature) columns
Price
250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
Checking
Python results are cross-checked against R reference outputs in every deployment
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 Q81004 · Reviewed 2026-10-25