How to interpret cross correlation coefficients?
3 次查看(过去 30 天)
显示 更早的评论
I'm studying the relationship between oil prices and Canadian provincial budget deficits. This is sample code is a bivariate cross-correlation with 3 lags/leads.
Here's the code and resulting coefficients: [ALTAX,Lags,bounds] = crosscorr(OIL,HPALTA, 3, 2);
0.343328793090246 0.256256377509124 0.114213812550601 -0.0789975553890296 -0.169654649071188 -0.148174239833074 -0.143485067926882
OIL is an index of oil prices, and HPALTA is Alberta's deficit-GDP ratio.
I'm unsure how to interpret the coefficients. Does this mean Oil positively leads budget surpluses? As in high oil prices in t-1 t-2 and t-3 lead to surpluses in t-0? And high future oil prices indicate past deficits?
Sorry I'm quite new to this. Thank you!
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!