With a flat prior and fixed σ, the AL posterior of β(τ) is asymptotically normal centred at the Koenker-Bassett estimate with covariance σD1−1/n - proportional to the arbitrary σ. The frequentist sampling covariance is the quantile-regression sandwich τ(1−τ)D1−1D0D1−1/n. 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 σ=1)
(The paper prints the same symbols D1,D0 in Eqs. 1 and 2. In Koenker’s (2005) standard result, D1 is built from the true conditional density of y at the τ-th quantile; treat the identification of the two matrices as the paper’s, not independently verified here.)
Adjusted covariance (Eq. 3)
Substitute σnΣ^(σ) for D1−1-type factors (from Eq. 1) and the finite-sample n−1∑xixi′ for D0 in the sandwich:
Σ^adj(σ)=σ2τ(1−τ)Σ^(σ)(i=1∑nxixi′)Σ^(σ),
with Σ^(σ) the posterior covariance from the AL posterior with the given σ. Credible intervals use Σ^adj instead of Σ^. Because Σ^∝σ, Σ^adj 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 n, τ, σ and the data-generating process,” so the choice of σ matters. Yang et al. recommend σ = its ML estimate under the AL at the medianτ=0.5 (no proof given). Ji et al. find with σ=10, τ=0.7 the adjustment is over 50% too wide for n<500 (Fig. 3) and at τ=0.9,σ=10 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 npdef 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 c, σ and Σ^ rescale so Σ^adj scales by c2, as it should.