在季节性分解中,季节性情节似乎已经消失了
当我分解时间序列时,季节性情节看起来像这样,我会做错什么?这是我用于分解的代码,
import statsmodels.api as sm
decomposition = sm.tsa.seasonal_decompose(temp_df['depth_to_groundwater'], model='additive', freq=12)
fig = decomposition.plot()
fig.set_figwidth(12)
fig.set_figheight(8)
fig.suptitle('Decomposition of time series')
plt.show()
谈论我的时间序列数据,这是负面的,也许它可能影响了情节 在此处输入图像描述
When I decompose my time-series Seasonal plot looks like this, what have I could do wrong? Here is code that i used for decomposition
import statsmodels.api as sm
decomposition = sm.tsa.seasonal_decompose(temp_df['depth_to_groundwater'], model='additive', freq=12)
fig = decomposition.plot()
fig.set_figwidth(12)
fig.set_figheight(8)
fig.suptitle('Decomposition of time series')
plt.show()
Talking about my time series data it is negative, , maybe it could have influenced the plot
enter image description here
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试增加频率。对于您的模型来说,12可能太低了。像365这样的频率可以解决它
Try to increase your freq. 12 is probably too low for your model. A freq like 365 would solve it