You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

肉类与鱼类CPI时间序列异常高相关性:0.98系数是否合理?

肉类与鱼类CPI时间序列的高相关性疑问

我拥有1986年1月1日至2024年4月1日期间肉类和鱼类的CPI价格时间序列数据,旨在分析二者的相关性。数据集为大型DataFrame,以下为截断版本:

Meat  Fish, seafood and other marine products
index                                                     
1986-01-01   65.1                                     60.6
1986-02-01   64.2                                     61.3
1986-03-01   64.2                                     61.3
1986-04-01   63.6                                     61.4
1986-05-01   64.0                                     61.9
1986-06-01   64.9                                     62.0
1986-07-01   66.5                                     62.2
1986-08-01   67.8                                     62.7
1986-09-01   71.3                                     63.1
1986-10-01   71.5                                     63.6
1986-11-01   72.1                                     65.3
1986-12-01   72.9                                     65.9
1987-01-01   72.8                                     67.1
1987-02-01   71.0                                     67.5
1987-03-01   70.5                                     67.6
1987-04-01   71.2                                     67.6
1987-05-01   72.0                                     67.8
1987-06-01   73.0                                     67.9
1987-07-01   73.4                                     68.4
1987-08-01   74.6                                     69.0
1987-09-01   73.8                                     69.3
1987-10-01   74.3                                     70.3
1987-11-01   73.8                                     70.3
...
2024-01-01  208.8                                    163.1
2024-02-01  206.2                                    162.5
2024-03-01  207.2                                    161.8
2024-04-01  207.6                                    161.9

附带二者的趋势图:
肉类与鱼类CPI趋势图

从图中可见,二者走势相似但并非完全一致。

我通过以下代码计算相关性:

corr = df.corr(method='pearson')
print(corr)

得到如下结果:

MeatFish, seafood and other marine products
Meat1.0000000.984597
Fish, seafood and other marine products0.9845971.000000

我还尝试了数据缩放和对数转换,结果相近。

现提出疑问:这两个时间序列的高相关性是否正常?从图表看二者并不完全一致,但0.98的相关系数接近完全相关,是否是因为时间跨度较大,数据的细粒度被平均化导致的?

内容的提问来源于stack exchange,提问作者Mya

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.20 20:55:55