library(tseries)
adf.test(m.ts$inc)
AugmentedDickey-Fuller Test
data: m.ts$inc
Dickey-Fuller= 1.1821, Lag order = 3, p-value = 0.99
alternativehypothesis: stationary
adf.test(diff(m.ts$inc))
AugmentedDickey-Fuller Test
data: diff(m.ts$inc)
Dickey-Fuller= -0.88744, Lag order = 3, p-value = 0.9403
alternativehypothesis: stationary
adf.test(diff(m.ts$inc,differences= 2))
AugmentedDickey-Fuller Test
data: diff(m.ts$inc, differences = 2)
Dickey-Fuller= -3.7041, Lag order = 3, p-value = 0.04017
alternativehypothesis: stationary
adf.test(m.ts$cons)
AugmentedDickey-Fuller Test
data: m.ts$cons
Dickey-Fuller= 0.54251, Lag order = 3, p-value = 0.99
alternativehypothesis: stationary
adf.test(diff(m.ts$cons))
AugmentedDickey-Fuller Test
data: diff(m.ts$cons)
Dickey-Fuller= -1.6411, Lag order = 3, p-value = 0.712
alternativehypothesis: stationary
adf.test(diff(m.ts$cons,differences= 2))
AugmentedDickey-Fuller Test
data: diff(m.ts$cons, differences = 2)
Dickey-Fuller= -3.2153, Lag order = 3, p-value = 0.1031
alternativehypothesis: stationary


雷达卡


京公网安备 11010802022788号







