- Introduced by
- Craig Hiemstra & Jonathan Jones
- Year
- 1994
- Type
- Nonparametric hypothesis test
- Family
- Causality
What does it do?
The Hiemstra-Jones test, introduced in 1994, is a nonparametric procedure for detecting nonlinear Granger causality between two time series after their linear interdependencies have been removed.
It was developed to study the relation between stock prices and trading volume, and it uses correlation-integral statistics to detect predictability that linear VAR-based causality tests do not capture.
The intuition behind the method
Standard Granger causality asks whether lagged values of one variable help linearly predict another. Financial and economic series often depend on each other in nonlinear ways that a linear VAR cannot represent. The Hiemstra-Jones test first prewhitens both series with a VAR to remove linear predictability. It then compares how often nearby histories of the joint system are followed by nearby futures against the same comparison for Y alone. If the past of X improves that comparison beyond what the past of Y provides, the statistic indicates nonlinear dependence consistent with causality from X to Y.
History
Craig Hiemstra and Jonathan Jones published the test in The Journal of Finance in 1994. Their study examined the relation between daily Dow Jones stock returns and percentage changes in New York Stock Exchange trading volume, using both linear and nonlinear Granger causality tests. They reported significant bidirectional nonlinear causality between returns and volume, and found that nonlinear causality from volume to returns persisted after controlling for volatility persistence in returns. Later variants of the statistic have since been proposed.
When to use it
Use the test when linear Granger causality results are inconclusive, or when theory suggests a nonlinear relationship between two stationary series, as in some financial or macroeconomic settings. Both series should be stationary before the test is applied, so they should be filtered or differenced first. The test is less suitable when the sample is short, because the asymptotic approximation then becomes unreliable. It is also a poor choice when strong conditional heteroskedasticity is present and has not been allowed for, since size can be distorted. If the question concerns only linear lead-lag structure, a standard linear Granger test answers it more directly. Later variants of the statistic have been proposed in the literature, and these should be reviewed before the original statistic is used in a setting where size distortion is a concern.
Limitations and considerations
- Results depend on the embedding dimension m and the bandwidth epsilon, and no universally optimal selection rule exists for either. The supplied sources do not establish a specific range for these parameters, so sensitivity should be checked.
- Under conditional heteroskedasticity the test can over-reject the null, so volatility dynamics must be considered before rejections are interpreted. The 1994 study controlled for volatility persistence in returns before drawing its conclusions.
- The asymptotic approximation needs adequate sample sizes, and the supplied sources do not establish a minimum sample size. In short samples the test has less power and the approximation may be unreliable.
- The statistic is a general measure of nonlinear dependence, so it does not reveal which moment or mechanism carries the dependence.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Targets nonlinear dependence that remains after VAR prewhitening, so it can detect causal links that linear Granger tests miss.
- Nonparametric: it does not require a specified nonlinear model for the conditional mean of Y.
- Built on correlation-integral counts of point pairs in the embedded joint series, for any chosen embedding dimension m and lag lengths Lx and Ly.
- In the 1994 application to daily Dow Jones returns and NYSE trading volume, the test found evidence of significant bidirectional nonlinear causality.
Applications
- Testing for nonlinear feedback between stock returns and trading volume in equity markets
- Examining nonlinear causal links between oil prices and macroeconomic variables such as GDP or inflation
- Investigating nonlinear transmission between exchange rates and trade balances
- Exploring nonlinear predictability between investor sentiment indices and asset returns
How it works
How it works
A vector autoregressive model of order p is fitted to the two series, and the residuals are retained. This removes linear predictive relationships, so the remaining analysis targets nonlinear dependence.
Formula
\text{Fit VAR}(p)\text{ to }(X_t, Y_t)\text{ and extract residuals }(\hat{u}_t, \hat{v}_t)\text{ to remove linear dependence.}For the residuals, the correlation integral at embedding dimension m and bandwidth epsilon is the proportion of distinct pairs of embedded points whose distance is less than epsilon. It summarises how often nearby states of the joint dynamics occur.
Formula
C(m, \varepsilon) = \frac{2}{T_m(T_m-1)} \sum_{1 \le s < t \le T_m} \mathbf{1}\bigl(\|Z_t^m - Z_s^m\| < \varepsilon\bigr)Under the null hypothesis of no nonlinear Granger causality, the ratio of joint correlation integrals that include the lagged X terms should equal the corresponding ratio computed from Y alone. The statistic D measures the difference between these two ratios for the chosen lag lengths Lx and Ly.
Formula
\frac{C_{1+Lx+Ly}(1+Lx+Ly,\varepsilon)}{C_{Lx+Ly}(Lx+Ly,\varepsilon)} = \frac{C_{1+Ly}(1+Ly,\varepsilon)}{C_{Ly}(Ly,\varepsilon)}The scaled statistic, multiplied by the square root of the sample size, converges in distribution to a normal limit under the null hypothesis. A rejection at conventional significance levels indicates nonlinear dependence in the prewhitened residuals that is consistent with nonlinear causality from X to Y. This holds provided the series are stationary and conditional heteroskedasticity has been checked. A rejection does not by itself establish a specific causal mechanism.
Formula
\sqrt{T}\,\hat{D}(Lx, Ly, \varepsilon) \xrightarrow{d} N(0, \sigma^2)Common pitfalls
- Omitting VAR prewhitening mixes linear and nonlinear predictability, so a rejection cannot be attributed to nonlinearity.
- Residual ARCH effects can produce spurious rejections; testing for them before applying the Hiemstra-Jones test is advisable.
- An epsilon that is very small or very large relative to the scale of the data distorts the correlation-integral estimates.
- A single choice of m and epsilon hides sensitivity; results should be checked across a range of settings before they are reported.
Frequently asked questions
How does the Hiemstra-Jones test differ from standard Granger causality?
Standard Granger causality operates within a linear VAR framework and detects only linear predictive relationships. The Hiemstra-Jones test first removes linear dependence by VAR prewhitening and then applies a nonparametric correlation-integral statistic to the residuals. It targets nonlinear causal relationships that remain after linear effects are partialled out.
Are there later variants of the test?
Yes. Modified versions of the statistic have been proposed in the literature. The specific modifications are not described on this page, so the original paper for any variant should be read and its assumptions compared with those of the original statistic before a choice is made. Because the original study controlled for volatility persistence in returns, that step remains a sensible first check whichever version is used.
How should I choose the embedding dimension and bandwidth for the test?
No single optimal rule exists for the embedding dimension m or the bandwidth epsilon. A practical approach is to report results across a range of values for both and to check whether the conclusions hold throughout. Values that are very small or very large relative to the scale of the data should be avoided because they distort the correlation-integral estimates.
Related methods
Sources
Hiemstra, C., & Jones, J. D. (1994). Testing for linear and nonlinear Granger causality in the stock price-volume relation. The Journal of Finance, 49(5), 1639–1664.
Open DOI reference