| Literature DB >> 27764103 |
Abstract
The problem of controlling stationarity involves an important aspect of forecasting, in which a time series is analyzed in terms of levels or differences. In the literature, non-parametric stationary tests, such as the Kwiatkowski-Phillips-Schmidt-Shin (KPSS) tests, have been shown to be very important; however, they are affected by problems with the reliability of lag and sample size selection. To date, no theoretical criterion has been proposed for the lag-length selection for tests of the null hypothesis of stationarity. Their use should be avoided, even for the purpose of so-called 'confirmation'. The aim of this study is to introduce a new method that measures the distance by obtaining each numerical series from its own time-reversed series. This distance is based on a novel stationary ergodic process, in which the stationary series has reversible symmetric features, and is calculated using the Dynamic Time-warping (DTW) algorithm in a self-correlation procedure. Furthermore, to establish a stronger statistical foundation for this method, the F-test is used as a statistical control and is a suggestion for future statistical research on resolving the problem of a sample of limited size being introduced. Finally, as described in the theoretical and experimental documentation, this distance indicates the degree of non-stationarity of the times series.Entities:
Mesh:
Year: 2016 PMID: 27764103 PMCID: PMC5072589 DOI: 10.1371/journal.pone.0164110
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.240
Fig 1Flow diagram of the method.
Fig 2The time-series data set [17].
Fig 3The stationary time-series data set [13,13d].
Results of the KPSS and RSP methods using the simulated stationary series (Mexican Hat).
| id | Sample Size of Stationary Mexican Hat Data | KPSS | Dist | |||
|---|---|---|---|---|---|---|
| Lags | hp | p-v | t-stat | |||
| 1 | T = 20 | 0 | 0 | 0.0895 | 0.1246 | 0 |
| 1 | 0 | 0.1000 | 0.0742 | |||
| 2 | 0 | 0.1000 | 0.0654 | |||
| 3 | 0 | 0.1000 | 0.0710 | |||
| 4 | 0 | 0.1000 | 0.0873 | |||
| 5 | 0 | 0.1000 | 0.1137 | |||
| 6 | 0 | 0.0485 | 0.1478 | |||
| 7 | 0 | 0.0220 | 0.1841 | |||
| 8 | 1 | 0.0100 | 0.2177 | |||
| 2 | T = 40 | 0 | 1 | 0.0100 | 0.2556 | 0 |
| 1 | 0 | 0.0738 | 0.1332 | |||
| 2 | 0 | 0.1000 | 0.0950 | |||
| 3 | 0 | 0.1000 | 0.0783 | |||
| 4 | 0 | 0.1000 | 0.0706 | |||
| 5 | 0 | 0.1000 | 0.0679 | |||
| 6 | 0 | 0.1000 | 0.0686 | |||
| 7 | 0 | 0.1000 | 0.0721 | |||
| 8 | 0 | 0.1000 | 0.0781 | |||
| 3 | T = 60 | 0 | 1 | 0.0100 | 0.3882 | 0 |
| 1 | 0 | 0.0169 | 0.1976 | |||
| 2 | 0 | 0.0690 | 0.1357 | |||
| 3 | 0 | 0.1000 | 0.1061 | |||
| 4 | 0 | 0.1000 | 0.0895 | |||
| 5 | 0 | 0.1000 | 0.0796 | |||
| 6 | 0 | 0.1000 | 0.0736 | |||
| 7 | 0 | 0.1000 | 0.0701 | |||
| 8 | 0 | 0.1000 | 0.0686 | |||
| 4 | T = 100 | 0 | 1 | 0.0100 | 0.6542 | 0 |
| 1 | 1 | 0.0100 | 0.3292 | |||
| 2 | 1 | 0.0010 | 0.2218 | |||
| 3 | 0 | 0.0310 | 0.1688 | |||
| 4 | 0 | 0.0654 | 0.1377 | |||
| 5 | 0 | 0.1000 | 0.1174 | |||
| 6 | 0 | 0.1000 | 0.1034 | |||
| 7 | 0 | 0.1000 | 0.0934 | |||
| 8 | 0 | 0.1000 | 0.0860 | |||
| 5 | T = 500 | 0 | 1 | 0.0100 | 3.3201 | 0 |
| 1 | 1 | 0.0100 | 1.6605 | |||
| 2 | 1 | 0.0100 | 1.1074 | |||
| 3 | 1 | 0.0100 | 0.8311 | |||
| 4 | 1 | 0.0100 | 0.6654 | |||
| 5 | 1 | 0.0100 | 0.5550 | |||
| 6 | 1 | 0.0100 | 0.4762 | |||
| 7 | 1 | 0.0100 | 0.4172 | |||
| 8 | 1 | 0.0100 | 0.3714 | |||
Fig 4The non-stationary time-series data set.
Results of the KPSS and RSP methods using the simulated non-stationary series (sinusoidal).
| id | Sample Size of Stationary Mexican Hat Data | KPSS | Dist | |||
|---|---|---|---|---|---|---|
| Lags | hp | p-v | t-stat | |||
| 1 | T = 32 | 0 | 1 | 0.0100 | 0.3862 | 15.7306 |
| 1 | 0 | 0.0122 | 0.2100 | |||
| 2 | 0 | 0.0455 | 0.1514 | |||
| 3 | 0 | 0.0918 | 0.1234 | |||
| 4 | 0 | 0.1000 | 0.1082 | |||
| 5 | 0 | 0.1000 | 0.0998 | |||
| 6 | 0 | 0.1000 | 0.0955 | |||
| 7 | 0 | 0.1000 | 0.0943 | |||
| 8 | 0 | 0.1000 | 0.0956 | |||
| 2 | T = 63 | 0 | 1 | 0.0100 | 0.7549 | 31.4446 |
| 1 | 1 | 0.0100 | 0.3928 | |||
| 2 | 0 | 0.0100 | 0.2710 | |||
| 3 | 0 | 0.0121 | 0.2104 | |||
| 4 | 0 | 0.0262 | 0.1745 | |||
| 5 | 0 | 0.0458 | 0.1511 | |||
| 6 | 0 | 0.0707 | 0.1348 | |||
| 7 | 0 | 0.0924 | 0.1231 | |||
| 8 | 0 | 0.1000 | 0.1144 | |||
| 3 | T = 126 | 0 | 1 | 0.0100 | 1.5014 | 62.8340 |
| 1 | 1 | 0.0100 | 0.7653 | |||
| 2 | 1 | 0.0100 | 0.5183 | |||
| 3 | 1 | 0.0100 | 0.3947 | |||
| 4 | 1 | 0.0100 | 0.3207 | |||
| 5 | 1 | 0.0100 | 0.2715 | |||
| 6 | 1 | 0.0100 | 0.2365 | |||
| 7 | 0 | 0.0121 | 0.2105 | |||
| 8 | 0 | 0.0196 | 0.1904 | |||
| 4 | T = 629 | 0 | 1 | 0.0100 | 7.4844 | 314.1597 |
| 1 | 1 | 0.0100 | 3.7562 | |||
| 2 | 1 | 0.0100 | 2.5114 | |||
| 3 | 1 | 0.0100 | 1.8888 | |||
| 4 | 1 | 0.0100 | 1.5151 | |||
| 5 | 1 | 0.0100 | 1.2659 | |||
| 6 | 1 | 0.0100 | 1.0880 | |||
| 7 | 1 | 0.0100 | 0.9545 | |||
| 8 | 1 | 0.0100 | 0.8508 | |||
| 5 | T = 1257 | 0 | 1 | 0.0100 | 14.9552 | 628.3193 |
| 1 | 1 | 0.0100 | 7.4915 | |||
| 2 | 1 | 0.0100 | 5.0016 | |||
| 3 | 1 | 0.0100 | 3.7563 | |||
| 4 | 1 | 0.0100 | 3.0090 | |||
| 5 | 1 | 0.0100 | 2.5108 | |||
| 6 | 1 | 0.0100 | 2.1549 | |||
| 7 | 1 | 0.0100 | 1.8880 | |||
| 8 | 1 | 0.0100 | 1.6804 | |||
Results of the KPSS and RSP methods using weak-sense stationary times series.
| id | Sample Size of Data with Stationary Features | KPSS | RSP Distance | |||
|---|---|---|---|---|---|---|
| Lags | hp | p-v | t-stat | |||
| 1 | T = 101 (420:520) | 0 | 0 | 0.0554 | 0.1431 | 0.0085 |
| 1 | 0 | 0.1000 | 0.0734 | |||
| 2 | T = 147 (1401:1547) | 0 | 1 | 0.0100 | 0.3574 | 0.0027 |
| 1 | 0 | 0.0226 | 0.1823 | |||
| 3 | T = 52 (61:112) | 0 | 1 | 0.0100 | 0.3013 | 0.0028 |
| 1 | 0 | 0.0426 | 0.1549 | |||
| 4 | T = 51 (260:310) | 0 | 1 | 0.0100 | 0.3267 | 0.0042 |
| 1 | 0 | 0.0293 | 0.1708 | |||
| 5 | T = 76 (452:527) | 0 | 1 | 0.0100 | 0.2719 | 0.0031 |
| 1 | 0 | 0.0596 | 0.1408 | |||
| 6 | T = 49 (572:620) | 0 | 1 | 0.0100 | 0.2993 | 0.0020 |
| 1 | 0 | 0.0409 | 0.1569 | |||
| 7 | T = 43 (608:650) | 0 | 1 | 0.0100 | 0.2963 | 0.0039 |
| 1 | 0 | 0.0404 | 0.1575 | |||
| 8 | T = 47 (693:739) | 0 | 1 | 0.0100 | 0.3221 | 7.1195e-04 |
| 1 | 0 | 0.0317 | 0.1679 | |||
| 9 | T = 109 (1411:1510) | 0 | 1 | 0.0218 | 0.1846 | 0.0028 |
| 1 | 0 | 0.1000 | 0.0953 | |||
| 10 | T = 42 (900:941) | 0 | 1 | 0.0100 | 0.2913 | 3.9827e-04 |
| 1 | 0 | 0.0441 | 0.1531 | |||
| 11 | T = 46 (900:945) | 0 | 1 | 0.0100 | 0.3022 | 0.0017 |
| 1 | 0 | 0.0403 | 0.1578 | |||
| 12 | T = 74 (1009:1082) | 0 | 1 | 0.0100 | 0.3435 | 0.0039 |
| 1 | 0 | 0.0258 | 0.1751 | |||
| 13 | T = 50 (70:119) | 0 | 1 | 0.0100 | 0.3102 | 0.0032 |
| 1 | 0 | 0.0353 | 0.1636 | |||
| 14 | T = 49 (1252:1300) | 0 | 1 | 0.0100 | 0.3025 | 0.0025 |
| 1 | 0 | 0.0398 | 0.1582 | |||
| 15 | T = 99 (1252:1350) | 0 | 1 | 0.0415 | 0.1563 | 0.0026 |
| 1 | 0 | 0.1000 | 0.0807 | |||
| 16 | T = 51 (1300:1350) | 0 | 1 | 0.0100 | 0.3185 | 0.0023 |
| 1 | 0 | 0.0333 | 0.1661 | |||
| 17 | T = 44 (1355:1398) | 0 | 1 | 0.0100 | 0.2949 | 0.0011 |
| 1 | 0 | 0.0424 | 0.1551 | |||
| 18 | T = 119 (1411:1530 | 0 | 1 | 0.0100 | 0.1307 | 0.0046 |
| 1 | 0 | 0.1000 | 0.0674 | |||
| 19 | T = 73 (1438:1510) | 0 | 1 | 0.0100 | 0.2194 | 0.0029 |
| 1 | 0 | 0.1000 | 0.1143 | |||
| 20 | T = 46 (1535:1580) | 0 | 1 | 0.0100 | 0.2838 | 4.7873e-04 |
| 1 | 0 | 0.0464 | 0.1503 | |||
| 21 | T = 51 (1580:1630) | 0 | 1 | 0.0100 | 0.3182 | 0.0028 |
| 1 | 0 | 0.0334 | 0.1659 | |||
| 22 | T = 55 (1600:1654) | 0 | 1 | 0.0100 | 0.3991 | 0.0065 |
| 1 | 0 | 0.0140 | 0.2054 | |||
Results of the KPSS and RSP methods using times series with non-stationary features.
| id | Sample Size of Data with Stationary Features | KPSS | RSP Distance | |||
|---|---|---|---|---|---|---|
| Lags | hp | p-v | t-stat | |||
| 1 | T = 87 (1:87) | 0 | 1 | 0.0100 | 1.3119 | 0.0765 |
| 1 | 1 | 0.0100 | 0.6664 | |||
| 2 | T = 101 (100:200) | 0 | 1 | 0.0100 | 0.3685 | 0.1876 |
| 1 | 0 | 0.0198 | 0.1900 | |||
| 3 | T = 71 (150:220) | 0 | 1 | 0.1000 | 0.2375 | 0.0774 |
| 1 | 0 | 0.0912 | 0.1237 | |||
| 4 | T = 101 (200:300) | 0 | 0 | 0.0468 | 0.1499 | 0.1034 |
| 1 | 0 | 0.1000 | 0.0769 | |||
| 5 | T = 101 (300:400) | 0 | 1 | 0.0100 | 0.4739 | 0.0251 |
| 1 | 1 | 0.0100 | 0.2411 | |||
| 6 | T = 51 (500:550) | 0 | 1 | 0.0100 | 0.3422 | 0.0220 |
| 1 | 0 | 0.0239 | 0.1790 | |||
| 7 | T = 31 (550:580) | 0 | 1 | 0.0100 | 0.3375 | 0.2557 |
| 1 | 0 | 0.0237 | 0.1794 | |||
| 8 | T = 51 (670:720) | 0 | 1 | 0.0100 | 0.4438 | 0.0248 |
| 1 | 1 | 0.0100 | 0.2363 | |||
| 9 | T = 101 (700:800) | 0 | 1 | 0.0100 | 0.2662 | 0.0171 |
| 1 | 0 | 0.0682 | 0.1362 | |||
| 10 | T = 51 51(800:850) | 0 | 1 | 0.0100 | 0.2712 | 0.0520 |
| 1 | 0 | 0.0600 | 0.1406 | |||
| 11 | T = 101 (1050:1150) | 0 | 1 | 0.0100 | 0.2427 | 0.0359 |
| 1 | 0 | 0.0889 | 0.1250 | |||
| 12 | T = 61 (1160:1220) | 0 | 1 | 0.0100 | 0.3341 | 0.0318 |
| 1 | 0 | 0.0286 | 0.1717 | |||
| 13 | T = 31 (1220:1250) | 0 | 1 | 0.0100 | 0.2791 | 0.1863 |
| 1 | 0 | 0.0412 | 0.1566 | |||
| 14 | T = 101 (1200:1300) | 0 | 1 | 0.0100 | 0.2850 | 0.0850 |
| 1 | 0 | 0.0496 | 0.1460 | |||
| 15 | T = 151 (1300:1450) | 0 | 1 | 0.0100 | 0.8690 | 0.0172 |
| 1 | 1 | 0.0100 | 0.4447 | |||
| 16 | T = 201 (800:1000) | 0 | 1 | 0.0100 | 1.2795 | 0.0201 |
| 1 | 1 | 0.0100 | 0.6561 | |||
| 17 | T = 101 (350:450) | 0 | 0 | 0.0211 | 0.1863 | 0.0284 |
| 1 | 0 | 0.1000 | 0.0962 | |||
| 18 | T = 101 (650:750) | 0 | 1 | 0.0100 | 0.8997 | 0.0253 |
| 1 | 1 | 0.0100 | 0.4679 | |||
| 19 | T = 81 (20:100) | 0 | 1 | 0.0100 | 1.9414 | 0.1633 |
| 1 | 1 | 0.0100 | 0.9843 | |||
| 20 | T = 200 (1:200) | 0 | 1 | 0.0100 | 1.7559 | 0.0247 |
| 1 | 1 | 0.0100 | 0.8890 | |||
| 21 | T = 301 (700:1000) | 0 | 1 | 0.0100 | 1.1082 | 0.0327 |
| 1 | 1 | 0.0100 | 0.5633 | |||
| 22 | T = 131 (170:300) | 0 | 1 | 0.0100 | 0.5060 | 0.0299 |
| 1 | 1 | 0.0100 | 0.2592 | |||
| 23 | T = 102 (1550:1650) | 0 | 1 | 0.0100 | 0.2702 | 0.0138 |
| 1 | 0 | 0.0628 | 0.1391 | |||
| 24 | T = 100 (60:160) | 0 | 1 | 0.0100 | 0.4379 | 0.0154 |
| 1 | 1 | 0.0100 | 0.2238 | |||
Fig 5The time series XN = 20.
Fig 6The reversible time series YN = 20.
Fig 7The time series XN = 20 and YN = 20 used in the comparative DTW procedure.
Summary of the results in Table 1.
| T (sample size) | KPSS Minimum-order Lags of H0 = 0 with a = 0.01 | RSP Distance |
|---|---|---|
| 20 | 0 | 0 |
| 40 | 1 | 0 |
| 60 | 1 | 0 |
| 100 | 3 | 0 |
| 500 | >9 | 0 |
Summary of the results in Table 2.
| T (sample size) | KPSS Minimum-order Lags of H0 = 1 with a = 0.01 | RSP Distance |
|---|---|---|
| 32 | 1 | 15.7306 |
| 63 | 1 | 31.4446 |
| 126 | 1 | 62.8340 |
| 629 | 1 | 314.1597 |
| 1257 | 1 | 628.3193 |
Dimensionality reduction results obtained using the PAA algorithm for RSP methods applied to times series.
| Table References | Size of Sample Data with Non-Stationary Features | RSP Distance (Original) | RSP Distance (From PAA) | Error Distance |
|---|---|---|---|---|
| 101(420:520) | 0.0085 | 0.0090 | 0.0005 | |
| 51(260:310) | 0.0042 | 0.0048 | 0.0006 | |
| 51(1300:1350) | 0.0023 | 0.0032 | 0.0010 | |
| 51(1580:1630) | 0.0028 | 0.0045 | 0.0017 | |
| 76(452:527 | 0.0031 | 0.0038 | 0.0005 | |
| 200(1:200) | 0.0247 | 0.0242 | 0.0005 | |
| 101(60:160) | 0.0154 | 0.0161 | 0.0007 | |
| 301(700:1000) | 0.0327 | 0.0333 | 0.0006 | |
| 81(20:100) | 0.1633 | 0.1653 | 0.0020 | |
| 101(1050:1150) | 0.0359 | 0.0306 | 0.0053 |
Summary of the results in Tables 3 and 4.
| x (Stationary) ( | y (Non-Stationary) ( |
|---|---|
| 0.0085 | 0.0765 |
| 0.0027 | 0.1876 |
| 0.0028 | 0.0774 |
| 0.0042 | 0.1034 |
| 0.0031 | 0.0251 |
| 0.0020 | 0.0220 |
| 0.0039 | 0.2557 |
| 7.1195e-04 | 0.0248 |
| 0.0028 | 0.0171 |
| 3.9827e-04 | 0.0520 |
| 0.0017 | 0.0359 |
| 0.0039 | 0.0318 |
| 0.0032 | 0.1863 |
| 0.0025 | 0.0850 |
| 0.0026 | 0.0172 |
| 0.0023 | 0.0201 |
| 0.0011 | 0.0284 |
| 0.0046 | 0.0253 |
| 0.0029 | 0.1633 |
| 4.7873e-04 | 0.0247 |