Granger Causality Test
by Chandler
01 Oct 2009
(Updated 18 Mar 2010)
Conducts a Granger Causality test using the Bayesian Information Criterion to select lag length
|
Watch this File
|
| File Information |
| Description |
GRANGER_CAUSE is a Granger Causality Test. The null hypothesis is that the y does not Granger Cause x. A user specifies the two series, x and y, along with the significance level and the maximum number of lags to be considered. The function chooses the optimal lag length for x and y based on the Bayesian Information Criterion. The function produces the F-statistic for the Granger Causality Test along with the corresponding critical value. We reject the null hypothesis that y does not Granger Cause x if the F-statistic is greater than the critical value. Type help granger_cause to learn more.
|
| MATLAB release |
MATLAB 7.8 (R2009a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 20 Oct 2009 |
A correction was made in the calculation of the critical value from the F-distribution |
| 18 Mar 2010 |
There was an error in selecting the lag length for the BIC. It is now fixed. I would like to thank Mads for pointing out the bug. |
| 18 Mar 2010 |
There was an error in the calculation of the lengths of the BIC. It is now fixed. I would like to thank Mads for pointing out the bug. |
|
Contact us at files@mathworks.com