Tutorials › Pattern-Mixture and Selection Models › Finite-Sample Bias in Selection-Model Estimates

Likelihood Inference and Instability · Tutorial 136 of 499

Finite-Sample Bias in Selection-Model Estimates

Learn how to design and interpret simulations that reveal finite-sample bias and coverage problems when selection-model likelihoods are weakly identified.

Advanced 13 min read

What You'll Learn

  • Define a simulation target for bias and coverage under a specified selection model.
  • Calculate Monte Carlo bias, coverage, and their simulation error from replicate results.
  • Explain why a flat or curved likelihood ridge can amplify finite-sample bias.
  • Compare weak- and stronger-identification simulation results without confusing Monte Carlo error with sampling error.
  • Distinguish unconditional performance from performance conditional on successful fitting.
  • Recognize what simulation can diagnose and what it cannot establish about model validity.

Why assess finite-sample performance?

A selection-model likelihood can contain a long, shallow ridge: quite different combinations of an outcome parameter and a response parameter may fit the observed data nearly equally well. An optimizer may return a numerical estimate, but that does not guarantee that the estimate is centered near the truth in repeated samples or that its confidence interval has its advertised coverage. Simulation makes those finite-sample properties measurable under a specified data-generating model.

The target is not a universal property of an estimator. Bias and coverage depend on the model, the true parameter values, the sample size, the response pattern, and the estimation and interval procedures. A simulation therefore asks a conditional question: if this particular model and design were repeated many times, how would this particular procedure perform?

Model and simulation targets

For a concrete setup, let \(Y_i\) be a continuous outcome and let \(R_i=1\) indicate that \(Y_i\) is observed. Suppose the outcome model and response model are

$$ Y_i\sim N(\mu,\sigma^2),\qquad P(R_i=1\mid Y_i=y)=\operatorname{expit}(\alpha+\gamma y), \qquad i=1,\ldots,n, $$

where \(\operatorname{expit}(u)=1/(1+\exp(-u))\). Here \(\mu\) is the outcome mean, and \(\gamma\) describes how response probability changes with the outcome; \(\alpha\) is the response intercept. The response mechanism depends on \(Y_i\), so this is a missing-not-at-random selection model when \(\gamma\ne 0\). In each simulated data set, \(R_i\) is generated for every subject, but \(Y_i\) is available to the analyst only when \(R_i=1\).

Under this model, an observed subject contributes \(f(y_i;\mu,\sigma^2)\pi(y_i)\) to the likelihood, where \(\pi(y)=\operatorname{expit}(\alpha+\gamma y)\). A subject whose outcome is unobserved contributes \(\int [1-\pi(y)]f(y;\mu,\sigma^2)\,dy\). Thus the simulation must generate and fit the same observed-data likelihood that the analyst would use. The model assumptions include the stated outcome distribution, the stated response model, independent subjects, and correct implementation of the likelihood and interval procedure. Simulated performance does not validate these assumptions for a real data set.

Definition: For a parameter \(\theta\), finite-sample bias is \(E_\theta(\hat\theta)-\theta\), where the expectation is over repeated data sets generated at the fixed true value \(\theta\), using the specified estimation procedure. The coverage probability of an interval procedure \(C\) is \(P_\theta\{\theta\in C\}\). A simulation estimates these repeated-sampling quantities by applying the complete procedure to many independently generated data sets.

For \(B\) simulation replicates, let \(\hat\theta_b\) be the estimate and \(C_b\) the confidence interval from replicate \(b\). When all \(B\) generated replicates are included and the procedure defines an estimate and interval for every replicate, the Monte Carlo estimates are

$$ \widehat{\operatorname{Bias}}(\hat\theta) =\frac{1}{B}\sum_{b=1}^{B}\hat\theta_b-\theta, \qquad \hat C=\frac{1}{B}\sum_{b=1}^{B}\mathbf{1}\{\theta\in C_b\}. $$

The first quantity has the units of \(\theta\); the second is a proportion. The empirical standard deviation of the estimates describes their simulated sampling variability. It is not the Monte Carlo standard error of the estimated bias. If the replicate estimates have standard deviation \(s_{\hat\theta}\), the Monte Carlo standard error of their mean is approximately \(s_{\hat\theta}/\sqrt{B}\). For estimated coverage, the Monte Carlo standard error is approximately \(\sqrt{\hat C(1-\hat C)/B}\).

How likelihood shape can produce bias

A short Taylor expansion shows why a flat likelihood can make finite-sample bias more consequential. Consider a scalar log likelihood \(\ell(\theta)\), with score \(U(\theta)=\ell'(\theta)\), and suppose the maximum-likelihood estimate solves \(U(\hat\theta)=0\). Write \(J=-U'(\theta)\) and \(\delta=\hat\theta-\theta\). A second-order expansion around the true \(\theta\) gives

$$ 0\approx U(\theta)-J\delta+\frac{1}{2}U''(\theta)\delta^2. $$

If \(J>0\) and the quadratic term is a small correction, first substitute \(\delta\approx U(\theta)/J\) into that term. Solving to this order yields

$$ \delta\approx \frac{U(\theta)}{J} +\frac{U''(\theta)U(\theta)^2}{2J^3}. $$

The score has mean zero at the true parameter under the usual regularity conditions, so the leading linear term is centered when \(J\) is treated as fixed. But the curvature term need not have mean zero. In an actual likelihood, \(J\) is random and correlated with the score and higher derivatives, so this expression is a local explanation, not a complete general bias formula. It does show the key vulnerability: when curvature is weak, the inverse-curvature factors can amplify random variation and nonlinear effects.

In a selection model, weak identification often involves a ridge coupling \(\mu\) and \(\gamma\). Movement along the ridge changes both parameters while changing the likelihood little. The estimate can then move substantially in response to small data fluctuations, and the likelihood may be asymmetric or have a boundary maximum. A simulation can reveal the resulting bias and undercoverage, but it should also retain likelihood diagnostics: a poor optimizer, inaccurate integration, or an unintended boundary constraint can create apparent “statistical” bias that is actually a computational defect.

Worked Example: Bias and Coverage From Complete Replicates

Consider a hypothetical simulation with \(B=1{,}000\) independently generated data sets from a fixed selection-model setting. Suppose the true values are \(\mu=0\) mm and \(\gamma=0.60\) per mm, every fit returns both estimates, and every replicate produces a 95% profile-likelihood interval. Assume the estimates have means \(\bar{\hat\mu}=0.18\) mm and \(\bar{\hat\gamma}=0.74\) per mm. The true values are contained in 887 of the intervals for \(\mu\) and 861 of the intervals for \(\gamma\).

For the outcome mean, the estimated bias is \(\widehat{\operatorname{Bias}}(\hat\mu)=0.18-0=0.18\) mm. For the response effect, it is \(\widehat{\operatorname{Bias}}(\hat\gamma)=0.74-0.60=0.14\) per mm. The empirical coverages are \(887/1{,}000=0.887\) for \(\mu\) and \(861/1{,}000=0.861\) for \(\gamma\). Both estimates are below the nominal 0.95 coverage.

For \(\mu\), the estimated Monte Carlo standard error of coverage is \(\sqrt{0.887(1-0.887)/1{,}000}=0.0100\), to three significant figures. This quantifies simulation noise in the estimated coverage; it is not a standard error for an individual confidence interval. The simulated shortfall from 0.95 is larger than this Monte Carlo error, suggesting that the shortfall is not merely due to a small number of replicates. The conclusion remains conditional on the assumed data-generating model and on the correctness of the fitting procedure.

Comparing designs and procedures

A useful simulation varies a feature expected to affect identification, such as sample size, while holding the true parameters and the estimation procedure fixed. The following hypothetical results use 2,000 replicates per setting and 95% intervals. All fits and intervals are available for all replicates. The sample size is \(n=200\) in the weak-information setting and \(n=1{,}000\) in the more informative setting.

Setting and parameterTrue valueMean estimateEstimated biasIntervals containing truthCoverage
Weak information: \(\mu\), mm00.24 mm0.24 mm1,806 / 2,0000.903
Weak information: \(\gamma\), per mm0.801.08 per mm0.28 per mm1,750 / 2,0000.875
More informative: \(\mu\), mm00.04 mm0.04 mm1,890 / 2,0000.945
More informative: \(\gamma\), per mm0.800.82 per mm0.02 per mm1,902 / 2,0000.951

For example, the weak-information coverage for \(\gamma\) is \(1{,}750/2{,}000=0.875\); the corresponding Monte Carlo standard error is \(\sqrt{0.875(0.125)/2{,}000}=0.00740\). The more informative estimate, \(0.951\), is close to the nominal 0.95. These results are consistent with improved finite-sample behavior as information increases, but they do not prove that sample size alone caused the difference unless the simulation changed only sample size. The likelihood profiles and convergence records should be reviewed alongside the summary table.

Simulation is not the only way to assess an interval procedure. Wald intervals use an estimate and an estimated standard error with an approximately normal reference distribution; near a ridge, that approximation can be poor. Profile-likelihood intervals use likelihood changes and can better reflect asymmetry, although they too can have inaccurate coverage in finite samples. Simulation evaluates the actual repeated-sampling behavior of either procedure under the chosen model and design. It does not make a flawed likelihood or interval method valid by itself.

Worked Example: Reporting Monte Carlo Uncertainty

Suppose the estimated coverage of a procedure for \(\mu\) is \(0.903\) from \(B=2{,}000\) complete replicates, as in the table. The Monte Carlo standard error is \(\sqrt{0.903(1-0.903)/2{,}000}=\sqrt{0.0000438}=0.00662\). A rough two-Monte-Carlo-standard-error range is \(0.903\pm 2(0.00662)\), or approximately \(0.890\) to \(0.916\).

This range describes numerical uncertainty from using a finite number of simulation replicates; it is not a confidence interval for the unknown parameter \(\mu\). Since the range is well below 0.95, simulation error alone is not a plausible explanation for the observed coverage deficit in this hypothetical run. More replicates would estimate the procedure’s coverage more precisely, but would not correct the deficit.

Failures, diagnostics, and limits

A failed fit is part of the performance of a computational procedure, not a replicate that may automatically be discarded. If only successful fits are averaged, the resulting bias and coverage estimates are conditional on successful fitting. They do not estimate unconditional performance over all generated data sets. Report the failure rate and label successful-only summaries explicitly. Alternatively, prespecify an operational rule that supplies an estimate and interval for every replicate, and evaluate that complete rule; the rule itself then defines the procedure being assessed.

For example, check whether the estimates cluster at parameter boundaries, whether profile likelihoods are unusually flat or asymmetric, whether different starting values lead to materially different solutions, and whether numerical integration is accurate enough to stabilize the likelihood. Also inspect the distribution of estimates, not only its mean: a long tail or a small group of extreme estimates can produce important finite-sample effects. If failures occur disproportionately in data sets with certain response patterns, a successful-only average may describe a selected subset of the simulation rather than typical repeated use.

Worked Example: Failed Fits Change the Interpretation

In a hypothetical run, 500 data sets are generated for a parameter with true value \(\theta=0\). The fitting algorithm succeeds on 472 and fails on 28. Among successful fits, the mean estimate is 0.15 and 418 of the 472 reported intervals contain the truth.

The failure rate is \(28/500=0.056\), or 5.60%. The successful-fit bias estimate is \(0.15-0=0.15\), and the successful-fit coverage is \(418/472=0.8856\), approximately 0.886. These numbers describe results conditional on successful fitting. They are not unconditional bias and coverage estimates for the full procedure, because the 28 failed replicates have no defined estimate or interval.

It would be incorrect to call \(418/500=0.836\) unconditional coverage unless the procedure had a prespecified rule for those 28 failures that made their interval outputs count as noncovering. Without such a rule, their coverage status is undefined. A proper report gives the 5.60% failure rate and the conditional summaries, or defines and evaluates a complete procedure that returns outputs on every replicate.

The main limitation is dependence on the simulation assumptions. A model can show low bias and nominal coverage when it generates the data and still be wrong for the application. Simulation also cannot establish identification from the observed data alone: it describes performance over the parameter and design settings chosen by the analyst. Results should therefore include the true parameter values, sample size, response mechanism, number of replicates, estimation and interval methods, failure handling, and Monte Carlo uncertainty. The earlier material on likelihood ridges and profile curvature helps interpret why performance changes across settings.

Key takeaway: Finite-sample simulation evaluates a fully specified estimation-and-interval procedure under a fully specified selection model. Include every replicate for unconditional performance only when the procedure defines outputs for every replicate; otherwise report successful-fit results as conditional and state the failure rate.

Check Your Understanding

Answer each question, then compare with the brief solutions.

  1. A procedure covers the true response parameter in 462 of 500 complete simulation replicates. What is estimated coverage, and what is its approximate Monte Carlo standard error?
  2. In 1,000 complete replicates, the mean estimate of a true outcome mean of 12 mm is 12.35 mm. What is the estimated bias, including units?
  3. Why can a shallow likelihood ridge increase finite-sample bias even when the score has mean zero at the true parameter?
  4. Suppose 900 of 1,000 fits succeed, and 855 successful-fit intervals cover the truth. What can be reported, and what cannot be called unconditional coverage?
  5. Name two diagnostics that should accompany simulated bias and coverage summaries for a weakly identified selection model.

Solutions. (1) Coverage is \(462/500=0.924\). Its approximate Monte Carlo standard error is \(\sqrt{0.924(0.076)/500}=0.0119\). (2) Bias is \(12.35-12=0.35\) mm. (3) The score’s mean-zero property concerns a first-order term; curvature and random inverse information introduce nonlinear terms that need not average to zero. Weak curvature can magnify them. (4) Report a 10.0% failure rate and successful-fit coverage \(855/900=0.950\), labelled conditional on success. Unconditional coverage is undefined unless a prespecified rule assigns intervals to all failed replicates. (5) Suitable diagnostics include profile-likelihood shape, boundary estimates, convergence under multiple starting values, and numerical integration accuracy.

Clinical Biostats