Tutorials › Econometrics (Graduate) › Population Means and Predictions After Selection Correction

Sample Selection Models · Tutorial 557 of 952

Population Means and Predictions After Selection Correction

Distinguish selection-corrected predictions for selected units from population means, and calculate each by averaging over the appropriate covariate distribution.

Advanced 10 min read

What You'll Learn

  • Calculate a fitted outcome conditional on a unit being selected.
  • Distinguish selected-population means from source-population means.
  • Average fitted outcomes using the covariate distribution for the target population.
  • Derive model-based predictions for outcomes that are unobserved because of nonselection.
  • Explain why averaging selected-sample predictions does not generally estimate the source-population mean.

Why the Target Population Matters

A selection-corrected regression can produce more than one sensible prediction for the same covariate values. The prediction for an outcome among units known to be selected is not generally the same as the mean outcome for all units in the source population. Selection changes which units appear in the outcome sample, and, when selection and outcome errors are related, it also changes the average outcome error among selected units.

The correction therefore depends on the question being asked. A conditional prediction for a selected unit uses that unit’s selection information. A mean for a population averages predictions over that population’s covariate distribution. A mean outcome for nonselected units is different again: those outcomes are unobserved and their predictions rely on the selection model’s assumptions.

Model and Conditional Predictions

Let \(D_i=1\) indicate that unit \(i\) is selected and its outcome is observed. The latent outcome is \(y_i^*\); it is observed as \(y_i=y_i^*\) when \(D_i=1\). Write the outcome and selection equations as follows:

$$ y_i^*=x_i'\beta+\varepsilon_i,\qquad D_i=1\{z_i'\gamma+u_i>0\}. $$

Here, \(x_i\) and \(z_i\) are observed covariate vectors, and \(\beta\) and \(\gamma\) are parameter vectors. The selection index is \(\eta_i=z_i'\gamma\). Use the probit normalization \(\operatorname{Var}(u_i)=1\). The Gaussian sample-selection model assumes that, conditional on the covariates, \((\varepsilon_i,u_i)\) has a bivariate normal distribution with means zero, variances \(\sigma_\varepsilon^2\) and 1, and covariance \(\rho\sigma_\varepsilon\). Covariates are treated as exogenous for these conditional-mean statements. The model also requires adequate identification and support for estimating its parameters.

Let \(\phi\) and \(\Phi\) denote the standard normal density and distribution functions. The probability of selection at a given \(z_i\) is \(\Phi(\eta_i)\). Define the inverse Mills ratio for selected units as \(\lambda(\eta_i)=\phi(\eta_i)/\Phi(\eta_i)\).

Definition: Under the Gaussian sample-selection model, the conditional mean outcome for a unit with covariates \(x_i,z_i\), given that the unit is selected, is \(E[y_i^*\mid D_i=1,x_i,z_i]=x_i'\beta+\rho\sigma_\varepsilon\lambda(\eta_i)\). The second term is the selection correction. It adjusts the outcome index for the nonzero mean of the outcome error among selected units.

This conditional expectation is a fitted mean, not a guarantee about an individual’s realized outcome. Even with known parameters, a realized outcome can differ because \(\varepsilon_i\) varies among units with the same covariates.

Why the Selection Correction Appears

The correction follows from truncating the selection error. Given \(D_i=1\), the event \(u_i>-\eta_i\) has occurred. In a bivariate normal distribution, the conditional expectation of the outcome error given the selection error is \(E[\varepsilon_i\mid u_i]=\rho\sigma_\varepsilon u_i\). The mean of a standard normal variable truncated below at \(-\eta_i\) is \(\phi(\eta_i)/\Phi(\eta_i)\). Therefore:

$$ E[\varepsilon_i\mid D_i=1,x_i,z_i] =\rho\sigma_\varepsilon E[u_i\mid u_i>-\eta_i] =\rho\sigma_\varepsilon\frac{\phi(\eta_i)}{\Phi(\eta_i)}. $$

Adding this conditional error mean to \(x_i'\beta\) gives the selected-unit prediction. When \(\rho=0\), selection does not shift the conditional mean of the outcome error, and the correction is zero. When \(\rho\ne 0\), the direction and size of the shift depend on both the error dependence and the selection index.

Worked Example: Prediction for a Selected Unit

Suppose a fitted model gives \(x_i'\hat\beta=20\) outcome units, \(\hat\rho=0.50\), \(\hat\sigma_\varepsilon=10\) outcome units, and \(\hat\eta_i=0.40\). The unit is selected. Using \(\phi(0.40)\approx0.3683\) and \(\Phi(0.40)\approx0.6554\), calculate its fitted conditional mean.

First calculate the selection correction using the displayed inputs:

$$ \hat\rho\hat\sigma_\varepsilon \frac{\phi(\hat\eta_i)}{\Phi(\hat\eta_i)} =(0.50)(10)\frac{0.3683}{0.6554} =5(0.5619469)\approx2.810. $$

Thus the fitted conditional mean is \(20+2.810=22.810\) outcome units. This is the model’s mean prediction for units with these covariates conditional on selection; it is not a claim that this particular unit’s realized outcome equals 22.810.

Means for Different Populations

A population mean requires a target population and its covariate distribution. For the source population, before conditioning on selection, the conditional mean at given covariates is \(E[y_i^*\mid x_i,z_i]=x_i'\beta\), since \(E[\varepsilon_i\mid x_i,z_i]=0\). If the source population has covariate distribution \(F_{XZ}\), its mean outcome is:

$$ E[y_i^*]=\int x'\beta\,dF_{XZ}(x,z). $$

For a finite target set of \(N\) source-population units with covariates \((x_i,z_i)\), the corresponding model-based average is \(N^{-1}\sum_{i=1}^N x_i'\hat\beta\). Averaging over the source covariates is essential: the average \(x_i'\hat\beta\) among selected observations need not represent the source population.

For the selected population, the relevant target is \(E[y_i^*\mid D_i=1]\). Averaging the selected conditional mean over the selected covariate distribution gives:

$$ E[y_i^*\mid D_i=1] =E[x_i'\beta+\rho\sigma_\varepsilon\lambda(\eta_i)\mid D_i=1] =\frac{E\left[\Phi(\eta_i) \left\{x_i'\beta+\rho\sigma_\varepsilon\lambda(\eta_i)\right\}\right]} {E[\Phi(\eta_i)]}. $$

The weighting follows because units with covariates \(x_i,z_i\) enter the selected population with probability \(\Phi(\eta_i)\). Equivalently, if a target source-population sample supplies covariates for every unit, weight each unit’s probability of selection and divide by the sum of those probabilities. If the target is instead a sample already drawn from the selected population, average its selection-corrected predictions over that sample’s covariates.

Worked Example: Averaging Predictions for the Selected Population

Suppose the source population consists of two equally common covariate groups. For group 1, \(\eta_1=0\), \(x_1'\hat\beta=30\), and \(\hat\rho\hat\sigma_\varepsilon=4\) outcome units. For group 2, \(\eta_2=1\), \(x_2'\hat\beta=40\), with the same error-dependence product. Use \(\phi(0)=0.3989\), \(\Phi(0)=0.5000\), \(\phi(1)=0.2420\), and \(\Phi(1)=0.8413\).

The fitted selected mean in group 1 is:

$$ \hat m_1=30+4\frac{0.3989}{0.5000} \approx30+3.1912=33.1912. $$

For group 2, the correction is \(4(0.2420/0.8413)\approx1.151\), so its fitted selected mean is \(\hat m_2=40+1.151=41.151\). The source-population share times selection probability is \(0.50(0.5000)=0.2500\) for group 1 and \(0.50(0.8413)=0.42065\) for group 2. Consequently, the selected-population mean is:

$$ \frac{0.2500(33.1912)+0.42065(41.15060)} {0.2500+0.42065} \approx\frac{25.6078}{0.67065} \approx38.18\text{ outcome units}. $$

The weighting accounts for both groups’ prevalence in the source population and their different selection probabilities. Simply taking an unweighted average of the two group predictions would not give this selected-population mean.

Predictions for Outcomes Missing Because of Nonselection

The latent outcomes of nonselected units are not observed, but the same Gaussian model implies a conditional mean for them. Conditional on \(D_i=0\), the selection event is \(u_i\leq-\eta_i\). The mean of a standard normal variable truncated above at \(-\eta_i\) is \(-\phi(\eta_i)/\Phi(-\eta_i)\). Thus:

$$ E[y_i^*\mid D_i=0,x_i,z_i] =x_i'\beta-\rho\sigma_\varepsilon \frac{\phi(\eta_i)}{\Phi(-\eta_i)}. $$

This is a model-based prediction for an unobserved outcome, not an observed response and not a direct estimate from outcome data on that unit. Its credibility depends on the selection-model assumptions, including the specified dependence and error distribution. To estimate the average latent outcome among all nonselected units, average these predictions over the nonselected covariate distribution. In a source-population sample with known covariates, that distribution is represented by weights proportional to \(1-\Phi(\eta_i)=\Phi(-\eta_i)\).

Worked Example: Comparing Selected, Nonselected, and Source Means

Consider two groups with source-population shares 0.40 and 0.60. Their outcome indices are \(x_1'\hat\beta=20\) and \(x_2'\hat\beta=40\); their selection indices are \(\eta_1=0\) and \(\eta_2=1\). Let \(\hat\rho\hat\sigma_\varepsilon=4\). Use \(\Phi(0)=0.5000\), \(\Phi(1)=0.8413\), \(\Phi(-1)=0.1587\), \(\phi(0)=0.3989\), and \(\phi(1)=0.2420\).

The source-population mean is the share-weighted average of the outcome indices:

$$ 0.40(20)+0.60(40)=32.00\text{ outcome units}. $$

For nonselected group 1, the fitted mean is \(20-4(0.3989/0.5000)\approx16.809\). For nonselected group 2, it is \(40-4(0.2420/0.1587)\approx33.900\). The nonselection masses are \(0.40(0.5000)=0.2000\) and \(0.60(0.1587)=0.09522\). Therefore, the model-based mean among nonselected units is:

$$ \frac{0.2000(16.808)+0.09522(33.899)} {0.2000+0.09522} \approx22.32\text{ outcome units}. $$

For comparison, the selected masses are \(0.2000\) and \(0.60(0.8413)=0.50478\). The selected group predictions are \(20+4(0.3989/0.5000)\approx23.191\) and \(40+4(0.2420/0.8413)\approx41.151\). Their selected-population mean is:

$$ \frac{0.2000(23.192)+0.50478(41.151)} {0.2000+0.50478} \approx36.05\text{ outcome units}. $$

The selected mean, nonselected mean, and source mean are different targets. The selected and nonselected means combine, weighted by their population shares, to recover the source mean (up to rounding). This check follows because the selected and nonselected groups partition the source population.

Estimation and a Common Pitfall

In practice, replace unknown parameters by estimates from the selection-correction procedure, and calculate the index and correction for the covariates in the chosen target population. The target data must contain the covariates needed for the prediction; it need not contain outcomes for every unit. If the target covariate distribution is represented by a sample, averaging produces a plug-in estimate of the corresponding population mean. Inference for such an estimate must account for estimation of the selection and outcome parameters as well as the averaging step.

  • Wrong: “The selected-sample average outcome is the estimated source-population mean because the regression is selection-corrected.”
  • Correction: Selection correction provides conditional means under the model. The source-population mean must be averaged over source-population covariates as \(x_i'\hat\beta\); the selected-population mean instead averages corrected conditional means over the selected covariate distribution.
  • Wrong: “The predicted outcome for a nonselected unit is its observed outcome, recovered by the correction.”
  • Correction: That outcome remains unobserved. The model supplies a conditional expectation under its assumptions, not a recovered realization.
Key takeaway: Before averaging fitted outcomes, name the target population. Condition on selection for selected-unit predictions, average over source covariates for a source-population mean, and treat predictions for nonselected units as model-dependent estimates of unobserved outcomes.

Check Your Understanding

Answer each question by identifying the conditioning event or covariate distribution that defines the target.

  1. Under the Gaussian selection model, what term adjusts \(x_i'\beta\) when predicting the mean outcome conditional on \(D_i=1\)?
  2. Why is an unweighted average of group-specific selected predictions not generally the selected-population mean?
  3. For a source-population mean, which conditional mean is averaged over the source covariates?
  4. What selection event is used to obtain a model-based prediction for a nonselected unit?
  5. Why should a prediction for a nonselected unit not be described as its observed or recovered outcome?
Clinical Biostats