Fourier Quantile-on-Quantile Regression

Econometrics
Introduced by
Extension combining Sim & Zhou (2015) QQ regression with Fourier flexible-form smoothing
Year
2015-2020s
Type
Nonparametric quantile regression with Fourier smoothing
Family
Econometrics / time series

What does it do?

Fourier quantile-on-quantile regression extends the quantile-on-quantile (QQ) framework of Sim and Zhou (2015) by adding Fourier trigonometric terms to the local linear quantile model.

This lets the estimated dependence between the quantiles of one variable and the quantiles of another vary smoothly over time, so gradual change can be captured without assuming a known break date.

The intuition behind the method

Standard QQ regression asks how the theta-th quantile of one variable responds when the other variable is at its tau-th quantile. That dependence may change over a sample because of events such as financial crises, policy changes or shifts in energy markets. Rather than splitting the sample at an assumed break date, the Fourier extension adds smooth sine and cosine terms to the local QQ model, following the Fourier flexible form of Gallant (1981), which uses low-frequency trigonometric terms to approximate smooth unknown functions. The estimated time-varying component then indicates when and how the relationship shifted, provided the change is gradual rather than abrupt.

History

Quantile-on-quantile regression was introduced by Sim and Zhou (2015) to study asymmetric dependence between oil prices and US stock returns across distributional states. The Fourier flexible form, from Gallant (1981), provides low-frequency trigonometric terms for approximating smooth unknown functional forms. The combination of the two into a Fourier-augmented QQ model is not attributed to a specific source here.

When to use it

Choose Fourier QQ regression when you want to know whether the dependence between two continuous variables differs across their distributions and whether that pattern drifts gradually over a long time series, with no single sharp break. The model needs a time index t and a sample length T, so it applies to time-series data only. The sample needs enough observations for the local kernel estimates and the Fourier terms. No minimum size is established on this page, so check that results are stable across subsamples and bandwidths. Avoid short samples, because the Fourier terms and kernel estimation together use up many degrees of freedom. If structural change is abrupt, a model with an explicit break date or a regime-switching specification is more appropriate. If the question concerns cross-sectional rather than time-series variation, plain QQ regression without the Fourier component is simpler.

Limitations and considerations

  • Requires large samples (100+ observations) for reliable kernel and Fourier estimation; small samples produce unstable surfaces.
  • Computational cost is high: estimates must be computed at every (theta, tau) grid point with bootstrap inference.
  • The choice of bandwidth and Fourier frequency order is not fully automatic and can affect results materially.
  • Interpretation of the two-dimensional dependence surface is more complex than a single slope coefficient.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Simultaneously captures distributional asymmetry (via QQ grid) and smooth time-variation (via Fourier terms) in a single model.
  • Does not require a pre-specified break date; the Fourier terms adapt to when the relationship shifts.
  • Reveals the full (theta, tau) dependence surface, exposing whether tail-to-tail interactions differ from median-to-median ones.
  • Flexible yet parsimonious: one or two Fourier harmonics often suffice, avoiding parameter proliferation.
  • Applicable without strong distributional assumptions, relying on semi-parametric quantile methods.

Applications

  • Examining how the dependence between oil prices and US stock returns varies across distributional states, the setting of the original QQ study by Sim and Zhou (2015), with an added allowance for gradual change over time.
  • Studying quantile-specific dependence between commodity prices and equity returns in long series where the relationship may drift.
  • Analysing whether the pass-through of global commodity prices to domestic prices differs across quantiles of the price distribution and evolves gradually.
  • Testing whether the link between energy consumption and economic growth differs across distributional quantiles in a long single-country time series.

How it works

How it works

1

The QQ framework evaluates the conditional quantile of y at quantile level theta, given that x is at its tau-th quantile. A local linear approximation around F_x^{-1}(tau) yields slope beta(theta, tau) measuring dependence at each (theta, tau) pair.

Formula
Q_{\theta}(y_t | x_t^{\tau}) = \alpha(\theta, \tau) + \beta(\theta, \tau)\,[x_t - F^{-1}(\tau)]
2

Fourier flexible-form terms, namely low-frequency sine and cosine components indexed by harmonic k, are constructed from the time index t and sample length T. The harmonic order n is a tuning choice rather than a fixed rule. Select it by AIC or BIC and check that conclusions hold across the orders considered. The aim is to capture smooth structural change.

Formula
f(t) = a_0 + \sum_{k=1}^{n}\left[a_k \cos\!\left(\tfrac{2\pi k t}{T}\right) + b_k \sin\!\left(\tfrac{2\pi k t}{T}\right)\right]
3

The Fourier terms enter the local QQ regression as additional regressors. The slope gamma(theta, tau) picks up smooth time-variation in the intercept and slope, allowing both the level and magnitude of quantile dependence to drift over time.

Formula
Q_{\theta}(y_t | x_t^{\tau}, f(t)) = \alpha(\theta,\tau) + \beta(\theta,\tau)\,[x_t - F_x^{-1}(\tau)] + \gamma(\theta,\tau)\,f(t)
4

Estimation uses kernel-weighted local linear quantile regression at each (theta, tau) grid point, with a kernel K_h whose bandwidth h controls how local each estimate is. No bandwidth formula is supplied here. Choose h by cross-validation or a rule-of-thumb, and check sensitivity over a range of values. The number of harmonics is selected with AIC or BIC.

5

Confidence intervals for the beta and gamma surfaces are typically obtained by bootstrap. The bootstrap scheme (resampling unit, block length for dependent data, number of replications) must be specified and reported. The asymptotic distribution of the kernel-weighted estimator is not established here. The significance of the Fourier terms can be assessed with an F-type Wald test comparing the augmented model with the plain QQ model. Because the null distribution of this test for kernel-weighted grid estimates is not established here, treat its p-values as indicative.

Common pitfalls

  • Choosing the harmonic order by fit alone can add parameters that absorb noise rather than structure. Select the order by AIC or BIC and check robustness across the orders considered.
  • Using a coarse (theta, tau) grid (e.g., only deciles) can miss important features in the tails; prefer a finer grid such as the 5th to 95th percentile in steps of 5.
  • Interpreting time-varying patterns without first checking whether the Fourier terms are statistically significant. If the Wald test for gamma = 0 is not rejected, the plain QQ model may be adequate. Because the test's null distribution for kernel-weighted grid estimates is not established here, treat the p-value as indicative.
  • Confusing smooth structural change captured by Fourier terms with genuine nonlinearity in the QQ relationship itself; the two concepts are distinct.
  • Applying the method to very short or irregularly spaced time series where the time index t does not have a natural unit-period interpretation.

Frequently asked questions

How does Fourier QQ regression differ from plain QQ regression?

Plain QQ regression treats the dependence between quantiles as fixed across the entire sample. Fourier QQ regression adds sine and cosine terms to allow that dependence to evolve smoothly over time. If the Wald test for the Fourier terms is not significant, both models give a similar account; when it is significant, the time-varying model reveals how the quantile relationship has shifted.

How many Fourier harmonics should I include?

Start with a single harmonic (one sine and one cosine term) and use AIC or BIC to decide whether adding a further harmonic improves fit. The harmonic order is a tuning choice rather than a fixed rule, so check that conclusions hold across the orders considered. Additional harmonics add parameters and raise the risk of fitting noise rather than structure.

How do I choose the bandwidth for the kernel estimation?

The bandwidth controls how local each estimate is. Rule-of-thumb choices and cross-validation over the quantile grid are both used in practice, but no formula for either is given on this page. Run a sensitivity check across a range of bandwidths to confirm that conclusions do not depend on one choice.

What software can estimate this model?

No dedicated package is named for this method. Estimation requires code that fits the local QQ regressions over the grid, adds the Fourier regressors and runs the bootstrap for inference. The StatWise route listed in the In practice section is one option.

Is a large sample really necessary?

A large sample is generally needed. At each (theta, tau) grid point the estimator uses only observations in a local neighbourhood of x near F_x^{-1}(tau), so the effective local sample can be much smaller than the full T. In short samples these neighbourhoods may contain too few points for stable estimates, and the Fourier regressors add to that strain. Check stability across subsamples and bandwidths.

Related methods

Sources

  1. 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 reference
  2. Gallant, A. R. (1981). On the bias in flexible functional forms and an essentially unbiased form: The Fourier flexible form. Journal of Econometrics, 15(2), 211-245.

    Open DOI reference