Multivariate Autoregressive Modeling and Granger Causality Analysis of Multiple Spike Trains
Algorithm 1
Algorithm outline.
() Estimate mean rates and pairwise auto- and cross-correlation matrices from spike trains . Note that, for zero-lag autocorrelations : . A smoothing spline can optionally be used to remove variance from the noisy spike-train correlation estimates.
() Estimate the nonlinearity parameters and predistort the correlation (see Table 1).
() Solve Yule-Walker equations (3). This step can be performed by directly inverting a Toeplitz matrix, or more efficiently and robustly using the Levinson-Wiggins-Robinson (LWR) algorithm [21].