Why Inference for a Distribution-Regression Curve Is Different
Distribution regression models the conditional cumulative distribution function by fitting a binary-response regression separately at each outcome threshold. For a threshold \(y\), the response is \(1\{Y_i\le y\}\), and the fitted probability at covariates \(x\) estimates \(F_{Y\mid X}(y\mid x)=P(Y\le y\mid X=x)\). Inference for one such probability is pointwise. Inference for a curve asks a stronger question: how uncertain are the predictions across many thresholds, covariate profiles, or both?
The distinction matters because estimates at different thresholds are not independent. The binary responses are nested: if an observation is at or below a smaller threshold, it is also at or below a larger one. A collection of ordinary 95% intervals therefore does not automatically provide 95% coverage for the entire collection of predictions.
Pointwise Uncertainty: From Coefficients to a Predicted Probability
At a fixed threshold \(y\), write \(Z_i(y)=1\{Y_i\le y\}\) and \(p_i(y)=\Lambda(X_i'\beta(y))\). The logistic score equation is $$ \frac{1}{n}\sum_{i=1}^{n}X_i\{Z_i(y)-\Lambda(X_i'\hat\beta(y))\}=0. $$ For the usual large-sample approximation, observations are independent and identically distributed, the conditional probability model is correctly specified, the relevant moments are finite, and the information matrix is nonsingular. The threshold is treated as fixed. Under these regularity conditions, \(\hat\beta(y)\) is asymptotically normal. A sandwich covariance estimator can also be used to allow for a more general variance of the score.
Let \(\widehat V(y)\) estimate the asymptotic covariance matrix of \(\sqrt{n}\{\hat\beta(y)-\beta(y)\}\). Thus, the estimated covariance matrix of \(\hat\beta(y)\) itself is \(\widehat V(y)/n\). For a fixed profile \(x\), the derivative of the predicted probability with respect to \(\beta(y)\) is \(\Lambda(x'\beta)\{1-\Lambda(x'\beta)\}x\). Applying the delta method gives the standard error of the predicted probability:
Equivalently, if \(\widehat\Sigma(y)=\widehat V(y)/n\) estimates the covariance matrix of \(\hat\beta(y)\), the variance estimate is \(g'\widehat\Sigma(y)g\), where \(g=\hat p(1-\hat p)x\). A pointwise Wald interval is \(\hat p\pm 1.96\widehat{SE}\{\hat p\}\) for approximate 95% coverage at this particular \(y\) and \(x\). It may extend outside \([0,1]\). A link-scale interval can instead be formed for \(x'\beta(y)\) and transformed through \(\Lambda\), producing endpoints inside \([0,1]\); that transformation does not turn pointwise coverage into simultaneous coverage.
Worked Example: A Pointwise Distribution Prediction
Suppose a hypothetical fitted model at threshold \(y=50\) has \(\hat\beta(y)=(-0.6,\,0.4)'\), with covariance estimate for the coefficient vector $$ \widehat\Sigma(y)= \begin{pmatrix} 0.04&-0.006\\ -0.006&0.01 \end{pmatrix}. $$ For the profile \(x=(1,2)'\), calculate the predicted probability and its pointwise 95% Wald interval. Treat the stated covariance matrix as the covariance of \(\hat\beta(y)\), not as the covariance of \(\sqrt n\hat\beta(y)\).
The linear predictor is \(x'\hat\beta=-0.6+2(0.4)=0.2\), so \(\hat p=\Lambda(0.2)=0.5498\). The gradient is \(g=\hat p(1-\hat p)x\), giving \(g\approx(0.2475,\,0.4950)'\). Its estimated variance is $$ g'\widehat\Sigma g \approx 0.04(0.2475)^2+2(-0.006)(0.2475)(0.4950)+0.01(0.4950)^2 =0.003431. $$ Thus the standard error is \(\sqrt{0.003431}=0.05857\). The interval is \(0.5498\pm1.96(0.05857)=[0.4350,\,0.6646]\), up to rounding. At threshold 50 and this covariate profile, the fitted probability that the outcome is at most 50 is about 0.550; the interval is a pointwise interval for that probability.
Contrasts and Covariance at a Fixed Threshold
Often the target is a difference between predictions at two profiles, not either probability alone. Since both predictions use the same estimated coefficient vector at threshold \(y\), they are correlated. Inference for their difference must use the gradient of the difference and the full coefficient covariance matrix; adding two standard errors as if the predictions were independent is generally wrong.
Worked Example: Comparing Two Profiles Without Rounding Early
At a fixed threshold, suppose hypothetical estimates are \(\hat\beta=(-0.80,\,0.35)'\), with coefficient covariance $$ \widehat\Sigma= \begin{pmatrix} 0.04&0.006\\ 0.006&0.01 \end{pmatrix}. $$ Compare \(x_A=(1,0)'\) with \(x_B=(1,1)'\). The two linear predictors are \(-0.80\) and \(-0.45\), respectively. Calculate the difference in predicted probabilities and its pointwise 95% Wald interval.
The fitted probabilities are \(\Lambda(-0.80)\approx0.3100255\) and \(\Lambda(-0.45)\approx0.3893608\). Carrying these unrounded values through, the difference is $$ h(\hat\beta)=\Lambda(-0.45)-\Lambda(-0.80)\approx0.0793352. $$ The logistic derivatives at the two predictors are approximately \(0.2139097\) and \(0.2377580\). Consequently, $$ \nabla h(\hat\beta) = 0.2377580(1,1)'-0.2139097(1,0)' \approx(0.0238493,\,0.2377580)'. $$ Using the full covariance matrix, the estimated variance is $$ 0.04(0.0238493)^2 +2(0.006)(0.0238493)(0.2377580) +0.01(0.2377580)^2 \approx0.0006561. $$ The standard error is approximately \(0.02561\), so the interval is $$ 0.0793352\pm1.96(0.02561)\approx[0.02913,\,0.1295]. $$ At this threshold, the fitted probability is about 0.0793 higher for profile \(B\) than for profile \(A\). This is a comparison of conditional distribution predictions; it is not, by itself, a causal effect.
Why Predictions Across Thresholds Are Dependent
At different thresholds \(y\), distribution regression estimates different coefficient vectors. Their sampling errors are nevertheless linked because they use the same observations and nested binary responses. To see the source of the dependence, define \(A(y)=E[p_i(y)\{1-p_i(y)\}X_iX_i']\). Under the stated model and regularity conditions, an influence function for the coefficient estimate at threshold \(y\) is $$ \psi_i(y)=A(y)^{-1}X_i\{Z_i(y)-p_i(y)\}. $$ In particular, \(\sqrt n\{\hat\beta(y)-\beta(y)\}\) is approximated by \(n^{-1/2}\sum_i\psi_i(y)\). This representation gives both the pointwise sandwich variance and the cross-threshold covariance.
For \(y\le y'\), the nesting \(Z_i(y)\le Z_i(y')\) implies, conditional on \(X_i\), that the covariance of the two binary residuals is \(F(y\mid X_i)\{1-F(y'\mid X_i)\}\) when the conditional distribution model is correct. More generally, a robust estimate of the cross-threshold covariance can be calculated from the paired estimated influence functions. For predictions at covariate profiles, apply the corresponding prediction gradients to those coefficient influence functions. The resulting joint covariance accounts for dependence across both thresholds and profiles.
Simultaneous Bands Over a Grid
A simultaneous band aims to cover all predictions in a prespecified collection with probability approximately 95% in repeated samples. For a finite grid of threshold-profile pairs \((y_j,x_j)\), let \(\hat p_j=\hat F(y_j\mid x_j)\) and let \(\hat s_j\) be its pointwise standard error. A simultaneous band has the form \(\hat p_j\pm c_{0.95}\hat s_j\), where \(c_{0.95}\) is chosen from the distribution of the maximum absolute standardized error across the whole grid. Because the maximum is usually larger than a single standard normal absolute value, \(c_{0.95}\) is generally larger than 1.96.
A multiplier bootstrap estimates that critical value while preserving the estimated dependence. First compute estimated influence contributions \(\hat\phi_{ij}\) for each prediction \(j\), scaled so their sum approximates \(\sqrt n(\hat p_j-p_j)\). Draw independent mean-zero, variance-one multipliers \(\xi_i\), such as standard normal variables, and calculate $$ T^*=\max_j\left| \frac{n^{-1/2}\sum_{i=1}^{n}\xi_i\hat\phi_{ij}}{\hat s_j} \right|. $$ Repeat this calculation many times. The empirical 95th percentile of the bootstrap values of \(T^*\) is \(c_{0.95}\). Since each draw uses the same multiplier \(\xi_i\) across all grid points, it retains the estimated cross-threshold and cross-profile dependence. The method requires suitable regularity conditions and a sufficiently accurate estimate of the influence functions; the grid and range of thresholds should be chosen with the inferential target in mind.
Choose the outcome thresholds and covariate profiles over which coverage is required. A band for a finite grid makes a claim only about that grid.
Estimate the threshold-specific distribution regressions, then obtain influence contributions and standard errors for every predicted probability.
Use shared multiplier draws across all grid points and record the maximum absolute standardized perturbation for each draw.
Use the simulated maximum's 95th percentile as the critical value, and report exactly which thresholds and profiles the band covers.
Worked Example: Reading a Simultaneous Band
Suppose a hypothetical analysis evaluates four threshold-profile pairs. The fitted probabilities and pointwise standard errors are \(0.27\) and \(0.025\), \(0.41\) and \(0.030\), \(0.52\) and \(0.028\), and \(0.68\) and \(0.035\). A multiplier bootstrap using 4,999 draws gives a 95th-percentile maximum critical value of \(2.47\). Calculate the simultaneous intervals.
For the first pair, the half-width is \(2.47(0.025)=0.06175\), giving \([0.2083,\,0.3318]\). For the remaining pairs, the calculations are \(0.41\pm2.47(0.030)=[0.3359,\,0.4841]\), \(0.52\pm2.47(0.028)=[0.4508,\,0.5892]\), and \(0.68\pm2.47(0.035)=[0.5936,\,0.7665]\). These intervals form a simultaneous band for the four specified pairs, under the validity of the model and bootstrap approximation. They do not assert coverage over thresholds or profiles that were not included in the grid.
Pointwise Versus Simultaneous Interpretation
| Procedure | Coverage target | Typical critical value |
|---|---|---|
| Pointwise Wald interval | One fixed threshold and one fixed covariate profile | 1.96 for approximate 95% coverage |
| Simultaneous band | All specified threshold-profile pairs together | 95th percentile of the maximum statistic, usually greater than 1.96 |
A finite-grid band is not automatically a uniform band over a continuum. Extending coverage claims to a continuous range requires appropriate uniform approximations and control of behavior between grid points. In practice, it is important to state whether the inferential target is a handful of prespecified predictions, a dense grid, or an entire range of the distribution-regression curve.
Common Pitfall
A common mistake is to calculate a 95% interval at every point on a curve and then describe the collection as a 95% band. Each interval has approximate 95% coverage at its own fixed point, but the probability that all intervals cover simultaneously can be substantially lower. The correction is to calibrate a maximum statistic over the target grid, using the joint dependence of the estimates. A second frequent error is to treat predictions at two profiles as independent when calculating their difference; the correct calculation uses the gradient of the difference and the full covariance matrix.
Check Your Understanding
Try these questions before moving on.
- What probability does \(\hat F(y\mid x)\) estimate in logistic distribution regression?
- Why does the delta-method gradient for a predicted probability contain the factor \(\hat p(1-\hat p)\)?
- When forming a confidence interval for a difference between predictions at two profiles, why must their covariance be included?
- Why are fitted predictions at two different outcome thresholds generally dependent?
- What does a 95% simultaneous band over a finite grid claim, and how does that differ from a set of pointwise 95% intervals?