<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Modeling of forecasts variance reduction at multiple time series  prediction averaging with ARMA (1, q) functions </article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Danila Musatov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Denis Petrusevich</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>MIREA - Russian Technological University</institution>
          ,
          <addr-line>Prospekt Vernadskogo, 78, Moscow, 119454</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2022</year>
      </pub-date>
      <volume>2022</volume>
      <fpage>0000</fpage>
      <lpage>0003</lpage>
      <abstract>
        <p>   Combination of time series forecasts is usually considered as good technique in practice. But it has got weak theoretical explanation. In this research variance of time series forecasts and variance of combined models are considered. One is interested in the view of variance of forecasts function over one, two and three periods. Conditions which can lead to improvement of averaged time series predictions are in scope of this research. In this paper a few examples of the most popular time series models are observed: the moving average models MA(q), the autoregressions AR(p) models and their combination in the form of ARIMA(p, d, q) or ARMA(p, q) model. In particular, AR(1) and ARMA(1, q) are investigated. Nowadays there are researches about time series averaging. Approaches based on bagging and boosting are implemented very often in classification and regressions. It's very appealing to use such strategy in tine series modeling. At the same time it's easy to construct learning set and test set in classification tasks. But it's a complex task in case of time series processing. There's a need of two sets: to train time series models and to construct their combinations. Thus nowadays combination of time series models, combination of their forecasts or of their prediction intervals are in scope of view of a few complex researches. In this paper we investigate behaviour of time series predictions' variance in order to have another useful approach in time series prediction averaging. Russian macroeconomical time series statistics is used as experimental time series.</p>
      </abstract>
      <kwd-group>
        <kwd>Time series forecasting</kwd>
        <kwd>prediction averaging</kwd>
        <kwd>ARIMA</kwd>
        <kwd>forecast variance</kwd>
        <kwd>information criteria</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction </title>
      <p>Mathematical models used to predict certain value are often used in combinations. The most simple
combination function in case of time series processing is just averaging of all models’ predictions or
selection of the best one [1]. It’s often widely believed that if averaged models are “good” enough and
reflect some part of described process’ behaviour their averaging also leads to a0 “good” model.
Though, mathematical statement of this problem isn’t researched well. There are attempts to choose the
best model [1], to construct mean model [2], to implement bagging strategy to processed models of
certain time series [3, 4]. Selection of the best model is traditional way but in practice there’s always a
lot of models and there’s no mathematically strict way to choose the best one. Then researchers thought
that multiple models can describe various sorts of processed time series behaviour from various points
of view and thus their combination is better than selection of the best one [5-7]. Bagging [8] of time
series is very appealing but complex task. Usually time series models are built in two stages: there’s a
training set used to construct them and a test set to evaluate their quality. But in case of bagging one
needs three parts or training set should be subdivided in some parts to use them in construction of the
models and in evaluation of their combinations [9-11]. In this research combination of forecasts is
investigated from the prediction intervals point of view. Behaviour of prediction intervals is often out
of scope of research in a lot of ensemble models but this question is especially important in case of time
series forecasting [11-12]. In the paper ARIMA models are considered. Though some steps considering
combination of GARCH models (in case if time series is heteroscedastic) have already been done in
[7], combination of heterogeneous models are still in scope of future work. These models are the most
popular but sometimes frequential analysis is also a good tool [13, 14], so further analysis should
consider combinations of such models. Here we get variance of time series forecasts at 1, 2, 3 periods
of time and investigate its behaviour in case of model averaging.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Time series prediction intervals </title>
      <p>In order to evaluate prediction interval one has to transform time series into MA(  ) form. According
to Wald theorem [15] this transformation (also called psi-representation) can be implemented to any
stationary time series. If one treats ARIMA models, stationary process can be achieved with time series
differentiation [16]. Each process in such view can be expressed via infinite (in common case)
summation of moving averages MA(q). Coefficients  j in this series are usually called psi-weights. .
Thus, the simplest case is, of course, handling moving average MA(q) models:</p>
      <p>X t   t 1 t1  ...  q tq .</p>
      <p>
        Here today value of the X time series is expressed via white noises  tq of order less than or equal to q
[16]. These models are already considered in the form when all coefficients are equal to psi-weights.
Thus, variance of these models’ predictions [16] is (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ):
n1 (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) 
Var(xˆn  xn )   2  j2 ,  
j0
here xˆn is a predicted value at time n, xn is a real value of time series,  is a standard error value (got
at learning procedure) and  j   j for MA(q) series. If the assumption of normally distributed errors
is hold, a 95% prediction interval of xˆn is [xˆn 1.96 Var(xˆn  xn ), xˆn 1.96 Var(xˆn  xn )]. Here
variance can be found via psi-weights be means of (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ).
      </p>
      <p>Another significant part of time series models consists of the autoregression AR(p) models. In this
case today value of the X time series depends on its own past values of order less than or equal to p:</p>
      <p>X t  c 1 X t1  ...  q X t p .</p>
      <p>
        Consideration of Wald’s theorem to autoregression processes AR(p) leads to (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ):
 0  1,
 2  1 1  2 ,
 3  1 2  2 1 3.
      </p>
      <p>
        These expressions are recurrent and can be reinterpreted in term of summation (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ):
k (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) 
 k  i k i .  
      </p>
      <p>i1</p>
      <p>And in common case handling ARIMA (p, d, q) models (or ARMA(p, q)) consideration of
psiweights leads to (4):
 2  1 1  2  2 ,
 3  1 2  2 1 3  3.</p>
      <p>
        Thorough analysis of these expressions can be found in [16, 17].
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) 
(4) 
 0  1,
This sum (6) gets finite if |1 | 1 even if n  . Thus, in case of AR(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) process variance of the
forecast over infinite period can be finite number. Logically it’s close to the case of fluctuations with
descending amplitude (7).
      </p>
      <p>In this research we consider AR(p) and ARMA(p, q) models with p&lt;3. The main goal is to express
variance via terms of the models and to explain conditions at which averaging technique is going to
lead its improvement. Here only averaging of the models is taken into account. But the same approach
can be used in case of bagging and non-linear combinations of models. In further calculations and at
averaging stage of experiments all models are supposed to have the same model of seasonality because
this part is non-linear and its summation will lead to models with another complex seasonality.
2.1.</p>
    </sec>
    <sec id="sec-3">
      <title>Variance of the prediction made with AR(1) model </title>
      <p>
        First of all, here AR(p) models are analyzed. Considering the simplest case of AR(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) model
psiweights (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) are elements of geometric progression:
 0  1,
                                                VarAR(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) (xˆ2  x2 )   2 (112 ),
 
VarAR(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) (xˆ1  x1)   2 ,
      </p>
      <p>
        VarAR(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) (xˆ3  x3 )   2 (112 14 ).
      </p>
      <p>
        Variance of prediction over 1 timestep ahead depends only on the standard error of model under
investigation. Plots of these functions for predictions over 2 and 3 timesteps are presented in Figure 2,
Figure 3. They are bulging downward (all degrees are even and there are only plus signs in the
expression (8)). There’s only one minimum (which is global one) in case when 1  0 and its prediction
is also zero. If there are a few models their prediction variances can be various points at plots 1, 2. If
predictions of a few models AR(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) are averaged, one can describe it as averaging of the very models
(because the ARMA(p, q) model is linear). Thus, averaged model can be considered as a new ARMA(p,
q) model with the same orders p, q but different coefficients.
      </p>
      <p>Variance of combined model is lower than variance of the source ones if one moves towards
minimum at plots 1, 2. If there are two models with variances situated at the same side from zero,
variance of their combination will be situated between them. So, in the case of two models one of them
is going to have higher variance and one of them is going to have lower variance than variance of the
combined model. At the same time the combined model is going to have lower level of variance if
variances of the source models are situated from different sides of zero.</p>
      <p>
        Basically, this discourse is true in a case of a lot of models. The variance function (8) is bulging
downward and it has got only one minimum. So, if all models are marked as points at plots 1,2, variance
of averaged model is the same function of averaged parameter. Because variance function is bulging
downward, point marking variance of averaged model is situated under line connecting models with
extreme values of parameter 1 (minimum and maximum).
(5) 
(6) 
(7) 
(8) 
min VarM i  Var iNNM
here M i denotes enumeration of N models of AR(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) type.
Figure 1: Forecast variance of AR(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) model at 2 timesteps ahead  
      </p>
      <p>
        Figure 2: Forecast variance of AR(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) model at 3 timesteps ahead  
      </p>
      <p>But this combination gets the best model (with lower variance) only if equal numbers of models are
situated to the left of zero and to the right of it. This situation can be seen at Figure 3. Thus, averaging
leads to the best model (usually to a “good” model because there’s too much of them) only if all models
are divided into two equal parts: with negative value of 1 and positive ones. Basically, it means that
half of models predict that value of time series is going to be lower and the other ones predict tendency
to grow. Such situation can take place if investigated time series has got complex behaviuor of
researchers haven’t got enough data to make prediction. In case of “usual” situation there’s always some
model better than averaged one (with lower variance). If there’s no tool to choose the best model, the
averaged one is better than worse models. So, it can be used as another tool for prediction and it has got
“good” quality.</p>
      <p>
        Figure 3: Variance of handled AR(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) models (shown with transparent dots) and variance of averaged 
model (black dot) 
2.2.
      </p>
    </sec>
    <sec id="sec-4">
      <title>Variance of the prediction made with ARMA(1, q) model </title>
      <p>Psi-weights of ARMA(1, q) models form geometric progression starting from time q:
 0  1,
 2 1 (1 1)2  (1(1 1)  2 )2  ...  q12  q2 11121n  .</p>
      <p></p>
      <p>Here, the last term denotes sum of the progression starting at q-th psi-function.
2.3.</p>
    </sec>
    <sec id="sec-5">
      <title>Variance of the prediction made with ARMA(1, 1) model </title>
      <p>
        Variances of predictions over 1, 2 and 3 timesteps of ARMA(
        <xref ref-type="bibr" rid="ref1 ref1">1, 1</xref>
        ) model are shown at (13):
VarARMA(
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        ) (xˆ1  x1)   2 ,
(13) 
VarARMA(
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        ) (xˆ2  x2 )   2 1 (1 1)2  ,
 
Var
      </p>
      <p>(xˆ3  x3 )   2 1  (1 1)2 12 (1 1)2  .</p>
      <p>
        ARMA(
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        )
      </p>
      <p>
        First of all, one considers variance of prediction over 2 timesteps ahead. Extreme value of this
function is situated at the point where first derivatives are zeros:
(10) 
(11) 
 
(12) 
(VarARMA(
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        ) (xˆ2  x2 )) |1  (VarARMA(
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        ) (xˆ2  x2 )) |1  2 2 (1 1)  0.   (14) 
It happens if 1  1, predictions of this model ( X t  c 1 X t1 1 t1 ) and its variance are
minimal (it can be seen at plot 4). To check whether this is minimum, one uses the second derivatives:
(VarARMA(
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        ) (xˆ2  x2 )) |12  (VarARMA(
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        ) ( xˆ2  x2 )) |12  (VarARMA(
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        ) ( xˆ2  x2 )) |11  2 2.   (15) 
Hessian of variance is zero:
      </p>
      <p>
        H ARMA(
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        ) (xˆ2  x2 ) 
(VarARMA(
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        ) (xˆ3  x3 )) |12  2 2 (12 1),
(VarARMA(
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        ) (xˆ3  x3 )) |11  2 2 (312  211 1).
 
In case if 1  1 , all derivatives in (18) are equal to 2 2 (12  1) .
      </p>
      <p>Hessian has got the form:</p>
      <p>
        H ARMA(
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        ) (xˆ3  x3 ) 
2 2 (6(1 1) 12 1) 2 2 (312  211 1)
2 2 (312  211 1)
2 2 (12 1)
.  
(19) 
      </p>
      <p>Hessian 2 and minor 1 have got complicated form. But in the case of extreme
1  1 : 1  2 2 (12  1)  0, 2  0. One can’t confirm that case of 1  1 leads to the model
with minimal variance. But it’s clearly seen at the Figure 5.</p>
      <p>Figure 4: Forecast variance of ARMA(1, 1) model at 2 timesteps ahead  
 
Figure 5: Forecast variance of ARMA (1, 1) model at 3 timesteps ahead (13)  
2.4.</p>
    </sec>
    <sec id="sec-6">
      <title>Variance of the prediction made with ARMA(1, 2) model </title>
      <p>
        Variances of predictions over 1, 2 and 3 timesteps of ARMA(
        <xref ref-type="bibr" rid="ref1 ref1">1, 1</xref>
        ) model are shown at (20):
VarARMA(
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ) (xˆ1  x1)   2 ,
(20) 
                                        VarARMA(
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ) (xˆ2  x2 )   2 1 (1 1)2  ,
      </p>
      <p>
        VarARMA(
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ) (xˆ3  x3 )   2 1 (1 1)2  (1(1 1)2  2 )2  .
      </p>
      <p>
        Variance of forecast over 1 and 2 timesteps are the same as in the case of ARMA(
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        ) model (13).
So, all calculations and conclusions made there remain true. The same result is repeated in case of
ARMA(1, q) models, q&gt;2. For predictions over 1, 2 and 3 timesteps variance functions will be the same
as in (20). Differences are expected only for forecasts over more timesteps. In case of prediction over
3 timesteps extreme point is situated in the place where:
      </p>
      <p>
        (VarARMA(
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ) (xˆ3  x3 )) |1  2 2 1 1  (1(1 1)  2 )(21 1)  0,
                            (VarARMA(
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ) (xˆ3  x3 )) |1  2 2 1 1  21(1(1 1)  2 )  0,
 
(21) 
(VarARMA(
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ) (xˆ3  x3 )) |2  2 2 1(1 1)  2   0
      </p>
      <p>
        Substituting the last equation into the first one in the system (21), one gets 1  1 and after that
from the last equation one has got  2  0. So, structure of the model that has got minimal variance of
prediction is the same as in cases of ARMA(
        <xref ref-type="bibr" rid="ref1 ref1">1, 1</xref>
        ) and of ARMA(
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ) but for prediction at 2 timesteps.
Determinant of hessian gets very large and here only values of the second derivatives are shown in
expression (22):
(VarARMA(
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ) (xˆ3  x3 )) |12  2 2 1 2 1(1 1)  2    21 1 2  ,
(22) 
                      
(VarARMA(
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ) (xˆ3  x3 )) |12  2 2 (12 1),
(VarARMA(
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ) (xˆ3  x3 )) |22  2 2 ,
(VarARMA(
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ) (xˆ3  x3 )) |11  2 2 1 1  21 1  1(1 1)  2  ,
(VarARMA(
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ) (xˆ3  x3 )) |12  2 2 21 1 ,
(VarARMA(
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ) (xˆ3  x3 )) |12  2 21.
      </p>
      <p>Structure of hessian after simplification with summation of rows and columns with appropriate
multipliers is presented in (23):
 
 </p>
      <p>It’s positive except solutions of the equations (21). At extreme points it’s zero. This result is close
to the previous cases. There’s a hyperplane at which variation is minimal: 1  1, 2  0. For models
ARMA(1, q), q&gt;2, variance of predictions over 1, 2, 3 timesteps has got the same form as in cases
presented above. Differences are going to appear only in predictions over more timesteps.</p>
    </sec>
    <sec id="sec-7">
      <title>3. Experiments </title>
      <p>The Dynamic series of macroeconomic statistics of the Russian Federation (monthly wage index
and monthly income index) [18] have been handled in the experimental part. Last 12 values of the time
series data have been used as test while the first 300 values were used to train models. In previous part
only ARIMA(1, d, q) models have been handled. So, here they are used as parts of combined model.
At the same time the best model by value of information criteria [16, 17] is also highlighted. In order
to compare forecasts RMSE and MAE metrics of errors are used:</p>
      <p>
        H ARMA(
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ) ( xˆ3  x3 )   6
1(1 1)  2 
2
2
.  
(23) 
(24) 
RMSE 
 ( (t)  ts(t))2
t
      </p>
      <p>N
| (t)  ts(t) |
MAE  t</p>
      <p>.</p>
      <p>N</p>
      <p>Here N is length of test period, τ(t) denotes predicted values of the processed time series, ts(t) is a
part of the investigated time series at the test period (real data).</p>
      <p>
        Two experiments have been performed. In the first one 200 values were used to train models and 12
values to test them. Order of moving average part was limited with 3. Order of the autoregression part
was set to 1. One can see its results in the Table 1. The best model (by value of information criteria) is
ARIMA(
        <xref ref-type="bibr" rid="ref1 ref1">0, 1, 1</xref>
        ) one. It’s marked with bold font in the table.
      </p>
      <sec id="sec-7-1">
        <title>Table 1</title>
        <p>The ARIMA (1, d, q), q&lt;4, models of the wage index </p>
        <p>ARIMA(p, d, q) models  Akaike 
information </p>
        <p>criterion 
ARIMA(1, 1, 0)  1518.43 
ARIMA(1, 1, 1)  1496.72 
ARIMA(1, 1, 2)  1498.41 
ARIMA(1, 1, 3)  1495.42 </p>
        <p>ARIMA(0, 1, 1)  1494.6 </p>
        <p>Combined model  1495.73 </p>
        <p>
          Among four tested models there are signs of terms: 1  0 one time and 1  0 3 times,  1  0 one
time and  1  0 2 times (for ARIMA(
          <xref ref-type="bibr" rid="ref1 ref1">1, 1, 0</xref>
          ) it’s zero), there’s one positive  2 term and one negative.
So, theoretically averaging is expected to achieve “good” results. One can see that combined model
looks very close to the ARIMA(
          <xref ref-type="bibr" rid="ref1 ref1 ref3">1, 1, 3</xref>
          ) model and it’s better than other ones (of 1st order) by value of
Akaike information criterion and by quality of forecast at tested period. Especially it exceeds results of
the worst model ARIMA(
          <xref ref-type="bibr" rid="ref1 ref1">1, 1, 0</xref>
          ) . The best model has got different orders and wasn’t used in
combination but its results are close to the combined model and to the ARIMA(
          <xref ref-type="bibr" rid="ref1 ref1 ref3">1, 1, 3</xref>
          ) one.
,
 
        </p>
        <p>In the second experiment models ARIMA(1, d, q), q&lt;6, were used. Length of the training set was
300 values. Volume of the training set was also 12. Its results are shown in the Table 2.</p>
        <p>Here one can see that the combined model is better than the worst ones but is worse than the best
models. In this case almost all terms in various models have got the same signs. That’s why averaging
doesn’t give results close to the best ones. But it’s far better than the worst models used in combination.</p>
        <p>The same experiment as presented in the Table 1 has been done in case the income index [18].</p>
        <p>
          Among four tested models with orders q&lt;4 there are signs of terms: 1  0 2 times and 1  0 also
2 times,  1  0 3 times (for ARIMA(
          <xref ref-type="bibr" rid="ref1 ref1">1, 1, 0</xref>
          ) it’s zero),  2  0 for the both models with non-zero MA(
          <xref ref-type="bibr" rid="ref2">2</xref>
          )
term. Here, we expect that averaging is going to be good practice because signs of AR(
          <xref ref-type="bibr" rid="ref1">1</xref>
          ) part vary.
Results are shown in the Table 3.
        </p>
      </sec>
      <sec id="sec-7-2">
        <title>Table 3</title>
        <p>The ARIMA (1, d, q), q&lt;4, models of the income index </p>
        <p>ARIMA(p, d, q) models  Akaike 
information </p>
        <p>criterion 
ARIMA(1, 1, 0)  1742.29 
ARIMA(1, 1, 1)  1685.3 
ARIMA(1, 1, 2)  1676.16 
ARIMA(1, 1, 3)  1678.15 </p>
        <p>ARIMA(2, 1, 2)  1678.15 
Combined model  1678.15 </p>
        <p>There are a few models better than the best one (chosen by values of combination of information
criteria). Again in case of a lot of models the combined model shows results which are better than some
models (the worst ones) and worse than some of them (the best ones by quality of prediction).</p>
        <p>Also, again one can see that parameters of combined models are close to traits of the model with the
highest order of moving average part. Various approaches to averaging technique have also been tested
in [2].
4. Conclusion</p>
        <p>
          In this research averaging of predictions of ARIMA(p, d, q) time series models is investigated. To
describe variance of various time series models it has been expressed in form of psi-weights for AR(
          <xref ref-type="bibr" rid="ref1">1</xref>
          )
and ARMA(1, q) models. It should also be mentioned that MA(q) series have already got appropriate
form and their coefficients are equal to psi-weights. Having got explicit form of prediction variance
over 1, 2, 3 periods of time it’s possible to find models with the lowest variance and to evaluate whether
averaging leads to improvement of prediction. Models AR(
          <xref ref-type="bibr" rid="ref1">1</xref>
          ), ARMA(
          <xref ref-type="bibr" rid="ref1 ref1">1, 1</xref>
          ) and ARMA(
          <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
          ) have been
considered. Models ARMA(1, q), q&gt;2, have got the same variance of prediction as in considered cases.
Differences in their structure are going to appear only for predictions over more timesteps.
        </p>
        <p>If there‘s a few models averaged one can be the best. It happens when models predict various
behaviour of investigated time series. In common case averaged model has got variance better than the
worst model by variance and worse than the best one (expression (9)). These results are based on the
form of variance of prediction function. It’s shown that for models ARMA(1, q) it’s bulging downward.
Thus, combined models are going to give the best results or close to the best ones in case when there
are equal number of terms with various signs (terms with large modules are the most important because
they’ve got larger weights in averaging). This situation may take place if investigated time series is
difficult for analysis and forecasting and models at hand predict various behaviour (in case of models
with low orders; if orders increase, some terms in models have got various signs).</p>
        <p>Time series from the Russian macroeconomical statistics [18] have been used as test data for
computational experiments. Combined models are always better than the worst models. So, they can be
used as another tool of analysis. In some cases results of combined models are close to results of the
best ones.</p>
        <p>Nowadays this theme is very important and there are papers on averaging and bagging of time series
predictions, bagging with use of non-linear functions of time series terms [3, 4, 9-11,19-21]. In future
work bagging of time series and averaging of ARMA(p, q) models with higher orders of autoregression
parts (p&gt;1) are going to be investigated.</p>
      </sec>
    </sec>
    <sec id="sec-8">
      <title>5. References </title>
      <p>[4] K. Chen, Y. Peng, S. Lu, B. Lin, X. Li, Bagging based ensemble learning approaches for modeling
the emission of PCDD/Fs from municipal solid waste incinerators, Chemosphere 274 (2021)
129802. doi: 10.1016/j.chemosphere.2021.129802.
[5] R. J. Hyndman, R. A. Ahmed, G. Athanasopoulos, H. L. Shang, Optimal combination forecasts
for hierarchical time series, Computational Statistics &amp; Data Analysis 55.9 (2011) 2579-2589. doi:
10.1016/j.csda.2011.03.006.
[6] N. Shafik, G. Tutz, Boosting nonlinear additive autoregressive time series, Computational</p>
      <p>Statistics &amp; Data Analysis 53.7 (2009) 2453-2464 doi: 10.1016/j.csda.2008.12.006.
[7] J. M. Matías, M. Febrero-Bande, W. González-Manteiga, J.C. Reboredo, Boosting GARCH and
neural networks for the prediction of heteroskedastic time series, Mathematical and Computer
Modelling 51.3-4 (2010) 256-271. doi: 10.1016/j.mcm.2009.08.013.
[8] L. Breiman, Random forests, Machine Learning 45 (2021) 5-32. doi: 10.1023/A:1010933404324
[9] M. H. Dal Molin Ribeiro, L. dos Santos Coelho, Ensemble approach based on bagging, boosting
and stacking for short-term prediction in agribusiness time series, Applied Soft Computing 86
(2020) 105837. doi: 10.1016/j.asoc.2019.105837.
[10] F. Petropoulos, R.J. Hyndman, C. Bergmeir, Exploring the sources of uncertainty: Why does
bagging for time series forecasting work?, European Journal of Operational Research 268.2 (2018)
545-554. doi: 10.1016/j.ejor.2018.01.045.
[11] E. Meira, F. L. C. Oliveira, J. Jeon, Treating and Pruning: New approaches to forecasting model
selection and combination using prediction intervals, International Journal of Forecasting 37.2
(2021) 547-568. doi: 10.1016/j.ijforecast.2020.07.005.
[12] S. Pellegrini, E. Ruiz, A. Espasa, Prediction intervals in conditionally heteroscedastic time series
with stochastic components, International Journal of Forecasting 27.2 (2011) 308-319. doi:
10.1016/j.ijforecast.2010.05.007.
[13] K. A. Boikov, M. S. Kostin, G. V. Kulikov, Radiosensory diagnostics of signal integrity in-circuit
and peripheral architecture of microprocessor devices, Russian Technological Journal (In Russ.)
9.4 (2021) 20-27. doi: 10.32362/2500-316X-2021-9-4-20-27.
[14] N. M. Legkiy, N. V. Mikheev, Selection of location of radiators in a non-equivident antenna
array, Russian Technological Journal (In Russ.) 8(6) (2020) 54-62. (In Russ.) doi:
10.32362/2500316X-2020-8-6-54-62.
[15] H. Wald, A study in the analysis of stationary time series, 2nd edition, Almqvist and Wiksell Book</p>
      <p>Co., Uppsala, 1954.
[16] R. J. Hyndman, G. Athanasopoulos, Forecasting: principles and practice, 2nd edition, OTexts,</p>
      <p>Melbourne, Australia, 2018.
[17] J. H. Stock, M.W. Watson, Introduction to Econometrics, Pearson, 2019.
[18] Dynamic series of macroeconomic statistics of the Russian Federation. Wage index, income index,
2021. URL: http://sophist.hse.ru/hse/nindex.shtml
[19] S. F. Stefenon, M. H. Dal Molin Ribeiro, A. Nied, K.-C. Yow, V .C. Mariani, L. dos Santos Coelho,
L.O. Seman, Time series forecasting using ensemble learning methods for emergency prevention
in hydroelectric power plants with dam, Electric Power Systems Research 202 (2022) 107584. doi:
1016/j.epsr.2021.107584.
[20] M. Larrea, A. Porto, E. Irigoyen, A.J. Barragán, J.M. Andújar, Extreme learning machine ensemble
model for time series forecasting boosted by PSO: Application to an electric consumption problem,
Neurocomputing, 452 (2021) 465-472. doi: 10.1016/j.neucom.2019.12.140.
[21] R. Godahewa, K. Bandara, G. I. Webb, S. Smyl, C. Bergmeir, Ensembles of localised models for
time series forecasting, Knowledge-Based Systems 233 (2021) 107518. doi:
10.1016/j.knosys.2021.107518.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>P.</given-names>
            <surname>Hansen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Lunde</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Nason</surname>
          </string-name>
          ,
          <article-title>Model confidence sets for forecasting models</article-title>
          ,
          <source>Econometrica</source>
          <volume>79</volume>
          .2 (
          <year>2005</year>
          )
          <fpage>453</fpage>
          -
          <lpage>497</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>D.</given-names>
            <surname>Petrusevich</surname>
          </string-name>
          ,
          <article-title>Improvement of time series forecasting quality by means of multiple models prediction averaging</article-title>
          , in: E. Semenkin, I. Kovalev (eds.),
          <source>Proceedings of the III International Workshop on Modeling, Information Processing and Computing (MIP: Computing-2021)</source>
          ,Volume
          <volume>2899</volume>
          ,
          <string-name>
            <surname>Krasnoyarsk</surname>
          </string-name>
          , Russia,
          <year>2021</year>
          , pp.
          <fpage>109</fpage>
          -
          <lpage>117</lpage>
          . doi:
          <volume>10</volume>
          .47813/dnit-mip3/
          <fpage>2021</fpage>
          -2899-109-117.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>W.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Jiang</surname>
          </string-name>
          ,
          <article-title>A novel method for time series prediction based on error decomposition and nonlinear combination of forecasters</article-title>
          ,
          <source>Neurocomputing</source>
          <volume>426</volume>
          (
          <year>2021</year>
          )
          <fpage>85</fpage>
          -
          <lpage>103</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.neucom.
          <year>2020</year>
          .
          <volume>10</volume>
          .048.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>