Theory and Modern Applications

# Fractional unit-root tests allowing for a fractional frequency flexible Fourier form trend: predictability of Covid-19

## Abstract

In this study we propose a fractional frequency flexible Fourier form fractionally integrated ADF unit-root test, which combines the fractional integration and nonlinear trend as a form of the Fourier function. We provide the asymptotics of the newly proposed test and investigate its small-sample properties. Moreover, we show the best estimators for both fractional frequency and fractional difference operator for our newly proposed test. Finally, an empirical study demonstrates that not considering the structural break and fractional integration simultaneously in the testing process may lead to misleading results about the stochastic behavior of the Covid-19 pandemic.

## Introduction

The forecasts of daily events lead many decision-making processes to be more manageable. In time-series analysis, forecasts are generally made using the Box–Jenkins method. In the Box–Jenkins method, the prerequisite for making long-term forecasting or setting up an ARIMA model is the stationarity of the series under investigation. It is also essential to make long-term forecasts in the current Covid-19 outbreak. These forecasts contain crucial information to eliminate the uncertainties that may arise during the process. For example, forecasting the peak number of infected cases in the long term may give valuable information about the health care system. If these numbers can be accurately predicted, then the intensive care unit bed capacities and other resources can be allocated efficiently. This vital information can also be used by the other sectors which are affected by the Covid-19 outbreak. Besides, long-term forecasting can also be made for all other natural phenomena. Reliable forecasts of earthquakes, meteorology, biodiversity, and others are needed to manage disasters. The time-series literature has described covariance stationarity as a steady state in which the mean, variance, and covariance do not change over time. The stochastic difference equation’s stationarity is determined by using the unit-root test of . The test’s basic principle is to see if the first-degree stochastic difference equation’s parameter is statistically equal to 1 or not. If it is equal to 1, the series is a unit-root process or simply not stationary.

In this study, we need to add the dynamics of this natural outbreak to the  (henceforth, ADF) method to examine the outbreak’s stochastic features and test its long-term predictability. If the epidemic’s data generation process is substituted correctly into the test methodology leading to a stationarity test result, then we can claim that the correct long-term forecast model is achieved. It is recognized that the number of daily cases in the outbreak models conforms to exponential function patterns. However, it is not easy to generalize the epidemic model to different functional designs, such as the second wave that may occur in later stages. This functional pattern will create a double exponential model or a more complex functional form. The complexities that arise obtained in this way can also decrease the effectiveness of the long-term forecasts. We have used the Fourier function to overcome this problem, thereby providing a remarkable convergence to any functional form whose structure is uncertain. In the literature, many researchers have employed the Fourier function to capture smooth structural breaks with integer frequency. Nevertheless, some studies have shown that this should be handled within a fractional frequency structure. In addition to the importance of using low frequency, previous studies have also emphasized the problems of using cumulative frequency in Fourier type of unit-root testing. A well-known problem associated with the traditional unit-root tests is that the power of the test decreases if too many variables are added into the testing equation when the cumulative frequency is employed.

So how can the Fourier function capture the short-term oscillations in the daily cases without using cumulative frequency? In the consecutive days of pandemics, different dynamics or numbers of infected patients are detected. Temporary or permanent jumps are a prevailing dynamic of daily infected cases that the first-order difference equation cannot capture. The fractional difference equation employed recently in the literature is seen to solve such dynamics. It has been observed that the number of daily cases exhibits fractional-order difference equation features. After detrending the daily infected cases data with the Fourier function, the remaining series exhibit the features of a fractional first-order difference equation. Therefore, in the light of these explanations, the pretest of the long-term predictability of the number of daily Covid-19 cases must have considered the fractional frequency Fourier functional form with a fractional difference equation. Let us now turn to discussing the methodology used in the paper and literature available until now.

Following the influential work of , testing the stationarity characteristics of variables has attracted a great deal of attention among researchers. This testing methodology can be broadly classified into three categories; linear unit-root tests, unit-root tests that permit a break in mean and/or trend (this can be termed time-dependent nonlinearity, or structural break (SB)), and finally unit-root tests that permit state-dependent nonlinearity. However, after recognizing the long-memory features of the stochastic processes, the fractionally integrated unit-root tests have attracted a great deal of attention in the recent literature. Therefore, in this study, we will focus on combining the unit-root tests that permit structural break and fractional integration (FI).

A typical exercise in most time-series investigations is to check whether the drift part of a series is correctly characterized as deterministic or stochastic. Naturally, the stochastic drift is considered as a unit-root process. In contrast, the deterministic one is particularly time trends. It is generally concluded that traditional methods developed for fractionally integrated processes could drive spurious FI response if employed to short memory processes encompassing structural breaks. The reverse outcome is also entirely recognized; standard methods for identifying and measuring break dates lead to spurious structural change, generally at the midpoint of the series, in fact, there is only fractional integration in the sample (see [2, 3]). Therefore, fractional integration and structural break indicate vastly diverse long and medium-run dynamics, making it hard to discriminate among them. As it is also recommended in , these two methods, FI and SB, are alternative methods for difference stationarity (D-ST) and trend stationarity (T-ST). It is well known that to avoid spurious estimates of the parameters and biases in the time-series studies, the data must be differenced to make them stationary. Therefore, the decision of optimal differencing is vital for obtaining correct information from the data under investigation. By introducing these two alternatives, we have to choose the correct differencing among D-ST, T-ST, fractional difference stationarity (FD-ST), and structural break stationarity (SB-ST). In addition to these, it is well documented that in the D-ST case memory is infinite, and past shocks are perfectly remembered. In the case of T-ST, memory is short, and the autocorrelation function decays exponentially.  indicates that the FI processes or the FD-ST case establish an interesting alternative to this separation as they are capable of linking the gap between these two possibilities. Therefore, FD-ST has a long memory but not as much as the D-ST, which indicates that $$d = 0.1$$ has a short memory with respect to $$d = 0.9$$. These methods can fulfil the gap between the short-lasting and unchanging effect of shocks in the T-ST and D-ST models, respectively, by providing transitional behaviors such as long memory and nonstationary mean-reversion (see ). So finding the exact differencing order is vital to limit information losses. As we have mentioned above, fractional integration and structural break indicate very different medium and long-run dynamics. Thus, it is hard to differentiate between them, so it is essential first to distinguish these two methodologies. To this end, we propose a procedure that combines these two methods using a simple but yet efficient way to identify the SB and FI processes correctly. Therefore, we can eliminate the problems which are explained in the above paragraph efficiently.

The unit-root tests which are permitting for a break in mean and/or trend are as follows; , and . These have acknowledged alternative trend models in examining for the unit-root testing, and have concentrated on models with segmented line trends; and single or multiple breaks . However, recent studies have proposed unit-root tests where the alternative hypothesis is stationarity around a smoothly changing trend.  (LNV, hereafter) and  used logistic smooth trend functions that permit a smooth break in the data’s deterministic trend.  specified nonlinear trend employing Chebyshev polynomials. Reference  employed trigonometric functions in Fourier form to define probable smooth breaks in the data. Numerous problems were encountered with these types of unit-root tests.Footnote 1 Nevertheless, the simplest and most accurate one has been the Fourier function, which was used by , and .

The second strand of literature deals with the fractionally integrated unit-root test proposed by  (henceforth, DGM). One stated that that both null hypotheses were rejected frequently in the previous studies, and concluded that many time-series were not well characterized as either $$I ( 1 )$$ or $$I ( 0 )$$. Therefore, the group of fractionally integrated processes, represented as $$FI ( d )$$, has proved to be very suitable in catching the persistence features of many long-memory processes (see [19, 20], and ). Reference  has pointed out the shortcomings of the alternative methodologies used and suggested a simple Wald-type test in the time domain with adequate power properties. As a by-product of its application, this test delivers knowledge about the values of d under the alternative hypothesis. Therefore, this methodology is a generalization of the well-known Dickey–Fuller (D-F) test, which was originally developed for the case of $$I ( 1 )$$ versus $$I ( 0 )$$, to the more general case of $$FI ( d_{0} )$$ versus $$FI ( d_{1} )$$ with $$d_{1} < d_{0}$$ and, thus, is denoted as the fractional Dickey–Fuller (FD-F) test. DGM test is based on the normalized-OLS estimates, or on its t-ratio, of the parameter on $$\Delta ^{d_{1}}y_{t - 1}$$ in a regression of $$\Delta ^{d_{0}}y_{t}$$ on $$\Delta ^{d_{1}}y_{t - 1}$$ and possibly some lags of $$\Delta ^{d_{0}}y_{t}$$. Depending on the alternative hypothesis $$H_{1}:d < d_{0}$$, the pre-estimation is needed for the order of d. DGM has shown that the choice of a $$T^{1/2}$$ consistent estimator of d in its appropriate range suffices to make the FD-F test possible, while preserving asymptotic normality. Reference  has highlighted the advantages of their testing procedure as follows. The first one is theorizing the simple D-F framework to obtain simplicity for testing unit roots with a fractional difference operator. The second one is that the LM tests proposed contain a different structure than the traditional LM tests. The proposed LM test does not assume any known density for errors, which makes it more robust to fundamental ones. The third one is that in the exact case where $$d_{0} = 1$$, the FD-F method inherits the flexibility of the standard D-F test. This provides a usual framework for testing the $$I(1)$$ null hypothesis against some interesting compound alternative. According to , producing a fractional integration unit-root test by including a structural break does not seem feasible with other FI unit-root tests. However, the flexible FD-F structure that they propose will make this study much easier and feasible. The final one is that  has found a good finite sample properties with respect to other competing tests.

Following , the third advice, we have extended this methodology to the structural break set up by using the  method. As we have mentioned above, the  procedure employs trigonometric functions in the form of Fourier form to define presumable smooth breaks in the data. Numerous difficulties are encountered with structural break type of unit-root tests. Nevertheless, the easiest and accurate one is the Fourier function used by  with which extended it to fractional frequency case. Therefore,  is another simple generalization of the ADF test like the DGM test. Combining these two simple methodologies will emerge as a more generalized and simple set up without facing any unnecessary details to test stationarity in a composite alternative hypothesis. The composite hypothesis of the series under investigation is a fractionally integrated series around a smoothly changing trend.

Other attempts have been made in the literature to combine these two methodologies (namely SB and FI) by using different techniques. References  and , following  and , derived a Lagrange multiplier test in the time domain, and  and  have considered Wald-type tests for a unit-root null hypothesis against fractional integration following . The traditional unit-root tests usually reject the null hypothesis when the actual process is a series that is integrated fractionally with $$d= (0.5,1)$$. We will see later that such series are not stationary. Therefore, the results of these studies become questionable. Moreover, it is well known that short memory processes with level shifts display features that lead one to conclude that long memory is present in the data generating process (e.g., , among many others). On the other hand, it was also recognized that long-memory processes cause the null hypothesis of no structural change to be rejected when traditional structural change tests are used (see, [2, 3, 23], among many others). To overcome these problems in the SB-FI literature and to address the reasons mentioned earlier, we propose the SB-FI unit-root test in the form of a fractionally integrated series around a smoothly changing fractional frequency flexible Fourier form. Therefore, we have obtained the following contributions from this newly proposed methodology:

1. 1.

The confusion about structural break and fractional integration, which we explained above, has been resolved with the most appropriate methods.

2. 2.

The two-step methodology allowed us to obtain the asymptotic distribution of the unit-root test easily.

3. 3.

It has been shown that the Fourier function can represent the deterministic structure of the Covid-19 outbreak. Also the best optimization algorithm that should be used with the fractional frequency Fourier function is found.

4. 4.

For fractional integration, a new estimator has been proposed that minimizes information losses. It has also been shown that predictions can be made with the least loss of information with this new estimator.

5. 5.

Finally, how to design the optimal forecast model for outbreaks by combining all of these methodologies has been shown.

The structure of the article is as follows. Section 2 presents fractional frequency Fourier form fractionally integrated ADF test with its asymptotic distribution and presents an extensive simulation study to show the small-sample features. Section 3 discusses the various optimization algorithms that can be used with the fractional frequency estimation along with the parametric and semi parametric estimation of the difference operator d. Section 4 applies the FFFFF-FI-ADF test to pretest the long-term predictability of the Covid-19 cases. Section 5 is devoted to concluding remarks.

## The methodology for the fractional frequency flexible Fourier form fractionally integrated ADF test: FFFFF-FI-ADF

In the introduction, we gave some basic ideas about the testing procedure. The main concern is to be simple in deriving the test, and its asymptotic. Hence, we have started with the Fourier approach in which we can detrend the series at first and assume the remaining part has fractionally integrated stationarity or nonstationarity of the series. Apart from [15, 16] and , this two-step approach provides a straightforward setting for obtaining the testing procedure and asymptotic distribution of the proposed test statistics. Therefore, we will start with the Fourier approach and include the fractionally integrated ADF test in the second step.

References  and  consider the following augmented Dickey–Fuller (DF) test:

$$y_{t} = \varphi (t) + \psi y_{t - 1} + \lambda t + \varepsilon _{t} ,$$
(1)

where $$\varepsilon _{t}$$ is a stationary error term with a variance of $$\sigma ^{2}$$, and $$\varphi (t)$$ denotes the deterministic intercept and trend. Reference  claims that it is problematic to estimate Eq. (1) directly and study the unit-root hypothesis $$\psi = 1$$ without knowing the functional structure of $$\varphi (t)$$. Following [14, 16, 27] and , we assume that $$\varphi (t)$$ includes the following Fourier components:

$$\varphi (t) = \alpha _{0} + \alpha _{1}\sin \biggl( \frac{2\pi kt}{T} \biggr) + \alpha _{2}\cos \biggl( \frac{2\pi kt}{T} \biggr),$$
(2)

where $$\alpha _{0}$$, $$\alpha _{1}$$, and $$\alpha _{2}$$ are changing intercept parameters, T is the number of observations, and t gives the trend term. The term k denotes the particular frequency to be determined over a pre-given interval. The trigonometric components $$\sin ( \frac{2\pi kt}{T} )$$ and $$\sin ( \frac{2\pi kt}{T} )$$ are utilized to approximate smooth breaks. If $$\alpha _{1} = \alpha _{2} = 0$$, then there are no smooth breaks. Through the grid-search method, [15, 16] use $$k = k^{*}$$ to minimize the residual sum of squares (SSR) in Eq. (1), where $$k^{*}$$ indicates the value of k that achieves the minimum SSR. Besides, Becker et al. (2006) show that it is acceptable to set $$k=1$$ or $$k=2$$ to find the substantial structural changes in the data. Using a data-driven technique,  set the maximum number of breaks to be 5. Reference  further recommends the usage of low frequency to capture the smooth structural changes in the data. Reference  mentions the flexibility of the integer, but argues that it has many drawbacks in estimating the smooth trends (i.e., over filtration, type two error etc.). Hence, we follow  and use the fractional version of the test in this paper. To this end, instead of searching for a single integer frequency k in Eq. (2) we try to find the fractional frequency in Eq. (3), which is also employed in  and [15, 16] for integer values. The largest frequency applied is $$k_{\max }$$, and $$\Delta k = 0.1$$ is used in the 0.1 range and other smaller increments, and the accuracy of the fractional frequency search was increased. The optimal fractional frequency is obtained at the point where the SSR is the lowest. This optimization process is carried out by applying the algorithm described above for Eq. (1). Moreover, we can also employ this to define the fractional frequency Fourier trend by using an F-test as proposed in  and [15, 16]. The model is as follows:

$$\Delta y_{t} = \alpha _{0} + \alpha _{1}\sin \biggl( \frac{2\pi kt}{T} \biggr) + \alpha _{2}\cos \biggl( \frac{2\pi kt}{T} \biggr) + \delta y_{t - 1} + \lambda t + \varepsilon _{t} .$$
(3)

The null hypothesis of linear unit root is obtained when $$\delta = 0$$, which is suggested by . The two-step testing process is as follows.

In the first step of the two stages procedure the following regression is run:

$$y_{t} = \alpha _{0} + \alpha _{1}\sin \biggl( \frac{2\pi k^{fr}t}{T} \biggr) + \alpha _{2}\cos \biggl( \frac{2\pi k^{fr}t}{T} \biggr) + \lambda t + \bar{\omega }_{t}, \quad t = 1,2,\ldots,T ,$$
(4)

where $$k^{fr}$$ indicates the fractional Fourier frequency. The above equation assumes that $$\omega _{t}$$ is a random walk process and after being demeaned or detrended it can be used in the second step as $$\bar{\omega }_{t}$$,

$$\bar{\omega }_{t} = \delta \bar{\omega }_{t - 1} + u_{t},$$
(5)

where $$u_{t} \sim iidN ( 0,\sigma _{u}^{2} )$$ and the initial condition $$\bar{\omega }_{0}$$ is a constant. Notice that this technique is asymptotically the same as the one step procedure of .

As we have mentioned above instead of assuming the case of $$I ( 1 )$$ versus $$I ( 0 )$$, the more general case of $$FI ( d_{0} )$$ versus $$FI ( d_{1} )$$ with $$d_{1} < d_{0}$$ can be used following . The DGM test is based on the normalized-OLS estimates, or on its t-ratio, of the coefficient on $$\Delta ^{d_{1}}\bar{\omega }_{t - 1}$$ in a regression of $$\Delta ^{d_{0}}\bar{\omega }_{t}$$ on $$\Delta ^{d_{1}}\bar{\omega }_{t - 1}$$ and possibly some lags of $$\Delta ^{d_{0}}\bar{\omega }_{t}$$.Footnote 2 The definition of the $$FI(d)$$ process that we will implement is that of an (asymptotically) stationary process when $$d < 0.5$$, and that of a nonstationary (truncated) process when $$d > 0.5$$.

For the asymptotic distribution of $$\delta = 1$$, the two-step process will be used with the following demeaned and detrended series ω̄:

\begin{aligned}& \bar{\omega }_{t} = y_{t - 1} - \hat{\alpha }_{0} - \hat{\alpha }_{1}\sin \biggl( \frac{2\pi \hat{k}^{fr}t}{T} \biggr) - \hat{\alpha }_{2}\cos \biggl( \frac{2\pi \hat{k}^{fr}t}{T} \biggr), \\& \bar{\omega }_{t} = y_{t - 1} - \hat{\alpha }_{0} - \hat{\alpha }_{1}\sin \biggl( \frac{2\pi \hat{k}^{fr}t}{T} \biggr) - \hat{\alpha }_{1}\cos \biggl( \frac{2\pi \hat{k}^{fr}t}{T} \biggr) - \hat{\lambda } t, \end{aligned}

where $$\hat{\alpha }_{0}$$, $$\hat{\alpha }_{1}$$, $$\hat{\alpha }_{2}$$ and λ̂ are OLS estimators for demeaned and detrended cases, respectively. Next, we build the fractional Fourier unit-root test by using the demeaned and detrended series $$\bar{\omega }_{t}$$ in the second step. Although the D-F test is coherent when compared to the fractional alternatives, its low power makes it an appropriate ground for studying the new test procedures. Thus, we extend the regression model in (3) and (5) to test the null hypothesis that a series is $$FI(d_{0})$$ against the alternative that it is $$FI(d_{1})$$. The variable ω̄ is thought to be a unit-root process under the null hypothesis, but it constitutes a fractionally integrated stationary process in the alternative. Precisely, our suggestion is built upon testing for the statistical significance of β in the following FI-DF equation:

$$\Delta ^{d_{0}}\bar{\omega }_{t} = \beta \Delta ^{d_{1}} \bar{\omega }_{t - 1} + \xi _{t} ,$$
(6)

where $$\xi _{t} \sim iid ( 0,\sigma _{\xi }^{2} )$$ $$I(0)$$ process. Keep in mind that (6) is still an unbalanced regression where the dependent and independent variables are differenced with respect to their degrees of integration under the null and the alternative hypothesis. The $$\bar{\omega }_{t}$$ series follows the following process assuming that $$u_{t} = \xi _{t}$$ and $$\beta = 0$$ in (6):

$$\Delta ^{d_{0}}\bar{\omega }_{t} = \xi _{t}.$$
(7)

This implies that $$\bar{\omega }_{t}$$ in (7) is $$FI(d_{0})$$. When $$\beta < 0$$, $$\bar{\omega }_{t}$$ can be expressed as

$$\bigl( \Delta ^{d_{0} - d_{1}} - \beta L \bigr)\Delta ^{d_{1}}\bar{\omega }_{t} = \xi _{t} ,$$
(8)

where $$\bar{\omega }_{t}$$ is a $$FI(d_{1})$$ process. By using these arguments, we can write the normalized-OLS estimated coefficient or its t-ratio as in the standard D-F testing methodology as follows:

$$\textstyle\begin{array}{ll} H_{0}:\beta = 0,\bar{\omega }_{t}\text{ is }FI(d_{0}) \quad\quad & \bullet \text{ Linear unit root }I(1),\\ H_{1}:\beta < 0,\bar{\omega }_{t} \text{ is }FI(d_{1})\quad\quad & \bullet \text{ Fractionally integrated around a smoothly} \\ &\hphantom{\bullet } \text{ changing trend} \varphi (t) - FI(d_{1}) . \end{array}$$

### The test and its asymptotic properties

Now we allow for $$d_{0} = 1$$ and $$u_{t} = \xi _{t}$$ in (7), where $$\{ \xi _{t} \}$$ is a sequence of zero-mean i.i.d. random variables with unknown variance $$\sigma _{\xi }^{2}$$ and finite fourth-order moment. The OLS estimator $$\hat{\beta }_{ols}$$ and its t-ratio, $$t_{FF}$$, are given by their usual least-squares formulas;

\begin{aligned} & \hat{\beta }_{ols} = \frac{\sum_{t = 2}^{T} \Delta \bar{\omega }_{t}\Delta ^{d_{1}}\bar{\omega }_{t - 1}}{\sum_{t = 2}^{T} ( \Delta ^{d_{1}}\bar{\omega }_{t - 1} )^{2}}, \end{aligned}
(9)
\begin{aligned} & t_{FF} = \frac{\sum_{t = 2}^{T} \Delta \bar{\omega }_{t}\Delta ^{d_{1}}\bar{\omega }_{t - 1}}{S_{T} ( \sum_{t = 2}^{T} ( \Delta ^{d_{1}}\bar{\omega }_{t - 1} )^{2} )^{1/2}}, \\ & S_{T}^{2} = \frac{\sum ( \Delta \bar{\omega }_{t} - \hat{\beta }_{ols}\Delta ^{d_{1}}\bar{\omega }_{t - 1} )^{2}}{T}. \end{aligned}
(10)

In order to obtain the asymptotic distribution of the $$t_{FF} ( i = \mu ,\tau )$$ test, we need the subsequent outcomes, where we let $$[ rT ]$$, $$r \in [ 0,1 ]$$ be an integer close to rT. During the course of the derivation → implies weak convergence as T approaches ∞.

### Proposition 1 We have assumed that the remaining part or detrended series is a fractionally integrated series. Thus, we preserve the notation of  hereafter to derive the asymptotics of the proposed test.

### Lemma 1

Let $$\{ \xi _{t} \}$$ be a sequence of zero-mean i.i.d. random variables with variance $$\sigma _{\xi }^{2}$$ such that $$E \vert \xi _{t}^{4} \vert < \infty$$ implies the following linear processes:

\begin{aligned}& \Delta ^{d}z_{t} = \xi _{t} , \quad d \in [ - 0.5,0.5 ),\\& \Delta ^{d}z_{t}^{*} = \xi _{t}I_{t > 0}, \quad d \in [ - 0.5,0.5 ), \end{aligned}

where $$I(\cdot )$$ is an indicator function and

$$g_{t}^{*} = \sum_{i = 1}^{t} z_{i}^{*}.$$

Then the following process verifies:

\begin{aligned}& \textit{if } - 0.5 < d < 0.5, \\& T^{ - 1}\sum_{t = 1}^{T} \bigl( z_{t} - z_{t}^{*} \bigr) = o_{p}(1), \end{aligned}
(Case 1)
\begin{aligned}& T^{ - 1}\sum_{t = 1}^{T} \bigl( z_{t}^{2} - z_{t}^{*^{2}} \bigr) = o_{p}(1), \end{aligned}
(11)

and

\begin{aligned}& T^{ - 1}\sum_{t = 1}^{T} \bigl( z_{t}z_{t + k} - z_{t}^{*}z_{t + k}^{*} \bigr) = o_{p}(1), \\& \textit{if } d = - 0.5 \\& (T\log T)^{ - 1}\sum_{t = 1}^{T} z_{t}^{*^{2}} \overset{p}{\rightarrow}\frac{\sigma ^{2}}{\pi }; \end{aligned}
(12)

where $$\overset{p}{\rightarrow}$$ denotes convergence in probability,

\begin{aligned}& \textit{if } - 0.5 < d < 0.5 , \\& T^{ - 2 ( 1 + d )}\sum_{t = 1}^{T} z_{t}^{*^{2}} \overset{w}{\rightarrow} \int _{0}^{1} W_{d}^{2}\,dr, \end{aligned}
(Case 1)

where $$\overset{p}{\rightarrow}$$ denotes weak convergence.

### Lemma 2

Let $$\xi _{t}$$, $$z_{t}$$, $$z_{t}^{*}$$, and $$g_{t}^{*}$$ be identified as in Lemma 1. Then the subsequent processes are martingale differences and confirm:

\begin{aligned}& \textit{if } 0 < d < 0.5, \\& T^{ - 1/2}\sum_{t = 2}^{T} z_{t - 1}\xi _{t}\overset{w}{\rightarrow} N \biggl( 0,\sigma ^{4}\frac{\Gamma ( 1 - 2d )}{\Gamma ^{2} ( 1 - d )} \biggr), \end{aligned}
(*)
\begin{aligned}& T^{ - 1/2}\sum_{t = 2}^{T} z_{t - 1}^{*}\xi _{t}\overset{w}{\rightarrow}N \biggl( 0,\sigma ^{4}\frac{\Gamma ( 1 - 2d )}{\Gamma ^{2} ( 1 - d )} \biggr), \end{aligned}
(13)
\begin{aligned}& \textit{if } d = - 0.5 \\& (T\log T)^{ - 1}\sum_{t = 1}^{T} z_{t}^{*}\xi _{t} \overset{w}{\rightarrow}N \biggl( 0,\frac{\sigma ^{4}}{\pi } \biggr); \\& \textit{if } - 0.5 < d < 0. \end{aligned}
(Case 2)

When we impose the Fourier form to the FI process:

\begin{aligned}& T^{ - ( 1 + d )}\sum_{t = 2}^{T} g_{t - 1}\xi _{t}\overset{w}{\rightarrow} \sigma ^{2} \int _{0}^{1} B_{d} \bigl( k^{fr},r \bigr)\,dB ( r ), \end{aligned}
(13)
\begin{aligned}& T^{ - ( 1 + d )}\sum_{t = 2}^{T} g_{t - 1}^{*}\xi _{t}\overset{w}{\rightarrow}\sigma ^{2} \int _{0}^{1} W_{d} \bigl( k^{fr},r \bigr)\,dB ( r ), \end{aligned}
(14)

where $$B(\cdot )$$ denotes a standard Brownian motion, and $$B_{d}(\cdot )$$, $$W_{d}(\cdot )$$ or $$W_{d}(k^{fr},r)$$ are standard fractional Brownian motions. Depending on Lemma 2, the subsequent two theorems derive the asymptotic distribution and prove the consistency of an appropriately standardized-OLS estimator of β̂ and its t-ratio, under the null hypothesis of $$I ( 1 )$$.

### Theorem 1

Under the null hypothesis of unit root and with $$\bar{\omega }_{t}$$ as a random walk, the asymptotic distribution of $$t_{FF}$$ is as follows: where $$W_{i, - d_{1}} ( k^{fr},r )$$ for $$i = \mu ,\tau$$ give the demeaned and detrended standard fractional Brownian motions.

We can derive the asymptotics of the other cases; $$d_{1} = 0.5$$ and $$0.5 < d_{1} < 1$$ in a similar fashion with the $$0 \le d_{1} < 0.5$$. As pointed out before, since we are following two-step approaches the other distributions are the same as . Therefore, we concentrate on the non-degenerated distribution of case 1 and give its distribution explicitly in Theorem 1. This asymptotic distribution obtained for fractional frequency is the general form of the integer frequency case, and it can be easily converted to an integer form with the values given in .

### Proof

The proof of Theorem 1 is given explicitly in Appendix A. □

Apparently, the asymptotic distribution of the obtained test statistics under the null depends on the fractional Fourier frequency, $$k^{fr}$$, and integration order, $$d_{1}$$, but it is invariant to the other parameters in the testing equation. The fractional frequency versions of the critical values are tabulated in Appendix B and for integer frequency the critical values tabulated in Tables 13 as follows:

### Small sample properties of the fractional frequency flexible Fourier form fractionally integrated ADF test FFFFFFI-ADF (FFFFF-FI-ADF)

First, we will examine the small-sample size features of the test statistics. To assess the size of the test statistics, we investigate the following data generating process (DGP):

$$y_{t} = y_{t - 1} + \upsilon _{t} \quad \text{for } t = 1,2,\ldots,T, \upsilon _{t} \sim iid.N ( 0,1 ) ,$$
(15)

where $$\upsilon _{t}$$ is stationary with the above given distribution. The size features of the tests were simulated with 2000 replications via the sample dimension $$T = \{ 100,200,300,400,500, 600,700,800,900,1000 \}$$. The results of these simulation exercises are presented below in Fig. 1 and suggest that the proposed test statistics have satisfactory size properties.

As can be seen from Fig. 1, the newly proposed test exhibits good size properties similar to the previous tests [18, 26, 28]. Considering the scale next to the figure, the minimum and maximum size values are in the range of 0.02 and 0.08, respectively. Since the size analysis is performed for the 5 percent significance level, this scale indicates that the newly proposed test approaches the correct size value with a minimal error rate. As can be seen from the color spectrum given above, instead of the extreme values of yellow and dark blue, the size results were obtained with light green and blue intensity, and the real value of size was mostly 5%. Thus, in the light of Fig. 1 we can safely conclude that the newly proposed test has strong size properties.

Therefore, we can proceed with the power analysis without any size adjustment. Now, we turn to the small-sample power properties of the proposed tests. We have done an extensive simulation study to see the proposed unit-root tests’ power surface using the model

\begin{aligned} & y_{t} = \varphi ( t ) + \bar{\omega }_{t} , \end{aligned}
(16)
\begin{aligned} & \varphi (t) = \alpha _{0} + \alpha _{1}\sin \biggl( \frac{2\pi kt}{T} \biggr) + \alpha _{2}\cos \biggl( \frac{2\pi kt}{T} \biggr) , \end{aligned}
(17)
\begin{aligned} & y_{t} = \alpha _{0} + \alpha _{1}\sin \biggl( \frac{2\pi k^{fr}t}{T} \biggr) + \alpha _{2}\cos \biggl( \frac{2\pi k^{fr}t}{T} \biggr) + \lambda t + \bar{\omega }_{t}, \quad t = 1,2,\ldots,T, \end{aligned}
(18)
\begin{aligned} & \Delta ^{d_{0}}\bar{\omega }_{t} = \beta \Delta ^{d_{1}} \bar{\omega }_{t - 1} + \xi _{t}. \end{aligned}
(19)

Following [15, 16], we set $$\alpha _{1} = ( 0,3 )$$ and $$\alpha _{2} = ( 0,5 )$$. The results presented in Fig. 2 suggest that the proposed FFFFF-FI-ADF test clearly exhibits a similar behavior to [18, 26, 28].

As it can be seen from Fig. 2, the power performance of the test is working well. The test’s power increases with the time dimension T and decreases as the difference operator parameter varies from 0.1 to 0.9. Especially after 0.8, the power has started to decline from 1.00 to 0.2. and the lowest as 0.0. Towards 1, the color spectrum turns to yellow and black, while power weakens with blue and dark blue tones. As Fig. 2 shows, the high power of the test is justified with the abundance of yellow or black areas. Overall, this analysis proves that the test is powerful in capturing fractional integration data dynamics with a structural break. Furthermore, with these power analysis results we can distinguish between structural break and fractional integration because the detrended series in the first stage will not give a pseudo-integration order in the second stage.

## The method of estimations for Fourier fractional frequency and fractional integration parameter d

### Estimation of fractional frequency for Fourier function

The authors of  have conducted an extensive study analyzing the BFGS, BHHH, Genetic, Simplex and Grid Search (GS) algorithms in the estimation of the fractional frequency. They used the alternative hypothesis of the test  to evaluate the effects of using different algorithms on the parameter estimates. They have noticed that in the earlier studies, comparison of different optimization algorithm evaluation is commonly made on the critical value accuracy. Yet the Fourier unit-root test depends on the fractional frequency. Thus, the frequency is specified at first and then the critical values are acquired. Consequently, producing the critical values with a different optimization algorithm will not lead to different set of critical values. In our simulation study, the issues in  will be taken into consideration. In addition, since the subject to be examined should imitate the data generation process of the Covid-19 pandemic, the following model will be used:

$$y_{t} = \alpha _{0} + \alpha _{1}\sin \biggl( \frac{2\pi k^{fr}t}{T} \biggr) + \alpha _{2}\cos \biggl( \frac{2\pi k^{fr}t}{T} \biggr) ,$$
(20)

where $$T = 100$$. Subsequently, investigating different schemes of experiments, the authors of  have decided to use the SSR of the estimation results. The authors of  have classified the fractional frequency values that they obtain in terms of the stages of the pandemic. According to this classification, the fractional frequency was estimated to be between 0–0.75 in the early stages of the pandemic, 0.75–1.0 near the peak day, 1–1.25 in the second stage, and 1.5 around the plateau stage. We follow their study and use Eq. (25) to obtain Fig. 3 and Table 3.

Like , we have found that the best estimation algorithms with nonlinear trends are simplex and genetic, which are indifferent in terms of SSR. As reported in , the second best approach appears to be the GS grid-search algorithm, while the third one is the derivative free methods of BHHH and BFGS. Consequently, following our results and the ones obtained in , we use the simplex algorithm for the estimation of the fractional frequency.

### Estimation of the fractional difference d

In this study, we have used Andrews and  (henceforth, AG), ) (henceforth, RE) and ) (henceforth, GPH). The authors of  suggest a bias-reduced log-periodogram regression estimator, $$\hat{d}_{r}$$, of the long-memory parameter, d, that eliminates the first- and higher-order biases of the GPH estimator of . The bias-reduced estimator is identical to the GPH estimator except that the pseudo-regression model that produces the GPH estimator contains as extra regressors the frequencies to the power 2k for $$k = 1,\ldots,r$$ where r is a particular positive integer. The bias decrease is acquired by the assumptions made on the spectrum solitary in the neighborhood of the zero frequency. The authors of  following  found that the asymptotic bias, variance, and mean-squared error (MSE) of $$\hat{d}_{r}$$. These outcomes show that the bias of $$\hat{d}_{r}$$ goes to zero at a faster rate than that of the GPH. Therefore, the most suitable estimator for our FFFFF-FI-ADF test among these estimators is AG, which manages to catch the $$T^{1/2}$$ convergence and satisfies the unbiasedness property. There are other estimators which may be used in our study such as the ’s simple search algorithm. This algorithm depends on the SSR minimization and considers both the structural break and the estimation of d. However, since we are using the two-step procedure which considers the structural break and integration order separately, this procedure creates problems in our study. Despite this fact, we have tried the SSR approach in obtaining an estimate for the d parameter but found poor results with respect to the other estimators.Footnote 3

In the light of all these results, we propose a new estimator by using a simple search algorithm, which may be more suitable in our case and many other cases. In the interval $$d = [0,1]$$ plenty of different dynamics are available including $$d = 0$$, which corresponds to stationarity, $$0 < d < 0.5$$, which gives difference stationarity, $$0.5 \le d < 1.0$$, which refers to a nonstationary but mean-reverting process, and $$d = 1$$, which corresponds to a unit-root process. In our case, instead of using a priori estimate of d, we estimate it simultaneously within the unit-root testing procedure. For this purpose, we utilize both a search algorithm and a simple bootstrap algorithm as follows.

• Step 1: Estimate $$y_{t} = \alpha _{0} + \varphi _{1} \sin ( \frac{2\pi {kt}}{{T}} ) + \varphi _{1}\cos ( \frac{2\pi {kt}}{{T}} ) + \bar{\omega} _{{t}}$$ for the series under investigation by using the optimal $$k_{fr}^{*}$$ and use the series thereby obtained in the second step estimation,

• Step 2: For a predetermined value of $$d_{1}$$, starting from $$d_{1} = 0.1$$, estimate the FFFFF-FI-ADF test value by running $$\Delta ^{d_{0}}\bar{\omega }_{t} = \beta \Delta ^{d_{1}}\bar{\omega }_{t t - 1} + u_{t}$$. Also introduce lags of the dependent variable using the AIC or SIC,

• Step 3: Obtain critical values for this predetermined value of $$d_{1}$$ using 2000 centered residuals from step 2 and a simple bootstrap algorithm,

• Step 4: Use steps 2 and 3 to obtain the p-values of the test statistics for the series under consideration,

• Step 5: Repeat steps 2 to 4 using the interval $$d = (0,1)$$ and increments $$\Delta d = 0.001$$. Then obtain all available p-values in this range,

• Step 6: If collected p-values truncate the 0.1 significance level, then the first truncation will be the estimate, $$\hat{d}_{1}$$. If there is no such truncation, then select the minimum p-value for the estimated $$\hat{d}_{1}$$ parameter.

As an example, we have obtained the estimates for Germany, Italy, Russia, Spain, Turkey, and US in Fig. 4.

Therefore, using our new methodology, we can also provide the best procedure which leads to the minimum information loss.

Let us now elaborate more on the information loss. One major drawback of differencing is that it leads to information loss. In the most extreme case, by taking the first-order difference, that is, with $$d = 1$$ we lose valuable information contained in a series. Taking differences is in some ways analogous to differentiation. Before taking the first-order derivative of the function we have information on its time path or the primitive function. By taking the first-order derivative of the series with respect to time, we gain information about the rate of change or growth of the series (or derived function) while passing this time path. If the subject we want to examine includes the information of the time path, a first-order derivative with respect to time will enable us to examine the series’ growth relationship.

In this sense, a researcher who wants to use the gross national product (GNP) of a country must consider its growth rate because GNP in levels is not stationary. As another example, suppose we want to forecast the temperature, but the temperature data is not stationary. In order to make long-term forecasts, the series analyzed should be stationary. Otherwise, the forecast error will grow so rapidly after the one step ahead forecast that it will not allow the long-term forecast to be possible. From a forecasting perspective, it may not be relevant for the researcher to predict the growth rate of GNP instead of its level. When we take the difference from a lower order, valuable data including the growth and time path of the series is retrieved. If the d parameter is close to 0, the series that we obtain contains more information about the time path of the series; otherwise (for $$d=1$$) it conveys the growth rate of the series. On the other hand, when the difference is taken at order $$d = 0.5$$, an optimal mix of these two will be obtained. Figure 5 shows how the primitive function converges to the derived function as the order of differencing changes. It is obtained using the following data generation:

$$y_{t} = 10 + 0.8y_{t - 1} + u_{t}, \quad u_{t} \sim iidN ( 0,1 ), y_{0} = 10.$$

Figure 6 visualizes the isomorphism among series with difference orders as the difference operator converges to 1.

While $$d = 0.1$$, the series still preserves almost all features of the original series or the time path; that is, it preserves the information about the original state of the series (primitive function) at the maximum level. However, when $$d = 0.5$$, the resultant series seem to resemble the series’ rate of change, although still preserving some time path information. This information has important implications in the time-series econometrics literature. Suppose the series is stationary in the interval $$d = 0.1-0.5$$. In that case, we can continue our work with the level of the series, i.e., time path, and obtain unbiased estimates with respect to this level information. Moreover, the traditional distribution theory is still valid while conducting regression analysis with this group of data or differenced series. But if $$d> 0.5$$, the series obtained no longer contains information about its time path, and we will have to comment on the rate of change. After this point, while the traditional asymptotic theory ceases to maintain its validity, we should also be careful about the different integration orders.Footnote 4

## Empirical example

In this section, the daily infected case forecasts of the Coronavirus (Covid-19) pandemic, which started as of 01/01/2020 and spread worldwide, will be performed. Since the Covid-19 epidemic is on the agenda, many empirical and theoretical studies were conducted on the subject. Empirical studies on the subject include in the literature , and . In addition, studies close to the theoretical structure of this article are , and . The Coronavirus daily infected case numbers are collected from the European Health Organization database for 204 countries. The newly proposed FFFFF-FI-ADF type of unit-root test and the one developed in  were applied to the existing data of these countries. We have investigated the fit of fractional and integer Fourier functions to the daily infected case series for some selected countries by using the SSR estimates and graphed them below in Fig. 7.Footnote 5 The countries with a longer time span that exhibit different dynamics were selected.

As Fig. 7 shows, the FFFFF method gives better results than the IFFFF method for all selected countries using the SSR criterion. Thus, these results are not tabulated. It is clear from Fig. 7 and the SSR results that the FFFFF method captures better the dynamics of the daily infected cases due to its highly flexible structure. Therefore, the FFFFF methodology can be used in obtaining the long-run forecasts of the daily Covid-19 cases. Of course, to confirm this claim, it is necessary to look at the results of both tests, namely FFFFF-ADF and FFFFF-FI-ADF.

As aforementioned, long-term forecasting is only possible with stationary data. Thus, the FFFFF methods must be used when pretesting the stationarity of the daily infected cases. Moreover, since the daily cases were found stationary using both the FFFFF-ADF and the newly proposed FFFFF-FI-ADF type of unit-root tests, a forecast model constructed for these daily cases must also include the FFFFF type of flexible function using fractional integration.

Since it would take a lot of space to tabulate the unit-root test results for the entire dataset of 240 countries, we preferred to visualize them using a world map in Fig. 8. Countries with nonstationary and stationary daily cases were colored with blue and red tones, respectively. According to the FFFFF-ADF test, the daily infected cases of 124 (out of 240) countries were found to be stationary. When we estimated the fractional frequency of the Fourier functions for these countries, 91 countries’ fractional frequencies were found in the interval 1.7 and 4.13. The high frequencies found in these countries can be attributed to the random oscillations caused by irregular testing, wrong protection measures adopted, and similar situations arising in these countries. In some countries extremely high case numbers are seen in one day, whereas the next day no tests are run, and no numbers are announced. This behavior of the health authorities leads to the irregular distribution of jump discontinuities. Despite these irregular oscillations, the fractional frequency Fourier function captures the unknown deterministic functional forms extremely well. Besides, fractional integration is also useful for capturing these random oscillations. Therefore, it is better to use the FFFFF-FI-ADF test in countries where the unit-root null could not be rejected. For this reason, we selected the ten countries with the highest daily case numbers that were not found stationary with the FFFFF-ADF test.

As can be seen from Table 4, the FFFFF-FI-ADF test results demonstrate that the daily cases of all countries, except Russia and Spain, are fractionally integrated and stationary. When it comes to Russia and Spain, their Covid-19 cases are found to be fractionally integrated, mean-reverting but nonstationary. The AG method produced stationary test results for Brazil, France, Germany, and the UK. The GPH method, which is the closest method to the AG method, yielded similar results except for Germany and the UK. Besides, the RP method leads to stationarity test results for Brazil, Chile, France, and the UK. On the other hand, the newly proposed method seems to be the most efficient one when compared to these other methods. It rejects the null hypothesis of unit root for Brazil, Chile, France, Germany, Italy, Turkey, the UK, and the US. The fractional integration dynamics that the FFFFF-ADF could not represent were caught with different methods. The oscillations that we mentioned in the introduction part was modeled correctly with FI. In this sense, it will be beneficial to use the FFFFF-FI model to forecast Covid-19’s long-term potentially infected number of cases. These efficient long-term forecasts will enable policy authorities to control the outbreak better. Moreover, we can also see that the method we have just proposed provided the lowest difference order estimates. This obtained lowest difference order allows us to perform the most accurate unit-root test with the lowest information loss.

## Conclusion

In this study, we have proposed a fractional frequency flexible Fourier form fractionally integrated ADF test. By implementing an extensive simulation study, we have showed that the newly proposed test has good size and power properties. Moreover, we have demonstrated that the best estimators for our unit-root testing procedure are both fractional frequency and newly proposed fractional difference operator. The newly proposed fractional difference estimator has shown to be the best estimator with respect to the minimum information loss criteria. Finally, the empirical study has demonstrated that not considering the structural break and fractional integration simultaneously in the testing process may lead to misleading results about the stochastic behavior of the series under investigation. Therefore, our proposed FFFFF-FI-ADF test will help policy authorities to control any natural disaster by providing an efficient method for pretesting the disaster’s long-term predictability.

Moreover, the fractional frequency and fractional difference estimation methodologies given in Sect. 3 shed light on the areas for future research. First of all, different functional forms could be used for the structural breaks. In this study, we showed that fractional frequency fits the structure of the Covid-19 epidemic quite well. However, another functional form can be recommended for another data type. Furthermore, different methodologies may be developed for implementing fractional difference estimation. Section 3.2 tried to examine the fractional differencing meaning and suggested an estimator that minimizes the information loss. The importance of taking differencing in different orders shows that new estimators and difference operators can be developed for various purposes in future studies.

## Availability of data and materials

Data sharing not applicable to this article as publicly open datasets are available from the European Health Organization.

1. See  for more details.

2. $$\Gamma (\cdot )$$ denotes the gamma function, and $$\{\pi _{i}(d)\}$$ represents the sequence of coefficients associated with the expansion of $$\Delta ^{d}$$ in powers of L, which are defined as $$\pi _{i}(d) = \frac{\Gamma (i - d)}{\Gamma ( - d)\Gamma (i - 1)}$$.

3. The results can be provided upon request.

4. Since the research of these topics is beyond the scope of the study, the subject is left at this maturity level. However, more detailed discussions on these issues are considered for future studies.

5. The country codes of these countries are given in the Appendix.

## References

1. Dickey, D.A., Fuller, W.A.: Distribution of the estimates for autoregressive time series with a unit root. J. Am. Stat. Assoc. 74, 427–431 (1979)

2. Mayoral, L.: Further evidence on the statistical properties of real GNP. Oxf. Bull. Econ. Stat. 68, 901–920 (2006)

3. Mayoral, L.: Testing for fractional integration versus short memory with structural breaks. Oxf. Bull. Econ. Stat. 74(2), 278–305 (2011)

4. Hamilton, J.D.: Time Series Analysis. Princeton University Press, Princeton (1994)

5. Perron, P.: The great crash, the oil price shock, and the unit root hypothesis. Econometrica 57, 1361–1401 (1989)

6. Perron, P.: Testing for a unit root in a time series with a changing mean. J. Bus. Econ. Stat. 8, 153–162 (1990)

7. Rappaport, P., Reichlin, L.: Segmented trends and non-stationary time series. Econ. J. 99, 168–177 (1989)

8. Zivot, E., Andrews, K.: Further evidence on the great crash, the oil price shock, and the unit root hypothesis. J. Bus. Econ. Stat. 10, 251–270 (1992)

9. Lumsdaine, R.L., Papell, D.H.: Multiple trend breaks and the unit root hypothesis. Rev. Econ. Stat. 79(2), 212–218 (1997)

10. Omay, T., Emirmahmutoğlu, F.: The comparison of power and optimization algorithms on unit root testing with smooth transition. Comput. Econ. 49(4), 623–651 (2017)

11. Leybourne, S., Newbold, P., Vougas, D.: Unit roots and smooth transitions. J. Time Ser. Anal. 19, 83–97 (1998)

12. Omay, T., Emirmahmutoglu, F., Hasanov, M.: Structural break, nonlinearity, and asymmetry: a re-examination of PPP proposition. Appl. Econ. 50(12), 1289–1308 (2018)

13. Bierens, H.J.: Testing the unit root with drift hypothesis against nonlinear trend stationarity, with an application to the US price level and interest rate. J. Econom. 81, 29–64 (1997)

14. Becker, R., Enders, W., Lee, J.: A stationarity test in the presence of an unknown number of smooth breaks. J. Time Ser. Anal. 27, 381–409 (2006)

15. Enders, W., Lee, J.: A unit root test using a Fourier series to approximate smooth breaks. Oxf. Bull. Econ. Stat. 74, 574–599 (2012)

16. Enders, W., Lee, J.: The flexible Fourier form and Dickey–Fuller type unit root tests. Econ. Lett. 117, 196–208 (2012)

17. Omay, T.: Fractional frequency flexible Fourier form to approximate smooth breaks in unit root testing. Econ. Lett. 134, 123–126 (2015)

18. Dolado, J., Gonzalo, J., Mayoral, L.: A fractional Dickey–Fuller test for unit roots. Econometrica 70, 1963–2006 (2002)

19. Baillie, R.T.: Long memory processes and fractional integration in econometrics. J. Econom. 73(1), 5–59 (1996)

20. Beran, J.: Statistics for Long Memory Processes. Chapman & Hall, New York (1994)

21. Granger, C.W.J.: Long memory relationships and the aggregation of dynamic models. J. Econom. 14, 227–238 (1980)

22. Cuestas, J.C., Gil-Alana, L.A.: Testing for long memory in the presence of nonlinear deterministic trends with Chebyshev polynomials. Stud. Nonlinear Dyn. Econom. 20(1), 57–74 (2016)

23. Chang, S.Y., Perron, P.: Fractional unit root tests allowing for a structural change in trend under both the null and alternative hypotheses. Econometrics 5, 5 (2017)

24. Robinson, P.M.: Efficient tests of nonstationary hypotheses. J. Am. Stat. Assoc. 89, 1420–1437 (1994)

25. Tanaka, K.: The nonstationary fractional unit root. Econom. Theory 15, 549–582 (1999)

26. Dolado, J., Gonzalo, J., Mayoral, L.: Testing $$\mathrm{I}(1)$$ against $$\mathrm{I}(0)$$ alternatives in the presence of deterministic components. Mimeo (2005)

27. Gallant, A.R.: On the bias in flexible functional forms and an essentially unbiased form: the Fourier flexible form. J. Econom. 15, 211–245 (1981)

28. Dolado, J., Gonzalo, J., Mayoral, L.: Structural breaks vs. long memory: what is what? Mimeo, Universidad Carlos III (2007)

29. Omay, T., Emirmahmutoğlu, F., Shahzad, S.J.H.: The comparison of optimization algorithms for selecting the fractional frequency in Fourier form unit root tests. Appl. Econ. 53(7), 761–780 (2020)

30. Andrews, D.W.K., Guggenberger, P.: A bias-reduced log-periodogram regression estimator for the long-memory parameter. Econometrica 71(2), 675–712 (2003)

31. Geweke, J., Porter-Hudak, S.: The estimation and application of long-memory time series models. J. Time Ser. Anal. 4, 221–237 (1983)

32. Gil-Alana, L.A.: Testing the existence of multiple cycles in financial and economic time series. Ann. Econ. Financ. 8(1), 1–20 (2007)

33. Ahmed, A., Salam, B., Mohammad, M., Akgul, A., Khoshnaw, S.H.: Analysis coronavirus disease (COVID-19) model using numerical approaches and logistic model. AIMS Bioeng. 7(3), 130–146 (2020)

34. Atangana, E., Atangana, A.: Facemasks simple but powerful weapons to protect against COVID-19 spread: can they have sides effects? Results Phys. 19, 103425 (2020)

35. Naik, P.A., Yavuz, M., Qureshi, S., Zu, J., Townley, S.: Modeling and analysis of COVID-19 epidemics with treatment in fractional derivatives using real data from Pakistan. Eur. Phys. J. Plus 135(10), 1–42 (2020)

36. Akgül, A., Ahmed, N., Raza, A., Iqbal, Z., Rafiq, M., Baleanu, D., Rehman, M.A.U.: New applications related to Covid-19. Results Phys. 20, 103663 (2021)

37. Memon, Z., Qureshi, S., Memon, B.R.: Assessing the role of quarantine and isolation as control strategies for COVID-19 outbreak: a case study. Chaos Solitons Fractals 144, 110655 (2020)

38. Tuan, N.H., Tri, V.V., Baleanu, D.: Analysis of the fractional corona virus pandemic via deterministic modeling. Math. Methods Appl. Sci. 44(1), 1086–1102 (2021)

39. Atangana, A., Akgül, A.: Can transfer function and Bode diagram be obtained from Sumudu transform. Alex. Eng. J. 59(4), 1971–1984 (2020)

40. Atangana, A., Akgül, A., Owolabi, K.M.: Analysis of fractal fractional differential equations. Alex. Eng. J. 59(3), 1117–1134 (2020)

41. Akram, T., Abbas, M., Riaz, M.B., Ismail, A.I., Ali, N.M.: An efficient numerical technique for solving time fractional Burgers equation. Alex. Eng. J. 59(4), 2201–2220 (2020)

42. Akram, T., Abbas, M., Iqbal, A., Baleanu, D., Asad, J.H.: Novel numerical approach based on modified extended cubic B-spline functions for solving non-linear time-fractional telegraph equation. Symmetry 12(7), 1154 (2020)

43. Akram, T., Abbas, M., Ali, A., Iqbal, A., Baleanu, D.: A numerical approach of a time fractional reaction–diffusion model with a non-singular kernel. Symmetry 12(10), 1653 (2020)

44. Amin, M., Abbas, M., Iqbal, M.K., Baleanu, D.: Numerical treatment of time-fractional Klein–Gordon equation using redefined extended cubic B-spline functions. Front. Phys. 8, 288 (2020)

45. Amin, M., Abbas, M., Iqbal, M.K., Ismail, A.I.M., Baleanu, D.: A fourth order non-polynomial quintic spline collocation technique for solving time fractional superdiffusion equations. Adv. Differ. Equ. 2019, 514 (2019)

46. Iqbal, A., Siddiqui, M.J., Muhi, I., Abbas, M., Akram, T.: Nonlinear waves propagation and stability analysis for planar waves at far field using quintic B-spline collocation method. Alex. Eng. J. 59(4), 2695–2703 (2020)

47. Khalid, N., Abbas, M., Iqbal, M.K., Singh, J., Ismail, A.I.M.: A computational approach for solving time fractional differential equation via spline functions. Alex. Eng. J. 59(5), 3061–3078 (2020)

48. Khalid, N., Abbas, M., Iqbal, M.K.: Non-polynomial quintic spline for solving fourth-order fractional boundary value problems involving product terms. Appl. Math. Comput. 349, 393–407 (2020)

Not applicable.

Not applicable.

## Author information

Authors

### Contributions

The authors declare that the study was realized in collaboration with equal responsibility. All authors read and approved the final manuscript.

### Corresponding author

Correspondence to Tolga Omay.

## Ethics declarations

Not applicable.

### Competing interests

The authors declare that they have no competing interests.

Not applicable.

## Appendices

### Appendix A

This appendix provides asymptotic distribution of FFFFF-FI-ADF test statistics given in the text.

### Proof of Proposition 1

The proofs of (i) and (ii) are known (see Hamilton, 1994). By using the continuous mapping theorem, we can obtain the proofs of (iii) and (iv) as follows: □

### Proof of Theorem 1

Let $$\sin (t) = \sin ( 2\pi k^{fr}t/T )$$ and $$\cos (t) = \cos ( 2\pi k^{fr}t/T )$$. We first examine the demeaned case with $$\beta = 0$$ in Eq. (6). Let $$y_{t}^{\mu }$$ denote the OLS residuals from the demeaned case in the text with $$w_{t} = ( 1,\sin (t),\cos (t) )'$$

$$y_{t}^{\mu } = \bar{\omega }_{t} - w_{t}' ( \hat{\theta } - \theta ) ,$$
(A.1)

where $$\theta = ( \alpha _{0},\alpha _{1},\alpha _{2} )^{\prime }$$, θ̂ is the OLS estimator of θ. We let $$w = ( w_{1},\ldots,w_{T} )^{\prime }$$, $$\bar{\omega } = ( \bar{\omega }_{1},\ldots,\bar{\omega }_{T} )^{\prime }$$ and $$\mathbf{M}_{T} = \operatorname{diag} ( \sqrt{T},\sqrt{T},\sqrt{T} )$$ to have

$$\mathbf{M}_{T} ( \hat{\theta } - \theta ) = \bigl[ \mathbf{M}_{T}^{ - 1}w'w\mathbf{M}_{T}^{ - 1} \bigr]^{ - 1}\mathbf{M}_{T}^{ - 1}w'\bar{ \omega } .$$
(A.2)

Applying some algebra to (A.1) and (A.2),

$$T^{ - 1/2}y_{ [ rT ]}^{\mu } = T^{ - 1/2}\bar{\omega }_{ [ rT ]}^{\mu } - T^{ - 1}w_{ [ rT ]}' \bigl[ \mathbf{M}_{T}^{ - 1}w'w \mathbf{M}_{T}^{ - 1} \bigr]^{ - 1} \mathbf{M}_{T}^{ - 1}w'\bar{\omega }.$$
(A.3)

Depending on FCLT, the first term of (A.3) becomes

$$T^{ - 1/2}\bar{\omega }_{ [ rT ]} = T^{ - 1/2}\sum _{t = 1}^{ [ rT ]} \xi _{t} \to \sigma W(r).$$
(A.4)

The second component in (A.3) becomes

\begin{aligned} \begin{aligned} & \bigl[ \mathbf{M}_{T}^{ - 1}w'w \mathbf{M}_{T}^{ - 1} \bigr]^{ - 1} \\ &\quad = \begin{bmatrix} 1 & T^{ - 1}\sum_{t = 1}^{T} \sin (t) & T^{ - 1}\sum_{t = 1}^{T} \cos (t) \\ T^{ - 1}\sum_{t = 1}^{T} \sin (t) & T^{ - 1}\sum_{t = 1}^{T} \sin ^{2}(t) & T^{ - 1}\sum_{t = 1}^{T} \sin (t) T^{ - 1}\sum_{t = 1}^{T} \cos (t) \\ T^{ - 1}\sum_{t = 1}^{T} \cos (t) & T^{ - 1}\sum_{t = 1}^{T} \sin (t) T^{ - 1}\sum_{t = 1}^{T} \cos (t) & T^{ - 1}\sum_{t = 1}^{T} \cos ^{2}(t) \end{bmatrix}^{ - 1} \\ &\quad \to \begin{bmatrix} 1 & s_{0} & c_{0} \\ s_{0} & s_{2} & m_{0} \\ c_{0} & m_{0} & c_{2} \end{bmatrix}^{ - 1} = \frac{1}{\Delta _{1}} \begin{bmatrix} a_{11} & a_{12} & a_{13} \\ a_{12} & a_{22} & a_{23} \\ a_{13} & a_{23} & a_{33} \end{bmatrix} ,\end{aligned} \end{aligned}
(A.5)

where $$\Delta _{1} = s_{2}c_{2} - s_{2}c_{0}^{2} - s_{0}^{2}c_{2} - m_{0}^{2}$$, $$a_{11} = s_{2}c_{2} - m_{0}^{2}$$, $$a_{12} = c_{0}m_{0} - s_{0}c_{2}$$, $$a_{13} = s_{0}m_{0} - s_{2}c_{0}$$, $$a_{22} = c_{2} - c_{0}^{2}$$, $$a_{23} = s_{0}c_{0} - m_{0}$$ and $$a_{33} = s_{2} - s_{0}^{2}$$.

$$T^{ - 1}\mathbf{M}_{T}^{ - 1}w'\bar{ \omega } = \begin{bmatrix} T^{ - 1/2}\sum_{t = 1}^{T} \bar{\omega }_{t} \\ T^{ - 1/2}\sum_{t = 1}^{T} \sin (t)\bar{\omega }_{t} \\ T^{ - 1/2}\sum_{t = 1}^{T} \cos (t)\bar{\omega }_{t} \end{bmatrix} \to \begin{bmatrix} \sigma f_{1} \\ \sigma f_{2} \\ \sigma f_{3} \end{bmatrix}.$$
(A.6)

Then

\begin{aligned} \begin{aligned} & T^{ - 1}w_{ [ rT ]}' \bigl[ \mathbf{M}_{T}^{ - 1}w'w \mathbf{M}_{T}^{ - 1} \bigr]^{ - 1} \mathbf{M}_{T}^{ - 1}w'\bar{\omega } \\ &\quad \to \frac{1}{\Delta _{1}} \begin{bmatrix} 1 & \sin ( 2\pi k^{fr}r ) & \cos ( 2\pi k^{fr}r ) \end{bmatrix} \begin{bmatrix} a_{11} & a_{12} & a_{13} \\ a_{21} & a_{22} & a_{23} \\ a_{31} & a_{32} & a_{33} \end{bmatrix} \begin{bmatrix} \sigma f_{1} \\ \sigma f_{3} \\ \sigma f_{4} \end{bmatrix} . \end{aligned} \end{aligned}
(A.7)

Finally, merging the outcomes in Eqs. (A.4) and (A.7), we obtain the demeaned Brownian motion by

\begin{aligned} \frac{1}{\sigma \sqrt{T}} y_{ [ rT ]}^{\mu } &\to W_{\mu } \bigl( k^{fr},r \bigr) \\&= W ( r ) - \frac{\sigma }{\Delta _{1}} \begin{bmatrix} ( a_{11}f_{1} + a_{12}f_{3} + a_{13}f_{4} ) \\ {} + ( a_{21}f_{1} + a_{22}f_{3} + a_{23}f_{4} )\sin ( 2\pi k^{fr}r ) \\ {} + ( a_{31}f_{1} + a_{32}f_{3} + a_{33}f_{4} )\cos ( 2\pi k^{fr}r ) \end{bmatrix} . \end{aligned}
(A.8)

For the detrended case similar arguments follow so we skip the algebra. Using the above given results, under the null we can obtain the demeaned Brownian’s. Now we can proceed with the fractionally integrated part in the second step. Under the null hypothesis that $$\bar{\omega }_{t}$$ is a random walk and applying Lemma 1 and Lemma 2 and results in  and in , we obtain

$$t_{FF,i} \bigl( k^{fr},d_{1} \bigr)\overset{w}{ \rightarrow}\frac{\smallint _{0}^{1}W_{i, - d_{1}} ( k^{fr},r )\,dB ( r )}{ ( \smallint _{0}^{1}W_{i, - d_{1}}^{2} ( k^{fr},r )\,dr )^{1/2}}, \quad i = \mu ,\tau \text{, if } 0 \le {d}_{1} < 0.5.$$

□

## Rights and permissions 