【发布时间】:2018-09-27 15:59:16
【问题描述】:
我正在 R 中运行 adf.test:
x <- rnorm(1000) # no unit-root
plot(x)
adf.test(x)#p-value = 0.01 thus stationary
y <- diffinv(x)# integrate the stationary series
adf.test(y)# p-value = 0.02847 thus stationary
kpss.test(y)# p-value = 0.01 thus non stattionary
plot(y)
显然这是一个正态分布,结果是 p 值平稳的 但是,我整合了 x 系列并再次执行 adf.test,测试 p 值仍然意味着一个平稳过程,但该图是一个非平稳过程。我对 y 系列使用 kpss 检验,它拒绝平稳假设。谁能告诉我为什么 adf test 会犯这么简单的错误? THX!
【问题讨论】:
标签: time-series