Neutrosophic and Information Fusion cover
Neutrosophic and Information Fusion

Online ISSN 2836-7863

Full Length Article

Volume 4 • Issue 2 • PP: 27–33 • 2024

On the Problem of Inverting Discrete Self-Regression Models to Continuous Models

Taher Ahmed Jubbori 1*
1Computer Techniques Engineering Department, Al-Mustaqbal University, Babil, Iraq
* Corresponding Author.
verified

Open Access & Copyright

© 2024 The Author(s). Published by ASPG. This article is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).

Abstract

In this paper, we discuss the problem of converting auto-regression models at a discrete time into auto-regression models at continuous time, based on the idea of converting auto-regression models from first to second order. We study the general formula of AR (p) and its ability to convert from discrete to continuous time. Also, we use our model to study some real-life problems as a direct application of our approach.

Full Text

This HTML version is generated from the article PDF. The PDF remains the version of record.

1. INTRODUCTION

A time series is a set of observed values of a certain phenomenon at successive times, and time-series analysis is used to determine the reality of changes in the values of observations of the phenomenon and to predict future values for it. This is done by building a mathematical model of the series, either linear or non-linear, depending on the nature of the studied time series. Such models are usually expressed as differential equations with constant coefficients. When these models are represented in continuous time, they can be expressed as differential equations with constant coefficients.

Time series are among the important mathematical concepts adopted for scientific research and studies and are the main pillar of development plans, the development of planning methods, and a key input for resolutely addressing some of the existing problems and gaps in the medical, economic, military, and service aspects [3].

The importance of time series in scientific research and studies is highlighted by their dependence on the observed values of the phenomenon and the study of how these values change over equal time periods. This makes it possible to determine the reality of changes in the observed phenomenon, understand their causes and influencing factors, and build a suitable mathematical model to express its time series.

In this research, the process of reversing auto-regression models at discrete time into auto-regression models at continuous time was studied based on the basic idea of Priestley. In the applied aspect, we relied on a time-series study in the medical field. The research dealt with viral hepatitis Type-B, which is a health and social problem in many countries and threatens many people with death or disability [1, 5].

The available statistics on the number of infected people were obtained from the main blood bank in Nineveh Governorate from 1997 until 2006. The data were divided at the level of months into 120 observations representing the numbers of people with this disease. There are many studies in the field of embedding and converting, among which we mention the following.

Tong and Chan (1987) published their joint research on embedding auto-regression models at discrete time into autoregression models at continuous time. They explained that it is not always possible to embed the real intermittent parameter values of the first-order auto-regression model AR(1) into the real continuous parameter values of a first-order autoregression model [9].

He and Wang (1989) dealt with the immersion of intermittent ARMA(p,q) models into continuous ARMA(p′,q′) models. The researchers explained that the real intermittent parameter values for the causal autoregressive moving-average model ARMA(p,q), for every q < p, can be embedded in real continuous parameter values for an ARMA(p′,q′) model for every q′ < p′ [7]. Brockwell and Brockwell (1999) showed that an autoregressive integrated moving-average model in which one root of the moving-average model lies on the unit circle cannot be embedded in any continuous-time autoregressive moving-average model [6].

In the field of converting discrete-time auto-regression models to continuous-time auto-regression models, Priestley (1981) demonstrated the mechanism of converting intermittent firstorder AR(1) and second-order AR(2) auto-regression models to continuous first- and second-order auto-regression models, respectively [8].

2. THE THEORETICAL ASPECT

Regression models in intermittent time can be expressed as difference equations with constant coefficients, whereas continuous-time models are written as differential equations with constant coefficients [8]. Because most studies collect readings at intermittent times even though the phenomena occur continuously, we try in this paper to reverse intermittent-time auto-regression models into continuoustime auto-regression models.

Let us have the following form:

n ∑ i=0 aiXt−i = Yt.

It can be written in the following form:

Xt = a1Xt−1 −···−anXt−n +Yt.

It is an auto-regression model of rank n, where {Yt} is white noise and t represents time for each t = 0,±1,±2,.... The constants ai represent the parameters of the model, where i = 1,2,...,n and a0 = 1.

Priestley reverses the first- and second-order auto-regression models in discontinuous time to first- and second-order autoregression models in continuous time. In this research, we take advantage of the same idea to reverse auto-regression models of rank p, where p = 1,2,...,k.

2.1 Inversion of the Third-Order Auto-Regression Model: AR(3)

Let the third-order self-regression model be

Xn +a1Xn−1 +a2Xn−2 +a3Xn−3 = Yn, where ai are constants for i = 1,2,3, {Yn} is white noise, and n = 0,±1,±2,.... Based on a formula similar to that used by Priestley for the inverse of AR(p), where p = 1,2, we obtain

−a3∆3Xn +(a2 +3a3)∆2Xn −(a1 +2a2 +3a3)∆Xn

+(1+a1 +a2 +a3)Xn = Yn.

Here, ∆denotes the difference operator and includes the backward-shift factor B:

∆= (1−B).

Let t = n∆t. Dividing both sides of Equation (1) by −a3(∆t)3 gives

∆3Xn (∆t)3 −(a2 +3a3)∆2Xn a3(∆t)3 + (a1 +2a2 +3a3)∆Xn a3(∆t)3

−1+a1 +a2 +a3 a3(∆t)3 Xn = − Yn a3(∆t)3 , or, equivalently,

∆3Xn (∆t)3 −a2 +3a3

∆2Xn (∆t)2 + a1 +2a2 +3a3 a3(∆t)2 a3∆t

−1+a1 +a2 +a3 a3(∆t)3 Xn = − Yn a3(∆t)3 .

We assume that ε(t) = − Yn a3(∆t)3 , α1 = −a2 +3a3

a3∆t ,

α2 = a1 +2a2 +3a3 a3(∆t)2 , α3 = −1+a1 +a2 +a3 a3(∆t)3 .

Taking ∆t toward zero, we obtain the formal third-order differential equation

... X (t)+α1 ¨X(t)+α2 ˙X(t)+α3X(t) = ε(t), which represents a continuous third-order auto-regression model.

2.2 Inversion of the Fourth-Order Auto-Regression Model: AR(4)

Let us have the following fourth-order auto-regression model:

Xn +a1Xn−1 +···+a4Xn−4 = Yn.

Here, ai are constants for i = 1,2,3,4, {Yn} is white noise, and n = 0,±1,±2,.... Depending on the relations obtained for the inverse of AR(p), where p = 1,2,3, we obtain a4∆4Xn −(a3 +4a4)∆3Xn +(a2 +3a3 +6a4)∆2Xn

−(a1 +2a2 +3a3 +4a4)∆Xn +(1+a1 +a2 +a3 +a4)Xn = Yn.

Let t = n∆t. Dividing Equation (2) by a4(∆t)4 and rearranging gives

∆4Xn (∆t)4 −a3 +4a4

∆2Xn (∆t)2

∆3Xn (∆t)3 + a2 +3a3 +6a4 a4(∆t)2 a4∆t

−a1 +2a2 +3a3 +4a4 a4(∆t)3

+ 1+a1 +a2 +a3 +a4 a4(∆t)4 Xn = Yn a4(∆t)4 .

Thus, ε(t) = Yn a4(∆t)4 , α1 = −a3 +4a4

a4∆t ,

α2 = a2 +3a3 +6a4 a4(∆t)2 , α3 = −a1 +2a2 +3a3 +4a4 a4(∆t)3 , α4 = 1+a1 +a2 +a3 +a4 a4(∆t)4 .

Taking ∆t toward zero gives the formal fourth-order differential equation

X(4)(t)+α1X(3)(t)+α2X(2)(t)+α3X(1)(t)+α4X(t) = ε(t), which represents a continuous fourth-order auto-regression model.

2.3 Inversion of the Fifth-Order Auto-Regression Model: AR(5)

Let us have the fifth-order auto-regression model

Xn +a1Xn−1 +a2Xn−2 +···+a5Xn−5 = Yn, where ai are constants for i = 1,2,...,5, {Yn} is white noise, and n = 0,±1,±2,.... Using the relations for the inverse of AR(p), where p = 1,2,3,4, we obtain

−a5∆5Xn +(a4 +5a5)∆4Xn

−(a3 +4a4 +10a5)∆3Xn

+(a2 +3a3 +6a4 +10a5)∆2Xn −(a1 +2a2 +3a3 +4a4 +5a5)∆Xn +(1+a1 +a2 +a3 +a4 +a5)Xn = Yn.

Let t = n∆t. Dividing Equation (3) by −a5(∆t)5 gives

∆5Xn (∆t)5 −a4 +5a5

∆4Xn (∆t)4 + a3 +4a4 +10a5

∆3Xn (∆t)3 a5(∆t)2 a5∆t

∆2Xn (∆t)2

−a2 +3a3 +6a4 +10a5 a5(∆t)3

+ a1 +2a2 +3a3 +4a4 +5a5 a5(∆t)4

−1+a1 +a2 +a3 +a4 +a5 a5(∆t)5 Xn = − Yn a5(∆t)5 .

ε(t) = − Yn a5(∆t)5 , α1 = −a4 +5a5

a5∆t ,

α2 = 3a3 +4a4 +10a5 a5(∆t)2 , α3 = −a2 +3a3 +6a4 +10a5 a5(∆t)3 , α4 = a1 +2a2 +3a3 +4a4 +5a5 a5(∆t)4 , α5 = −1+a1 +a2 +a3 +a4 +a5 a4(∆t)5 .

When ∆t →0, the fifth-order differential equation becomes

X(5)(t)+α1X(4)(t)+α2X(3)(t)+α3X(2)(t)

+α4X(1)(t)+α5X(t) = ε(t).

Here, X(5)(t) is the rank of the equation, which represents a continuous fifth-order auto-regression model.

2.4 Inversion of the Auto-Regression Model of Rank p: AR(p)

By continuing to find the limits of the displacement factor ∆i, for each i = 1,2,3,4,5, it is possible to design a table for quickly calculating the expansion coefficients of ∆i, for each i = 1,2,..., p, and to obtain the numerical values Zi,j of the coefficients associated with ∆i. Table 1 gives these values for every i = 1,2,..., p and j = 1,2,...,i.

The columns represent the coefficients of Xn,Xn−1,..., and the rows represent the difference operators ∆0,∆1,∆2,.... Here, ∆= (1−B) and B is the backward-shift operator, previously defined by BrXn = Xn−r. The quantity Zi,j is represented by

0 ∑ f=i−1

Zf,j−1 .

Zi,j =

Continuing in a similar way gives AR(p). The inverse operation can be generalized to all p as shown in Table 2.

From Tables 1 and 2, the following relations are deduced:

           (4) Zi,j = |Zi−1,j|+|Zi−1,j−1| for i > 1, j ≥2,          

Zi,j = −i for j = 1,

Zi,j = (−1)i for i = j,

Zi,j = 1 for j = 0,

Zi,j = 0 for i < j, j ≥1, a0 = 1.

Based on Table 1 and the conclusions in Equation (4), the general inversion formula from discontinuous models to continuous models can be obtained. The general formula for finding AR(p) in continuous time is p ∑ i=0

AR(p) :

Si = Yn, (5)

Table 1. Calculation of the coefficients of the difference operator ∆(∆0,∆1,∆2,...)Xn−j.
Table 1. Calculation of the coefficients of the difference operator ∆(∆0,∆1,∆2,...)Xn−j.

a0∆0 Z0,0 = 1 0 0 0 0 0 ··· 0 a1∆1 Z1,0 = 1 −1 0 0 0 0 ··· 0 a2∆2 Z2,0 = 1 −2 1 0 0 0 ··· 0 a3∆3 Z3,0 = 1 −3 3 −1 0 0 ··· 0 a4∆4 Z4,0 = 1 −4 6 −4 1 0 ··· 0 a5∆5 Z5,0 = 1 −5 10 −10 5 −1 ··· ...

Table 2. Representation and generalization of the inverse process Xn−j.
Table 2. Representation and generalization of the inverse process Xn−j.

a0 Z0,0 0 0 0 0 0 ··· a1 Z1,0 Z1,1 0 0 0 0 ··· a2 Z2,0 Z2,1 Z2,2 0 0 0 ··· a3 Z3,0 Z3,1 Z3,2 Z3,3 0 0 ··· a4 Z4,0 Z4,1 Z4,2 Z4,3 Z4,4 0 ··· a5 Z5,0 Z5,1 Z5,2 Z5,3 Z5,4 Z5,5 ··· ...

where i ∑ j=0

Zi,j∆jXn, (6)

Si = ai

0 ∑ f=i−1

Zf,j−1 . (7)

Zi,j =

By dividing Equation (5) by (∆t)p multiplied by the coefficient of ∆pXn, we arrive at the general formula AR(p). To verify that the formula is correct, it is applied to first- and second-order discontinuous-time auto-regression models.

2.4.1 Continuous-Time Auto-Regression Model of the First Order: AR(1)

Let the discrete-time first-order auto-regression model be

Xn −a1Xn−1 = Yn. (8)

Applying Equation (5) for p = 1 gives

1 ∑ i=0

AR(1) :

Si = Yn, and hence

S0 +S1 = Yn. (9)

Applying Equations (4) and (6) to Equation (9) gives

0 ∑ j=0

Z0,j∆jXn = a0Z0,0∆0Xn, ∴S0 = Xn.

S0 = a0

We find S1 as follows:

Z1,0∆0Xn +Z1,1∆1Xn

= a1Xn −a1∆Xn.

S1 = a1

Substituting Si, for i = 0,1, into Equation (9) gives

AR(1) : Xn +a1Xn −a1∆Xn = Yn,

AR(1) : (1+a1)Xn −a1∆Xn = Yn. (10)

Dividing Equation (10) by −a1∆t gives

∆t −1+a1 a1∆t Xn = −Yn

a1∆t ,

which represents the first-order auto-regression equation in continuous time.

2.4.2 Continuous-Time Auto-Regression Model of the Second Order: AR(2)

Let the second-order difference equation be

Xn +a1Xn−1 +a2Xn−2 = Yn. (11)

Substituting p = 2 into Equation (5) gives

2 ∑ i=0

AR(2) :

Si = Yn,

S0 +S1 +S2 = Yn. (12)

For AR(1), both S0 and S1 were found. Applying Equations (4), (6), and (7) to Equation (12) gives

(−1)0Z2,0∆0Xn +(−1)1Z2,1∆1Xn

S2 = a2

+(−1)2Z2,2∆2Xn

= a2Xn −2a2∆Xn +a2∆2Xn.

... ... ...

... ...

Figure 1. The autocorrelation function of the time series of the number of cases of viral hepatitis disease pattern-B for the period 1997–2006.
Figure 1. The autocorrelation function of the time series of the number of cases of viral hepatitis disease pattern-B for the period 1997–2006.

Therefore,

2 ∑ i=0

Si = Xn +a1Xn −a1∆Xn +a2Xn

−2a2∆Xn +a2∆2Xn, which yields

AR(2) : a2∆2Xn −(a1 +2a2)∆Xn +(1+a1 +a2)Xn = Yn.

(13) Dividing Equation (13) by a2(∆t)2 gives

∆2Xn (∆t)2 −a1 +2a2

∆t + 1+a1 +a2 a2(∆t)2 Xn = Yn a2(∆t)2 .

a2∆t

This represents the second-order auto-regression equation in continuous time and is identical to Priestley’s inverse equation.

3. THE PRACTICAL PART

In this research, the time series of viral hepatitis Type-B was studied. It represents the number of people infected with this disease. The data were obtained from the virus division of the main blood bank for the years 1997–2006 at the monthly level. Figure 1 represents the autocorrelation function of the studied series.

From the autocorrelation function in Figure 1, we find that most of the autocorrelation coefficients fall outside the bounds ∓1.96/√n, where n represents the number of observations. This indicates that the series is interconnected but close to the normal distribution, as shown in Figure 2.

Figure 2. Natural time-series graph of the number of viral hepatitis C infections pattern-B for the period 1997–2006.
Figure 2. Natural time-series graph of the number of viral hepatitis C infections pattern-B for the period 1997–2006.

3.1 Modeling

Because the series is unstable, the first difference of the original series was taken, as shown in Figure 3, to convert it into a stable series; further details are given in [2].

Figure 3. Altered time-series graph of the number of viral hepatitis disease infections pattern-B for the period 1997–2006.
Figure 3. Altered time-series graph of the number of viral hepatitis disease infections pattern-B for the period 1997–2006.

The Box–Jenkins method was used to analyze and model the time series of the number of cases of the disease. The method consists of three basic stages: identification, estimation, and diagnostic checking [4].

Using the Statistica-99 program to estimate the parameters of the diagnosed model by the approximate maximumlikelihood method, an auto-regression model of the first rank, AR(1), was obtained. The AIC and BIC (Bayesian Information Criterion) were used as follows:

AIC(m) = nln(σ2 z )+2m, where m is the number of parameters in the model, n is the number of observations, and σ2 z is the residual variance. The best rank is selected by the lowest value of AIC(m).

The BIC criterion is a development of the AIC criterion and is defined as follows [10]:

BIC(m) = nln(σ2 z )+mln(n).

The AR(1) model has the lowest value for the two criteria, so it was selected to represent the series. Table 3 shows the models fitted to the series according to the AIC, BIC, and MSE criteria.

Table 3. Convenient mathematical models of the series ARIMA(p,d,q).
Table 3. Convenient mathematical models of the series ARIMA(p,d,q).

1 1 144 550 556 2 1 140 552 560 3 1 136 554 565 4 1 137 556 570 5 1 131 558 574 6 1 132 560 579

The AR(1) form is expressed by

Xt −0.4498Xt−1 = Zt. (14)

The standard error is 0.08269, and BIC = 556.

3.2 Inverting the Discrete-Time Model to a Continuous-Time Model

Using Tables 1 and 2 and Equations (4)–(7), and because the obtained model is an auto-regression model in discontinuous time, we obtain the following continuous-time autoregression model:

X(1)(t)+α1X(t) = ε(t).

Assuming that ∆t = 0.1, Equation (14) gives a0 = 1, a1 = −0.4498.

Therefore, α1 = 1+a1 a1(∆t) = −12.2321, ε(t) = Yn a1(∆t).

The stationarity condition of the proposed AR(1) model in discontinuous time is |µ| < 1. The characteristic equation of the discrete-time AR(1) model is

λ −0.4498 = 0,

where the root λ1 = µ1. Thus,

λ1 = 0.4498.

We note that |µ1| < 1, which indicates that the series represented by the AR(1) model is stable.

To test the stationarity of the continuous-time auto-regression model, we find its characteristic equation:

λ −12.2321 = 0.

Here, λ1 = µ1 represents the root, giving λ1 = 12.2321.

The stationarity condition for the inverse AR(1) model in continuous time is that the real part of the root be negative, that is, Re(µ1) < 0. The real part of the obtained root is not negative, which indicates that the inverse model is unstable.

References

[1] Ministry of Health and World Health Organization, “Vi-ral hepatitis,” Iraq, 2005.

[2] S. Isa and N. Hashim, “Reversing discontinuous to con-tinuous self-regression models,” Master’s thesis, Faculty of Computer Science and Mathematics, University of Mosul, Iraq, 2009.

[3] A. G. J. Al-Obeidi, “Analysis and modeling of the time series of temperatures in the city of mosul,” Master’s thesis, Faculty of Science, University of Mosul, Iraq, 1989.

[4] S. N. Al-Ajili, “Building a chance model of the num-ber of cases of tuberculosis in salah al-din governorate for the period 1989–2000,” Master’s thesis, Faculty of Education for Girls, Tikrit University, Iraq, 2002.

[5] M. D. The Architect, “A virological and immunological study on patients with viral hepatitis,” Ph.D. dissertation, Faculty of Sciences, University of Mosul, Iraq, 2007.

[6] A. E. Brockwell and P. J. Brockwell, “A class of non-embeddable ARMA processes,” Journal of Time Series Analysis, vol. 20, no. 5, pp. 483–486, 1999.

[7] S. W. He and J. G. Wang, “On embedding a discrete-parameter ARMA model in a continuous-parameter ARMA model,” Journal of Time Series Analysis, vol. 10, no. 4, pp. 315–323, 1989.

[8] M. B. Priestley, Spectral Analysis and Time Series, Vol-ume 1: Univariate Series. London: Academic Press, 1981.

[9] H. Tong and K. S. Chan, “A note on embedding a dis-crete parameter ARMA model in a continuous param-eter ARMA model,” Journal of Time Series Analysis, vol. 8, pp. 277–281, 1987.

[10] W. W. S. Wei, Time Series Analysis: Univariate andMultivariate Methods. Addison-Wesley Publishing Company, 1990.

Cite This Article

Choose your preferred format

format_quote
Jubbori, Taher Ahmed. “On the Problem of Inverting Discrete Self-Regression Models to Continuous Models.” Neutrosophic and Information Fusion, vol. 4, no. 2, 2024, pp. 27–33. https://doi.org/10.54216/NIF.040205.
Jubbori, T. A. (2024). On the Problem of Inverting Discrete Self-Regression Models to Continuous Models. Neutrosophic and Information Fusion, 4(2), 27–33. https://doi.org/10.54216/NIF.040205
Jubbori, Taher Ahmed. “On the Problem of Inverting Discrete Self-Regression Models to Continuous Models.” Neutrosophic and Information Fusion 4, no. 2 (2024): 27–33. https://doi.org/10.54216/NIF.040205.
Jubbori, T.A. (2024) ‘On the Problem of Inverting Discrete Self-Regression Models to Continuous Models’, Neutrosophic and Information Fusion, 4(2), pp. 27–33. Available at: https://doi.org/10.54216/NIF.040205.
Jubbori TA. On the Problem of Inverting Discrete Self-Regression Models to Continuous Models. Neutrosophic and Information Fusion. 2024;4(2):27-33. doi:10.54216/NIF.040205
T. A. Jubbori, “On the Problem of Inverting Discrete Self-Regression Models to Continuous Models,” Neutrosophic and Information Fusion, vol. 4, no. 2, pp. 27–33, 2024, doi: 10.54216/NIF.040205.
policy

Publisher's Note

The statements, opinions, and data presented in this article are solely those of the author(s) and do not necessarily represent those of ASPG, the journal, or its editors. ASPG and the editors disclaim responsibility for any harm arising from the use of any ideas, methods, instructions, or products described in this article, to the fullest extent permitted by applicable law.

Digital Archive Ready