Granger_Cause_1

バージョン 1.7.0.0 (484 KB) 作成者: robert
GRANGER_CAUSE_1 is a Granger Causality Test that accepts missing data and variable lag models
ダウンロード: 1.7K
更新 2017/7/15

ライセンスの表示

GRANGER_CAUSE_1 is a Granger Causality Test that accepts missing data, permits fixed or variable lag models and permits Lag 0 for the Y model as well. It also tries to account for multiple comparisons in the F test
when using variable lag models ( models in which the lag chosen is based on the lowest BIC score).
This code is based on Granger_cause by Chandler.
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 ( if using variable lag lengths).
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_1 to learn more.

引用

robert (2024). Granger_Cause_1 (https://www.mathworks.com/matlabcentral/fileexchange/59390-granger_cause_1), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2016b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersStatistics and Machine Learning Toolbox についてさらに検索
謝辞

ヒントを得たファイル: Granger Causality Test

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.7.0.0

added files to run granger cause , showing various ways to create output

1.6.0.0

Notes cleaned up, fixed erroat that required max_x_lags > max_y_lags

1.5.0.0

cleanup of notes, added DEBUG switch , fixed bug that required that max_x_lag > max_y_lag

1.0.0.0

fixed description typos