Estimation of a Structural Vector Autoregression Model Using Non-Gaussianity
Citation. Aapo Hyvärinen, Kun Zhang, Shohei Shimizu and Patrik O. Hoyer. "Estimation of a Structural Vector Autoregression Model Using Non-Gaussianity". Journal of Machine Learning Research 11, 1709–1731, 2010. jmlr.org/papers/v11/hyvarinen10a. The method is VARLiNGAM in cdt15/lingam, version 1.13.0 of 22 July 2026, under MIT.
Status. Planned, with conditions. The dependency graph (#187) needs the order of effects within one period, which Granger tests can't give (economic-causality.md). VAR-LiNGAM gives it, if its shocks are independent and non-Gaussian. Returns are non-Gaussian, but their volatility clusters, so the shocks are not independent over time. The graph should use it only on series that close at the same time, with a block bootstrap. It shouldn't use the lingam package as it stands.
Read. Read on 2026-11-28 from the JMLR PDF, 23 pages, with pdftotext. I read the model and assumptions (Section 2), the case for non-Gaussianity (Section 3) and the finance experiment (Section 8.1). I read the testing approach in outline. Figure 2's coefficients came out of the PDF without their arrows, so I quote the text instead. I read the estimation methods (Section 5) only in outline. Through the GitHub API, I read lingam/var_lingam.py at the default branch and the package's pyproject.toml. I didn't run it.
Summary
Claim. "Such a non-Gaussian model is identifiable without prior knowledge of network structure." So the model estimates both the instantaneous effects among series and the lagged ones, which a Gaussian SVAR can't.
Method.
- The model. x(t) = B₀ x(t) + Σ Bτ x(t − τ) + e(t). B₀ holds the effects within one period, and the Bτ the lagged effects.
- The assumptions. First, "The eᵢ(t) are mutually independent, both of each other and over time". Second, "The eᵢ(t) are non-Gaussian". Third, B₀ "corresponds to an acyclic graph". Earlier, the paper adds "the assumption of no latent variables".
- Estimation. Fit an ordinary VAR, then run LiNGAM, which is independent component analysis with an acyclic order, on its residuals. The paper also gives a second method by multichannel blind deconvolution, with a sparsity penalty.
- Why shocks could be non-Gaussian. Section 3 argues from heteroscedasticity: "in financial markets the volatility of a price is often assumed to be changing over time". A Gaussian shock with a changing variance has positive excess kurtosis.
- The package.
VARLiNGAM(lags=1, criterion="bic", prune=True)fits the VAR with statsmodels, usingtrend="n", with no intercept. It runsDirectLiNGAMon the residuals. Itsbootstrapdraws residuals withsklearn.utils.resampleand rebuilds each series from the fitted VAR.get_error_independence_p_valuestests each pair of errors for independence with HSIC.
Findings, as the source reports them.
| Setting | Number | Value |
|---|---|---|
| Daily returns of the DJI, Nikkei 225, Hang Seng and Shanghai Composite, 4 December 2001 to 11 July 2006, from Yahoo, T = 1,200 | kurtosis of the four estimated shocks | 3.9, 8.6, 4.1 and 7.6 |
| The same | instantaneous order | acyclic: B₀ permutes to lower-triangular |
| The same | main effects, in the authors' words | "DJIt−1 has significant impacts on N225t and HSIt", and HSI "is even strongly influenced by N225" |
The authors read "N225t → DJIt" and "HSIt → DJIt" as effects that, "although seeming to be instantaneous, may actually be mainly caused by the time difference".
Where the claims go beyond the evidence
The case for non-Gaussianity breaks the first assumption. The paper justifies non-Gaussian shocks by changing volatility. But changing volatility that clusters makes shocks dependent over time, which the first assumption rules out. Each shock may still be non-Gaussian, but the model's likelihood and its tests treat the shocks as independent.
The instantaneous effects are partly the clock. The Nikkei and the Hang Seng close hours before the Dow on the same date. So "Nikkei on day t causes Dow on day t" is a lagged effect that the calendar labels as instantaneous. The authors say so. A method sold on its instantaneous effects then finds its main instantaneous effects in timing.
No test in the finance example. It selects effects by a sparsity penalty, with no bootstrap, no error bars and no out-of-sample check. The bootstrap and the multiple-testing correction appear only in the brain-imaging example.
Interpolated prices look ahead. "For the few days when the price is not available, we use simple linear interpolation". An interpolated close uses the next close, so a holiday's return carries tomorrow's price. On a few days in 1,200 it matters little, but in a backtest it is a leak.
The package's bootstrap is too narrow for returns. It draws residuals independently, so each bootstrap sample has no volatility clustering. Intervals from it would be too narrow for returns, which do cluster. A block bootstrap would keep that structure (open_familyoffice/bootstrap.py).
Credit. The paper states its assumptions plainly, and it cites later work on the case with hidden confounders (Hoyer et al., 2008). Its authors flag the time-zone reading of their own result.
Use in this repo
Where it can help the graph. #187 needs directions among series that move together within a period. Among US equity sectors, or US stocks and US futures that close at the same time, the clock problem goes away. VAR-LiNGAM can then order the effects within a day, under its assumptions.
Where it can't. Series that close at different times, such as Asian and US indices, or crypto that trades all night, need aligned timestamps first. Aligned bars at one hour, or closes at one instant, solve that. Monthly macro series with daily prices need care twice over:
- Aggregation over time makes false instantaneous effects. A daily lagged effect, summed over a month, shows up as an effect within the month. So at a monthly frequency, B₀ mixes true instantaneous effects with lagged ones.
- Release dates. A monthly series is known only at its release (
fred-api-point-in-time.md, #295). The graph's monthly "CPI" node must be dated by release, withstore.known_lines, or the order of effects is computed from data no one had.
Checks before any graph uses it.
- Shocks. Test the residuals' non-Gaussianity, and their dependence over time, such as an ARCH test on squared residuals. If volatility clusters, standardise the residuals by a volatility model before the LiNGAM step, and report it.
- Errors. Use a block bootstrap of the whole series, not i.i.d. residuals. Count every edge tested as a trial, and adjust for multiple testing (
open_familyoffice/haircut.py). - Stability. Fit on rolling windows, and report how often each edge and its direction survive. A direction that flips between windows isn't an edge.
- Confounders. The model assumes none. A common factor, such as the market, drives most pairs of stocks. Take out the market factor first, or include it as a node.
The dependency. lingam 1.13.0 pins scipy<=1.13.1, and the project runs SciPy 1.18.1. It also pulls in graphviz, pygam, semopy, autograd and psy. So it can't join the project's environment as it stands. The VAR step is statsmodels' (#315), and DirectLiNGAM is a short algorithm. If #187 uses VAR-LiNGAM, an in-house DirectLiNGAM on statsmodels' VAR residuals, tested against the package's own examples, is the lighter route.