- Introduced by
- Bayesian QQ framework combines Sim & Zhou (2015) QQ regression with Bayesian quantile regression (Yu & Moyeed, 2001)
- Year
- 2015–2019
- Type
- Nonparametric quantile regression with Bayesian estimation
- Family
- Econometrics / time series
What does it do?
Bayesian Quantile-on-Quantile (BQQ) Regression extends the Sim-Zhou quantile-on-quantile framework by replacing frequentist local linear estimation with Bayesian posterior inference.
For each pair of quantiles (theta of the outcome, tau of the predictor), the method yields a full posterior distribution over the slope, enabling uncertainty quantification across the entire bivariate quantile surface — a key advantage when sample sizes are moderate and tail quantiles are sparse.
The intuition behind the method
Standard regression asks how the average outcome responds to the average predictor. Quantile-on-quantile regression asks a richer question: how does the theta-th quantile of outcome y respond to the tau-th quantile of predictor x, across all combinations of theta and tau? The result is a two-dimensional surface of slopes. The Bayesian variant replaces point estimates on that surface with posterior distributions, so you see not just the shape of dependence but also how confident you can be about tail behaviour — for example, whether oil price crashes (low tau) genuinely drag equity markets into distress (low theta) or only appear to do so by chance.
History
Quantile-on-quantile regression was introduced by Sim and Zhou (2015), who applied it to the dependence between oil price quantiles and US stock-return quantiles. Bayesian quantile regression builds on Yu and Moyeed (2001), who proposed the asymmetric Laplace likelihood for Bayesian quantile estimation. Bayesian implementations of the QQ framework combine these two strands; no single originator of the combined method is documented here.
When to use it
Use Bayesian QQ regression when you suspect that the relationship between two variables differs across quantiles of both variables (for example energy-equity linkages, crypto volatility spillovers, or the inequality-growth nexus) and you need uncertainty bands, especially in the tails where data are sparse. It is most useful when the sample is moderate and frequentist local linear estimates at extreme quantile pairs are noisy; as rules of thumb, not drawn from the cited sources, the frequentist QQ approach may suffice for large samples where computational speed matters. Key assumptions: the relationship is approximately linear in F(x) within the bandwidth around each (theta, tau) cell; the ALD is only a working likelihood; an iid ALD likelihood does not model serial dependence, so for time series you should handle or test for it; and the series should be stationary or suitably transformed. Do not use BQQ when the conditional relationship is well approximated as linear and homogeneous across quantiles; standard Bayesian OLS or quantile regression is simpler.
Limitations and considerations
- Computationally expensive: MCMC is run at every point on the (theta, tau) grid, so total cost grows with both the number of grid cells and the number of posterior draws needed per cell.
- The ALD working likelihood yields valid quantile estimates but is a pseudo-likelihood; formal Bayesian model comparison via marginal likelihoods requires caution.
- Extreme quantile pairs (theta or tau near 0 or 1) have very few effective observations, so posteriors remain wide regardless of the prior, and results are sensitive to bandwidth choice.
- No widely adopted software package standardises the method; implementations vary, making replication harder than for frequentist QQ regression.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Provides full posterior uncertainty at every (theta, tau) cell, including credible intervals for tail dependence where point estimates are unreliable.
- Captures heterogeneous dependence: the slope can vary freely across both the predictor quantile and the outcome quantile, revealing asymmetric and nonlinear co-movement patterns.
- Incorporates prior information — useful when theory constrains the direction of tail dependence (e.g., negative co-movement in bear markets).
- The ALD likelihood links naturally to existing Bayesian quantile regression theory (Yu and Moyeed, 2001), providing a coherent inferential framework.
- Produces interpretable surfaces: researchers can visually identify which quantile combinations drive the overall association.
Applications
- Energy economics: assessing whether extreme oil price movements affect extreme quantiles of stock returns or GDP growth differently than moderate shocks.
- Financial contagion: mapping how bear-market states in one asset class (low tau) spill over into distress quantiles (low theta) of another.
- Inequality and growth: testing whether the growth-inequality nexus differs for countries at different points of the income distribution.
- Cryptocurrency markets: quantifying tail dependence between Bitcoin volatility quantiles and altcoin return quantiles under uncertainty.
- Climate finance: studying how extreme climate risk quantiles predict extreme green-bond return quantiles.
- Health economics: examining whether high quantiles of pollution exposure disproportionately affect the lower quantiles of health outcomes.
How it works
How it works
For each quantile pair (theta, tau), the theta-th conditional quantile of y is approximated by a local linear function of the deviation of F(x) from tau, where F is the distribution function of the predictor (estimated empirically when unknown). Observations are weighted by a kernel with bandwidth h centred on the tau-th predictor quantile, so the regression is localised to a neighbourhood of that quantile and can capture heterogeneous dependence. The bandwidth rule should be stated and its influence checked.
Formula
\hat{\beta}(\theta,\tau)=\arg\min_{b_0,b_1}\sum_t \rho_\theta\!\big(y_t-b_0-b_1[F_x(x_t)-\tau]\big)\,K\!\left(\frac{F_x(x_t)-\tau}{h}\right)The Bayesian engine uses the asymmetric Laplace distribution (ALD) as the working likelihood, with scale parameter sigma and check function rho_theta(u) = u(theta - I(u<0)). For fixed sigma, the negative log-likelihood is proportional to the sum of (kernel-weighted) check losses used in frequentist quantile regression. The posterior mode under flat priors therefore coincides with the check-loss minimiser; posterior means or medians may differ and should be reported as such. Because the ALD is a working model rather than the true data-generating distribution, the posterior is best read as a summary of quantile dependence, not as a full probabilistic model of the data.
Formula
\mathcal{L}(\beta,\sigma\mid\theta,\tau)\propto\prod_t \frac{\theta(1-\theta)}{\sigma}\exp\!\left[-\frac{\rho_\theta(y_t-b_0-b_1[F_x(x_t)-\tau])}{\sigma}\right],\quad \rho_\theta(u)=u\,(\theta-I(u<0))Prior distributions are placed on the intercept and slope at each (theta, tau) grid point. Non-informative or weakly informative normal priors are common; informative priors can incorporate domain knowledge about tail co-movement or financial contagion.
Posterior draws at each grid point are obtained by Markov chain Monte Carlo (MCMC). Gibbs-type samplers are a common choice for this model; the sampling scheme used should be stated explicitly, because it determines how convergence is checked. Standard diagnostics (trace plots, R-hat, effective sample size) are applied to each grid point.
Posterior means or medians across the (theta, tau) grid are assembled into a heat-map surface. A cell is informative when its credible interval excludes zero; wide intervals flag cells where the dependence is uncertain. The surface describes conditional quantile dependence and should be reported across several bandwidths.
Common pitfalls
- Interpreting the slope surface as a causal effect without establishing identification; BQQ describes conditional quantile dependence and is not a causal model.
- Choosing an excessively narrow bandwidth: too few observations enter the local regression at each (theta, tau) point, producing posteriors driven by the prior rather than the data.
- Reporting only the posterior mean surface without credible intervals, discarding the key Bayesian advantage over frequentist QQ regression.
- Applying BQQ to very small samples: at extreme quantiles, few observations fall in the local neighbourhood, so posteriors at those cells may mainly reflect the prior.
- Ignoring serial dependence or non-stationarity in time-series data, which an iid ALD likelihood does not account for.
- Confusing BQQ with Bayesian quantile regression: the latter estimates one quantile of y given x at a fixed theta, whereas BQQ estimates how that quantile response varies across the distribution of x.
Frequently asked questions
How does Bayesian QQ regression differ from standard Bayesian quantile regression?
Standard Bayesian quantile regression estimates the theta-th quantile of the outcome as a single linear function of the predictor, holding the predictor fixed. BQQ additionally lets the slope vary across quantiles of the predictor (indexed by tau), producing a two-dimensional surface rather than a single coefficient vector.
How many grid points should I use for (theta, tau)?
A 9×9 or 10×10 equally spaced grid from 0.1 to 0.9 is a common rule of thumb, not drawn from the cited sources. Finer grids give smoother surfaces but multiply computation. Be cautious with very extreme quantiles, where few observations are available, and check how conclusions change with grid choice and sample size.
What bandwidth should I choose for the local approximation?
Bandwidth determines how many observations contribute to each local regression, and therefore how local each estimate is. State the selection rule explicitly and justify it, then check whether conclusions change across several plausible bandwidth values. Results that depend strongly on the bandwidth should be reported as such.
Can I use BQQ with panel data?
Panel data can be used, but extensions require additional modelling choices, such as how to treat the intercept at each (theta, tau) cell across units. Before adopting a panel extension, check whether the available implementation supports the panel structure you need; pooling the data or estimating each cross-section separately introduces its own assumptions.
How do I assess convergence of the MCMC chains?
Apply standard MCMC diagnostics to each grid cell: trace-plot inspection, R-hat, and effective sample size. Set acceptance criteria before inspecting results rather than after. Problems at extreme cells should be reported, since sparsely populated cells can mix poorly even when interior cells look well behaved.
Related methods
Sources
Sim, N., & Zhou, H. (2015). Oil prices, US stock return, and the dependence between their quantiles. Journal of Banking and Finance, 55, 1–8.
Open DOI referenceYu, K., & Moyeed, R. A. (2001). Bayesian quantile regression. Statistics and Probability Letters, 54(4), 437–447.
Open DOI reference