时间序列中的趋势和季节性

时间:2016-07-21 20:43:25

标签: r time-series trend

这是我的数据:

x <- c(88, 88, 88, 85, 85, 85, 85, 85, 86, 90, 83, 83, 84, 88, 88, 88, 89,
       89, 89, 89, 87, 89, 82, 82, 85, 85, 87, 87, 87, 87, 87, 87, 92, 92,
       84, 84)

我的目的是检查x是否有趋势或季节性。我现在所做的是:

stlm <- stl(ts(x,frequency = 12), s.window = "periodic")
plot(stlm)

enter image description here

现在我看到图表后,我想测量趋势和季节性在统计上是否显着。像回归分析中的p-value那样。

有没有人帮助我如何证明我的数据在统计上有显着趋势或季节性?

0 个答案:

没有答案
相关问题