【问题标题】:SARIMAX statmodels interpretation of coefficient - PythonSARIMAX statmodels 解释系数 - Python
【发布时间】:2020-05-04 11:34:06
【问题描述】:

我在 statmodels 包中使用 SARIMAX 方法,Python 来估计 ARIMA 模型的系数。这是我参考的链接: https://www.statsmodels.org/dev/examples/notebooks/generated/statespace_sarimax_stata.html#

我有一个与上述链接中的示例 1 相关的问题。

Here is the screen shot of summary of ARIMA(1,1,1) result

如图所示,ARIMA(1,1,1) 的系数与截距 = 0.0943。但我不明白为什么在下面的过程方程中,它们的截距 = 0.1050。

  1. 能否告诉我如何计算这个值?
  2. 在什么情况下,我们应该在模型中加入截距?
  3. 我已阅读 Rob Hyndman (https://otexts.com/fpp2/arima-r.html) 对 R 中常量的解释。 R中的常量是否等同于SARIMAX Python中的intercept?

提前非常感谢您!

【问题讨论】:

    标签: python constants statsmodels arima intercept


    【解决方案1】:

    不是 100%,但对我来说似乎是一个错字。或者部分文档可能是自动生成的,并且数据略有变化。

    代码肯定是部分硬编码和部分动态的:

    https://github.com/statsmodels/statsmodels/blob/master/examples/notebooks/statespace_sarimax_stata.ipynb

    【讨论】:

      猜你喜欢
      • 2019-06-05
      • 2019-04-17
      • 1970-01-01
      • 1970-01-01
      • 2023-01-29
      • 1970-01-01
      • 2014-09-23
      • 1970-01-01
      • 2013-05-17
      相关资源
      最近更新 更多