Control functions are statistical methods to correct for endogeneity problems by modelling the endogeneity in the error term. The approach thereby differs in important ways from other models that try to account for the same econometric problem. Instrumental variables, for example, attempt to model the endogenous variable X as an often invertible model with respect to a relevant and exogenous instrument Z. Panel data use special data properties to difference out unobserved heterogeneity that is assumed to be fixed over time.
Control functions were introduced by Heckman and Robb, although the principle can be traced back to earlier papers. A particular reason why they are popular is because they work for non-invertible models (such as discrete choice models) and allow for heterogeneous effects, where effects at the individual level can differ from effects at the aggregate. Famous examples using the control function approach is the Heckit model and the Heckman correction.
Assume we start from a standard endogenous variable set-up with additive errors, where X is an endogenous variable, Z is an exogenous variable that can serve as an instrument.
X = π(Z) + V (2)
A popular instrumental variable approach is to use a two-step procedure and estimate equation (2) first and then use the estimates of this first step to estimate equation (1) in a second step. The control function, however, uses that this model implies
The function h(v) is effectively the control function that models the endogeneity and where this econometric approach lends its name from.
In a potential outcomes framework, where Y1 is the outcome variable of people for who the participation indicator D equals 1, the control function approach leads to the following model
as long as the potential outcomes Y0 and Y1 are independent of D conditional on X and Z.