Ji 2024 - Yang-Wang-He Sandwich Adjustment

Summary

With a flat prior and fixed , the AL posterior of is asymptotically normal centred at the Koenker-Bassett estimate with covariance - proportional to the arbitrary . The frequentist sampling covariance is the quantile-regression sandwich . Yang, Wang and He (2016) substitute the former into the latter to rescale the posterior covariance; asymptotically invariant to , but in finite samples sensitive to it.

Overview

The original paper (Yang, Wang and He 2016, Posterior inference in Bayesian quantile regression with asymmetric Laplace likelihood, Int. Stat. Rev.) is paywalled and was not obtained; this note records the adjustment as restated and tested by Ji et al. (2024). Sriram (2015) proposed a related two-step “sandwich likelihood”.

Main Content

Asymptotic posterior (Eq. 1; Yang et al. 2016; Sriram 2015 for )

With flat (improper) priors on and fixed ,

where is evaluated at the true parameter. Sriram (2015, Remark 4) extends this to arbitrary fixed and arbitrary proper priors.

Frequentist sampling distribution (Eq. 2; Koenker 2005, p. 74)

(The paper prints the same symbols in Eqs. 1 and 2. In Koenker’s (2005) standard result, is built from the true conditional density of at the -th quantile; treat the identification of the two matrices as the paper’s, not independently verified here.)

Adjusted covariance (Eq. 3)

Substitute for -type factors (from Eq. 1) and the finite-sample for in the sandwich:

with the posterior covariance from the AL posterior with the given . Credible intervals use instead of . Because , is asymptotically free of .

Sriram’s two-step sandwich likelihood. Step 1: posterior means and covariance under the AL with fixed . Step 2: replace the AL by a multivariate normal “sandwich likelihood” with mean and covariance from Eq. 3 and recompute; credible sets merge asymptotically with frequentist confidence sets.

Finite-sample caveat (Ji et al.). “In finite samples, the posterior distribution may not be well approximated by a multivariate normal … depending on , , and the data-generating process,” so the choice of matters. Yang et al. recommend = its ML estimate under the AL at the median (no proof given). Ji et al. find with , the adjustment is over 50% too wide for (Fig. 3) and at the average Yang SE is 0.2 versus 0.09 for IJ (coverage 0.99).

Examples

Python: applying Eq. 3 to AL posterior draws

import numpy as np
def yang_adjusted_cov(draws, X, tau, sigma):
    """draws: (S, p) posterior draws of beta(tau) under AL with fixed sigma."""
    Sigma = np.cov(draws, rowvar=False)
    XtX = X.T @ X
    return tau * (1 - tau) / sigma**2 * Sigma @ XtX @ Sigma
# CI: beta_hat +/- 1.645 * sqrt(diag(adj)) for 90%

Multiply by the units: if the response is rescaled by , and rescale so scales by , as it should.

Connections

Ji 2024 - Infinitesimal Jackknife Standard Errors avoids estimating through the AL scale; learning-rate view: Ji 2024 - Gibbs Posterior and Learning-Rate Calibration.

See Also

Ji 2024 - Valid Standard Errors for Bayesian Quantile Regression - Overview