Aug 6, 2024, 4:41 AM
adfTest(ret_price[,3])
adfTest(ret_price[,5])
ret_price
indicate the following:adfTest(ret_price[,3])
Title:
Augmented Dickey-Fuller Test
Test Results:
PARAMETER:
Lag Order: 1
STATISTIC:
Dickey-Fuller: -63.1956
P VALUE:
0.01
adfTest(ret_price[,5])
Title:
Augmented Dickey-Fuller Test
Test Results:
PARAMETER:
Lag Order: 1
STATISTIC:
Dickey-Fuller: -63.1008
P VALUE:
0.01
PP.test(ret_price[,2], lshort = TRUE)
Phillips-Perron Unit Root Test
data: ret_price[, 2]
Dickey-Fuller = -94.226, Truncation lag parameter = 11, p-value = 0.01
PP.test(ret_price[,3], lshort = TRUE)
Phillips-Perron Unit Root Test
data: ret_price[, 3]
Dickey-Fuller = -88.605, Truncation lag parameter = 11, p-value = 0.01
PP.test(ret_price[,5], lshort = TRUE)
Phillips-Perron Unit Root Test
data: ret_price[, 5]
Dickey-Fuller = -85.806, Truncation lag parameter = 11, p-value =
ret_price
indicate the following:Column | Test | Statistic | Lag Order | P-Value |
---|---|---|---|---|
2 | ADF | -67.0931 | 1 | < 0.01 |
3 | ADF | -63.1956 | 1 | < 0.01 |
5 | ADF | -63.1008 | 1 | < 0.01 |
2 | PP | -94.226 | 11 | < 0.01 |
3 | PP | -88.605 | 11 | < 0.01 |
5 | PP | -85.806 | 11 | < 0.01 |
kpss.test(ret_price[,2], null = c("Level", "Trend"), lshort = TRUE)
KPSS Test for Level Stationarity
kpss.test(ret_price[,3], null = c("Level", "Trend"), lshort = TRUE)
KPSS Test for Level Stationarity
kpss.test(ret_price[,5], null = c("Level", "Trend"), lshort = TRUE)
KPSS Test for Level Stationarity
ret_price
indicate the following: