- Introduced by
- Extension of Sim & Zhou (2015) QQ framework; TVP adaptation by subsequent applied econometricians
- Year
- 2015–2019
- Type
- Nonparametric time-varying quantile regression
- Family
- Econometrics / time series
What does it do?
TVP-QQ regression extends the quantile-on-quantile (QQ) framework of Sim and Zhou (2015) by allowing the slope coefficients to change over calendar time.
For each pair of an outcome quantile τ and a predictor quantile θ, it estimates how the outcome's conditional quantile responds to the predictor, and it tracks how that response evolves across the sample. The result is a dynamic coefficient surface for examining dependence that may differ across the distribution and across periods.
The intuition behind the method
Ordinary regression summarises how a predictor X relates to an outcome Y on average. Quantile regression asks the same question at specific points of the outcome distribution, such as its lower tail. Quantile-on-quantile regression (Sim and Zhou, 2015) goes one step further by linking quantiles of the outcome to quantiles of the predictor, so the dependence can differ across the joint distribution. TVP-QQ adds a time dimension: observations close to a chosen calendar date receive more weight, so the estimated slopes can drift over the sample. The output is a surface over the quantile pair and time that shows where in the distribution, and when, a dependence appears.
History
The quantile-on-quantile approach was introduced by Sim and Zhou (2015), who studied the dependence between oil prices and US stock returns across the quantiles of both variables. The time-varying version combines this framework with time-varying parameter ideas and has been adopted in later applied econometric work; no single originator or date is attributed to it here.
When to use it
Choose TVP-QQ when the question concerns how the dependence between two continuous, time-ordered variables differs across parts of their joint distribution and may change over time, for example between tranquil and crisis periods. It suits long time series in which the relationship may shift gradually and where the interest lies in tails or specific quantiles rather than the conditional mean. Do not use it when the series is short, because the simultaneous smoothing over quantiles and time leaves too few effective observations at each estimation point. It is also the wrong tool when only average effects matter, when a causal interpretation is required, or when the analysis needs the orthogonalised impulse responses that a linear VAR provides.
Limitations and considerations
- The quantile and time smoothing must be estimated together, so the method needs a long series to keep the effective sample at each grid point adequate.
- The surface depends on the bandwidths h and b: a small value makes the surface noisy, while a large value hides the time variation the method is meant to detect.
- Bootstrap inference is repeated at every (τ, θ, t) grid point, which makes it computationally heavy on fine grids.
- The slopes are descriptive conditional-dependence measures and do not identify causal effects without further assumptions.
- No single standard implementation is assumed, so researchers usually code the estimator themselves and must verify it carefully.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Maps dependence over the full grid of quantile pairs, so asymmetric effects, such as a stronger link in the lower tail of the outcome than at its centre, appear in the surface rather than being averaged away in a single OLS slope.
- The time kernel lets the coefficient at each quantile pair evolve over calendar time, so gradual changes in dependence can be seen without fixing break dates in advance.
- Because the estimator is local and nonparametric in both dimensions, it does not require the predictor or the outcome to follow a specified distribution.
- The coefficient surface can be displayed as heat-maps at chosen time points, which makes tail-specific and period-specific dependence easy to compare.
- Since it conditions on quantiles of both variables, it fits questions about extreme or crisis-period co-movement, such as those listed under applications.
Applications
- Hypothetical illustration: studying whether extreme oil price shocks affect tail quantiles of stock returns differently in recessions versus expansions (the static version of this question is the setting of Sim and Zhou, 2015).
- Hypothetical illustration: analysing time-varying dependence between cryptocurrency prices and global uncertainty indices across bull and bear markets.
- Hypothetical illustration: examining how the relationship between two financial or commodity return series shifts across distributional quantiles over policy regimes.
- Hypothetical illustration: investigating asymmetric pass-through from global commodity quantiles to domestic inflation quantiles.
How it works
How it works
The QQ specification relates the τ-th conditional quantile of the outcome to the θ-th quantile of the predictor rather than only to its raw value. Both τ and θ lie in (0,1), so the dependence is mapped across the joint distribution and not only at the conditional mean. The slope β1(τ, θ) is therefore indexed by both quantile levels.
Formula
Q_{y}\big(\tau \mid Q_x(\theta)\big) = \beta_0(\tau, \theta) + \beta_1(\tau, \theta)\, Q_x(\theta)The time-varying extension adds a second kernel weight along the time index. Observations whose date s is close to the target date t receive high weight, and distant observations receive low weight, so the coefficients can change gradually over the sample rather than staying fixed. The time kernel is described here verbally only; its bandwidth b controls how quickly the weights decay with |s − t|.
At each grid point (τ, θ, t), a weighted check-function quantile regression is solved. The check loss ρ_τ is weighted by a kernel that depends on how far x_s lies from the θ-th predictor quantile, scaled by the bandwidth h, and by a time kernel that depends on the distance from s to t, scaled by b. Smaller bandwidths follow local variation more closely but rely on fewer effective observations. In the local linear form of Sim and Zhou (2015), the fitted term is expanded around the θ-th predictor quantile, so the slope is evaluated at that quantile; the time-kernel extension follows the same logic. Check the exact objective against the original paper before coding it.
Formula
\hat{\beta}(\tau,\theta,t) = \arg\min_{\beta} \sum_{s} K\!\left(\frac{x_s - Q_x(\theta)}{h}\right) K\!\left(\frac{s-t}{b}\right) \rho_{\tau}(y_s - \beta_0 - \beta_1 x_s)The estimated slopes are arranged as a three-dimensional surface over the quantile grid and time. Heat-maps or contour plots at selected time points show where in the (τ, θ) plane the slope is large, positive, or negative, which makes asymmetric and tail-specific patterns visible.
Analytic standard errors are difficult to derive for this nonparametric, time-varying estimator, so bootstrap or wild-bootstrap resampling is one approach for building confidence bands. The estimation is repeated for each grid point, which makes this the most computationally demanding step. This step is described verbally only.
Common pitfalls
- Choosing h and b by eye or at arbitrary values. The bandwidths should be selected by a documented rule, such as cross-validation, and the results checked for sensitivity to them.
- Reading a slope on the surface as the causal effect of the predictor's quantile on the outcome's quantile.
- Applying the method to a short series, where a wide time bandwidth removes the time variation under study.
- Reporting significant cells across a fine (τ, θ, t) grid without accounting for the many simultaneous tests.
- Confusing TVP-QQ with rolling-window quantile regression: the latter uses a fixed window, whereas TVP-QQ weights observations by a kernel in time.
Frequently asked questions
How does TVP-QQ differ from standard quantile-on-quantile regression?
Standard QQ regression (Sim & Zhou, 2015) estimates a fixed coefficient surface over the (τ, θ) quantile grid for the whole sample. TVP-QQ adds a second kernel along the time dimension so that the coefficients at each quantile combination are allowed to change smoothly over the sample period.
How long a series do I need to run TVP-QQ?
No minimum length is established. A practical diagnostic is to compute the sum of the time-kernel weights at each target date, and, together with the predictor kernel, the effective number of observations near each grid point. Require this to be comfortably large for a quantile regression, with the threshold chosen by the researcher as a judgement rather than a fixed rule. If a very wide time bandwidth is needed to obtain a stable fit, the time variation the method is meant to detect is being smoothed away, which signals that the sample is too short.
How do I choose the bandwidth parameters h and b?
Cross-validation over a grid of candidate values is one possible rule, though its suitability for this estimator is not established here. Whatever rule is used, document it and check how much the surface changes across reasonable alternatives. A larger time bandwidth b gives smoother evolution over time at the cost of temporal detail, and a larger bandwidth h smooths the surface across the predictor's quantiles.
Can TVP-QQ be applied to panel data?
The baseline method is designed for time series. Extensions to panel data require additional assumptions about cross-sectional pooling and the treatment of heterogeneous units, and are still an active area of methodological development.
What software can I use to estimate TVP-QQ models?
The method does not assume a single standard package. Researchers usually implement the estimator themselves in R or Python, using an existing quantile regression routine for the inner step (for example, quantreg in R or statsmodels in Python), and may adapt code from replication archives of published papers. Check any shared code against the stated formulas before reuse.
Related methods
Sources
Sim, N., & Zhou, H. (2015). Oil prices, US stock return, and the dependence between their quantiles. Journal of Banking & Finance, 55, 1–8.
Open DOI referenceBouri, E., Gupta, R., & Vo, X. V. (2021). Jumps in geopolitical risk and the cryptocurrency market: The singularity of Bitcoin. Defence and Peace Economics, 33(2), 150–161.
Open publication reference