Skip to main content
BMC Public Health logoLink to BMC Public Health
. 2025 Aug 20;25:2855. doi: 10.1186/s12889-025-24125-w

Time series forecasting of infant mortality rate in India using Bayesian ARIMA models

Anuj Singh 1,✉,#, Tripti Tripathi 2,#, Rakesh Ranjan 2, Abhay K Tiwari 3
PMCID: PMC12366141  PMID: 40836230

Abstract

Infant mortality rate (IMR) is a critical indicator of a nation’s health and socio-economic development. It represents the number of deaths per thousand live births during the first year of life. It is widely recognized as an essential metric for assessing the overall well-being of a population, especially in the context of maternal and child health. The study attempts to analyze infant mortality rate data using one of the well-known time series models known as the auto-regressive integrated moving average (ARIMA) model. This article mainly focused on classical as well as Bayesian estimation of the parameters of the model considered. To write the likelihood of the ARIMA model, we have used the approach of Kalman filtering. A Random Walk Metropolis algorithm has been used to deal with analytically intractable posterior results from the ARIMA model. After performing the Bayesian analysis of competent ARIMA models, we have selected the most appropriate model using Akaike’s information criterion (AIC), the Bayesian information criterion (BIC) and K-fold Cross Validation. Kalman forecast has been performed for infant mortality growth rate data to attain the prospective predictions. Finally, a numerical illustration has been provided for the annual IMR growth rate data of India from 1950-2023. Among the competing models, ARIMA(5,1,0) is identified as the best-fitting model with minimum AIC, BIC, mean squared error (MSE) and some other error metrics. Forecasts based on this model predict a steady decline in IMR from 2024 to 2033. These findings underscore the utility of Bayesian ARIMA modeling in demographic forecasting and public health planning.

Keywords: ARIMA model, Random walk metropolis, Model selection, Kalman filtering, Retrospective study, Forecasting

Introduction

Concern about the demographic characteristics (like fertility, mortality, migration etc.) is an important aspect of the advancement of the society. These characteristics always impact the social and economic growth of the nation. The infant mortality rate (IMR) is a vital sign of the socioeconomic progress and general health of a country. IMR, which stands for the number of fatalities per 1,000 live births during the first year of life, is widely accepted as a crucial indicator for evaluating a population’s general health, particularly when it comes to mother and child health.

During the early post-independence period, India faced formidable challenges in healthcare infrastructure, nutrition, and disease control. As a result, the IMR was relatively high. Later, India began to witness some improvements in healthcare delivery systems, with the implementation of national health programs and initiatives aimed at maternal and child health. During this period, IMR showed a gradual decline. However, the pace was very slow. In recent years, India has made further strides in reducing IMR through targeted interventions. This is done by including the National Health Mission (NHM) and schemes aimed at maternal and child health. For healthcare authorities and stakeholders to make well-informed decisions, allocate resources efficiently, and carry out focused actions meant to lower child mortality, accurate and timely infant mortality forecasting is essential. Time series modeling techniques have become more popular recently for predicting the infant mortality rate among other health indicators. Few important references include [1–4].

Selecting the appropriate values for p and q is crucial after differencing data is an important part of fitting ARIMA model. This process typically involves drawing and analyzing the autocorrelation function (ACF) and partial autocorrelation function (PACF) plots of the time series data. ACF is a plot of the correlation between a series and its lagged values, accounting for the correlation contributed by intervening lags. PACF is a plot of the partial correlation of a series with its own lagged values. This method gives a crude value of p and q. Other methods of determining p and q include AIC (Akaike Information Criterion) and BIC (Bayesian Information Criterion).

Checking for stationarity is an essential step in building a good time series model. Differencing the data is used to make the time series stationary. Stationarity in time series data can be checked via visual inspection. However, the augmented Dickey-Fuller (ADF) Test (see [5]) is an important test to confirm the Stationarity. We will discuss the ADF Test later in detail.

While reviewing the literature, we have focused on classical as well as Bayesian time series literature. In classical literature, [4, 6, 7] are few important literature. These three books summarized most of the important articles in the classical time series. Anderson [6] played a pivotal role in the development and popularization of ARIMA models. Their methodology emphasized model identification, estimation, diagnostic checking, and model selection. Box et al. [4] one of the trusted literature in time series. They popularized the Box-Jenkins method to analyze time series data. Hamilton [7] discussed various recent concepts of time series with its detailed proof and theory. Since our objective is perform the Bayesian analysis of the time series data, we have reviewed Bayesian literature in more details.

In contrast to the classical approach, the Bayesian approach, the model parameters (Inline graphic and Inline graphic coefficients) in the ARIMA model are treated as random variables with associated prior distributions. These prior distributions reflect the subject beliefs of experts about the parameters before observing the data. The likelihood of the parameters is then updated using prior distribution via the Bayes Theorem. The updated distribution (i.e. posterior distribution) thus combines the prior information and the likelihood of the data given the parameters. Like the classical approach, in time series literature, the Bayesian approach is also well established. Some important articles include [8–14]. Most of these articles can be considered breakthroughs in the Bayesian analysis of ARIMA models, starting from sophisticated numerical integration techniques. Among these articles [9, 10] introduces Markov chain Monte Carlo simulation in the Bayesian analysis of time series models.

Although the ARIMA model has a variety of benefits, it is also not free from the drawback. One of the major drawbacks of the ARIMA model is the complicity in writing its exact likelihood. To handle this situation, the idea is to express the model in a particular form called state space representation. This representation provides a way to write the exact likelihood of the ARIMA model using an algorithm called Kalman Filter (see, for example, [15]). For a given model and set of observed variables, the Kalman filter produces successive one-step-ahead predictions conditional on the past and concurrent observations. Once we have point estimates for the one-step ahead predictions for the filtered state, we can then also calculate the variance of this filtered state variable.

ARIMA models are widely used in time series forecasting, their application in demographic contexts particularly using Bayesian methods, remains limited. This underutilization is primarily due to two reasons: (1) the analytical complexity of deriving the exact likelihood function for ARIMA models, especially in the presence of differencing and latent states; and (2) the computational challenges associated with Bayesian estimation, which often requires advanced sampling techniques like Markov Chain Monte Carlo (MCMC). Consequently, most demographic studies are based on classical ARIMA or alternative trend-based models.

This study contributes to bridging this gap by applying Bayesian ARIMA modeling to infant mortality data in India. We utilize Kalman filtering to compute the exact likelihood and implement the Random Walk Metropolis algorithm for posterior estimation. By doing so, we demonstrate that Bayesian ARIMA models can provide robust parameter estimates and credible predictive intervals, making them a valuable tool for demographic forecasting and public health planning.

There are a number of articles that present the Bayesian analysis of the ARIMA model for econometric and financial data. When we went through the literature review, we saw a few articles related to Bayesian analysis of ARIMA models for demographic data. However, none of these articles used the exact likelihood for the Bayesian analysis. To fill this gap, in this article, we will provide the Bayesian analysis of the ARIMA model using the exact likelihood. To obtain the exact likelihood, we have executed the Kalman filter algorithm given by [15]. The ARIMA model aims to capture trends and seasonal patterns that influence IMRs over time. Besides capturing the IMR pattern, our objective is also to forecast the infant mortality growth rate of India using the Bayesian approach. Many works have been written in this area. Few important ones are [16–18].

With these objectives, the article is organized as follows. In The model and assumptions section, we provide a detailed explanation of using the ARIMA model with the terminologies. Moreover, this section also explains the determination of order, state space representation and Kalman filter in the ARIMA model. In Bayesian model formulation section, we provided the exact likelihood, prior and posterior distribution of the ARIMA model also we explain the algorithm to deal with the analytically intractable integral of the posterior, the Random Walk Metropolis algorithm. In Bayesian Model selection section, Model selection has been done using information criterion and cross-validation technique. Numerical illustration section provides the numerical illustration based on the IMR dataset taken from World Population Prospects. It includes a retrospective study that evaluates past trends and compares the predictive accuracy of conventional forecasting models with the Bayesian ARIMA model. Additionally, it conducts a forward-looking analysis by forecasting IMR growth for the next decade. Finally, the article concludes with remarks in Conclusion section, followed by a comprehensive set of references.

The model and assumptions

The Auto-regressive Integrated Moving Average (ARIMA) model is a reliable and popular way to extract patterns from time series data. An effective method for analyzing and projecting the behaviour of a stationary time series is the ARIMA(p, d, q) model. The model incorporates auto-regression (AR), Integrated (I) and moving average (MA) components to capture the error terms in the time series data as well as the influence of previous values (see, [4] for details). The AR component considers the relationship between a current observation and its past observations. The AR component involves regressing the current value on its own lagged values. The integrated (I) component involves differencing the time series data to make it stationary. It is important in time series analysis to ensure constant mean and variance over time. The MA component considers the relationship between a current observation and a residual error from a moving average model applied to lagged observations.

Let Inline graphic denotes a times series of n times and Inline graphic. With three components (AR, I, and MA), the regression equation for an ARIMA (p, d, q) model can be expressed as

graphic file with name d33e362.gif 1

In the above equation, Inline graphic are independent Gaussian noise term. Inline graphic and Inline graphic are the AR and MA coefficients, respectively. To perform the analysis in an easy way and write the complete likelihood of the ARIMA model, we can represent it as a state space model. The next subsection will do the same.

Determining the order

Before analyzing time series data, one has to perform two important tasks. First is checking the stationarity and invertibility of the dataset, and second is determining the order of time series. These two are related because only after checking stationarity can we determine the order d, p and q.

In the literature, many tests of stationarity and invertibility are proposed. In this article, we propose to use the Augmented Dickey-Fuller (ADF) test. It tests the null hypothesis that unit root is present in the time series data i.e. time series is non stationary. The test was also advocated by [19]. The ADF test statistic is calculated based on the estimated AR coefficient (Inline graphic) of a regression model that includes lagged differences of the time series. The general form of the ADF test statistic is defined as

graphic file with name d33e412.gif

If the null hypothesis is not rejected, it suggests that differencing the time series (e.g., first difference) may be appropriate to achieve stationarity. If the null hypothesis is rejected, it implies that the time series is stationary and may require further analysis or modeling. And after calculating the test statistic and corresponding p-value, we can make an appropriate decision by accepting or rejecting the null hypothesis.

If the time series is not stationary, we need to make it stationary by differencing the series. If it is stationary, then the order Inline graphic; otherwise, we can make it stationary by taking d differences. In this way, we can determine d. After checking the stationarity and determining d, our next objective is to determine the order p and q of the ARIMA model. ACF and PACF plots of the time series data play an essential role in this case. The ACF plot helps us to select the moving average part q of the ARIMA model. Similarly, the PACF part helps us to determine the order of the auto-regressive part (p) of the ARIMA model. We will discuss this plot and its interpretation in the Numerical illustration section.

State space formulation of ARIMA model

The state space representation is a compatible way to describe the time series models. It expresses a time series model regarding unobserved states and their evolution over time. This representation serves as a convenient form for implementing the ARIMA model. Besides, it also helps to write the exact likelihood of the ARIMA model.

To write the ARIMA (p, d, q) model in (1) into state space form, it is helpful to introduce appropriate Inline graphic’s and Inline graphic’s. A Markov representation is then obtained by defining Inline graphic having a vector Inline graphic with the help of the first-order vector AR model as

graphic file with name d33e495.gif 2

where, Inline graphic is vector of disturbance. The formulation of each variable of the state space model can be understood by a simple example, one can see from [20]. We examine a univariate non-stationary ARIMA model of order p, d, q. The model has Inline graphic and is represented as Inline graphic. Now, let us consider ARIMA (Inline graphic) model. We first examine its state space form using standard notation as

graphic file with name d33e540.gif 3
graphic file with name d33e546.gif 4

and the state vector can be expressed as

graphic file with name d33e553.gif 5

Since Inline graphic is non-stationary and the rests are stationary, therefore the initial vector Inline graphic, where a is constant, and Inline graphic follows the normal distribution with mean 0 and variance Inline graphic. Since Inline graphic is diffuse, it refers to the components of a parameter vector that lack specific constraints or prior information. This results in a broad or diffuse prior distribution, and then the mean vector Inline graphic and the covariance matrix is Inline graphic. where Inline graphic is a large finite number. And

graphic file with name d33e613.gif

and the solution for covariance natrix Inline graphic is

graphic file with name d33e626.gif 6

This is a basic structure using diffuse initialisation to estimate the parameter of interest.

As the goal is to forecast a time series model, leveraging a state space model (SSM) is highly beneficial in constructing a Markov chain of the data through latent processes. These latent processes capture various aspects of the observations. By integrating out the hidden variables, we can calculate a one-step ahead prediction of the observed data [21]. Assuming that the SSM is linear-Gaussian, we can aggregate these processes to explain the observed data. This methodology, based on the approach outlined in [20], utilises the standard form of SSM expressed as

graphic file with name d33e642.gif 7

The above equation is a Measurement equation, where Inline graphic is the observed time series at time t, Inline graphic is an m x 1 vector, and Inline graphic is an m x 1 vector which is usually referred to as the state of the system. Similarly, the state equation can be expressed as

graphic file with name d33e671.gif 8

In the above equation Inline graphic is a vector of unobserved states at time Inline graphic, Inline graphic is an m x m state transition matrix of fixed coefficients that represents how the states evolve over time. The notation Inline graphic is a Inline graphic vector of disturbances assumed to follow a multivariate normal distribution with zero mean and covariance matrix Inline graphic. The dimension of Inline graphic corresponds to that of the state vector Inline graphic, as determined by the state-space formulation and Inline graphic is a matrix that maps the white noise errors to the state space.

The plan is to find the conditional distribution of Inline graphic and Inline graphic for Inline graphic based on all the information given Inline graphic=(Inline graphic). Since the data is assumed to be Gaussian, we are able to carry out prediction and update steps in a straightforward way. With these understandings, we can progress our methodology by employing the Kalman filtering algorithm to obtain the full likelihood of the ARIMA model.

Kalman filter

The Kalman filter is a recursive algorithm that estimates the hidden state of a dynamic system from noisy and incomplete observations. It operates in two key steps: prediction, where past information is used to estimate the next state, and update, where the new observation refines this estimate by weighing uncertainties. This iterative process allows adaptive learning and improved forecasting over time. In time series modeling, particularly in state-space ARIMA models, the Kalman filter enables exact likelihood computation and efficient forecasting, even with partial observations or random noise. Fundamentally, it is a Bayesian inference-based filter that performs state estimation in stochastic processes using observed data.

In this algorithm, the computation of the prior is called the prediction step, and the computation of the posterior is the update step. These two steps are recursive and use the present observation to compute the minimum MSE. Bayesian probability helps us determine what is likely to be true by considering past information. The mechanism of the Kalman filter works backwards on the information provided from the future, back to the past source. Our guiding principle is to retain all available information without discarding any of it. To compute this equation, we have,

graphic file with name d33e772.gif 9

where Inline graphic and Inline graphic, Inline graphic is prediction error of Inline graphic given Inline graphic or innovation term. Inline graphic is the variance of Inline graphic given Inline graphic. Inline graphic is the backwards Kalman gain matrix, which ranges between 0 and 1. This recursion is Kalman filter and once the Inline graphic is established, the predicting state Inline graphic tends to follow the mean and variance as Inline graphic, Inline graphic.

The algorithm can be initialised from Inline graphic, where Inline graphic is the mean vector of the initial state distribution, and Inline graphic is the covariance matrix of the initial state distribution. This backwards pass does not need Inline graphic, and uses less memory. Here, Algorithm 1 is provided below. It is self-explanatory and very easy to apply.

graphic file with name 12889_2025_24125_Figa_HTML.jpg

Algorithm 1 Recursive Routine for Kalman Filter

In the state space representation of the ARIMA time series model, the state space form allows for structuring a model in terms of components, each of which holds a clear and direct interpretation. Also, every element of the model in the state vector involves randomness, and a priori information arises naturally. Therefore, adapting the Kalman filter theory is necessary to address practical challenges in constructing the likelihood function.

Bayesian model formulation

Bayesian formulation of any model depends on two functions: likelihood and prior. Likelihood contains all experimental information, while prior contains subjective information. The posterior distribution is proportional to the likelihood times prior distribution. In the next three subsections, we will explain the likelihood prior and posterior distribution of the ARIMA model.

Likelihood function

In time series data analysis and forecasting, the ARIMA model plays a crucial role. This is perhaps because the use of the ARIMA model during the study period for observable events is more reliable, and one can find a more accurate prediction of an event. To deal with time series data using the ARIMA model, one should carefully consider the likelihood function, taking into account the AR and MA model parameters.

Evaluation of the exact likelihood function of the ARIMA model is not simple. However, one can write the partial likelihood of the ARIMA model in an easy manner. To write the exact likelihood, one can use the results of the Kalman Filter (see, for example, [20]).

Let the initial value of the state space parameter Inline graphic have a Normal density where the mean and variance parameter is assumed to be known as Inline graphic and Inline graphic. Then, using the Kalman filtering methodology, we can construct the likelihood of the ARIMA model as

graphic file with name d33e929.gif 10

In the Eq. (10) Inline graphic and Inline graphic are known and obtained from Kalman Filter. Since the parameter vector Inline graphic consists of q elements, these q elements in Inline graphic are considered diffuse because they are not constrained by specific prior knowledge or assumptions, allowing for a wide range of possible values. Essentially, the dimensionality q indicates the number of parameters in Inline graphic that are unspecified or loosely constrained, contributing to the diffuse nature of the prior distribution associated with Inline graphic. The value of q is crucial in calculating the diffuse log-likelihood, as it accounts for the uncertainty from diffuse components. It is typically linked to the degree of differencing in the model and reflects the dimensionality of poorly specified latent variables, affecting both model flexibility and complexity. Therefore, the diffuse loglikelihood has an additional term as

graphic file with name d33e990.gif 11

The term Inline graphic is explained in 10. The q is typically related to the degree of differencing in models. Inline graphic is not a parameter to estimate, it’s a technical device to express infinite prior variance (a very large number, e.g. 1e5). Moreover, comparable descriptions of the diffuse loglikelihood function have been embraced by [22, 23]. MLE can simply be obtained by maximising the likelihood using a good optimisation method (say, for example, Newton-Raphson Method or Downhill Simplex method). Since our objective is to perform a Bayesian analysis, we will next determine the prior distribution for each parameter.

Prior distribution

In the Bayesian framework, it’s essential to define the prior distribution. The rationale behind the Bayesian approach is to select a prior distribution that aligns with the assumed model and the parameters of interest. The process of selecting a proper prior distribution is a nuanced one that requires careful consideration of available information, expert opinions, and empirical evidence.

By leveraging these insights effectively, one can ensure prior distribution that leads to more informative and robust Bayesian analyses. Selecting a suitable prior entails incorporating pertinent knowledge or beliefs about the parameters, ensuring that the prior distribution conveys this information effectively while also acknowledging the associated uncertainty [24]. One can see [25, 26] for details.

In this problem, we have chosen a proper prior for Inline graphic and Inline graphic for the above-mentioned models. Considering these parameters which falls in real spaces and that follows multivariate normal distribution with the hyperparameter, mean Inline graphic and variance Inline graphic for Inline graphic and for Inline graphic that also follows multivariate normal distribution with the hyperparameter, mean Inline graphic and variance Inline graphic. This can be written as

graphic file with name d33e1085.gif 12
graphic file with name d33e1091.gif 13

To elicit these hyperparameters of the distribution, we use multivariate normal priors for the AR coefficients Inline graphic and the moving average coefficients Inline graphic. The hyperparameters, i.e., the mean vectors and covariance matrices, are selected using an empirical Bayes strategy in the absence of strong subjective prior information. For more details, readers can go through [25].

We have the AR parameters Inline graphic and the MA parameters Inline graphic follow multivariate normal (MVN) distributions:

graphic file with name d33e1128.gif

The prior mean vectors Inline graphic and Inline graphic represent the initial estimates of the parameters, while Inline graphic and Inline graphic are their respective prior covariance matrices. In this study, Inline graphic and Inline graphic are set equal to the corresponding maximum likelihood estimates (MLEs) obtained from classical analysis to incorporate prior knowledge. For the covariance matrices, we assume diagonal structures to reflect prior independence among parameters. Specifically, the diagonal entries of Inline graphic and Inline graphic are carefully chosen to quantify uncertainty in each parameter while maintaining a simplified dependence structure.

graphic file with name d33e1184.gif

Where Inline graphic and Inline graphic are the MLEs of the corresponding parameters. Off-diagonal elements are set to zero. This structure represents a weakly informative prior that allows sufficient flexibility in posterior learning while anchoring the priors around empirically supported values.

Posterior distribution

After specifying the priors, the subsequent step involves deriving the posterior distribution by applying Bayes’ theorem to combine the priors with the respective likelihood. Therefore, by integrating the priors from Eqs. (12 and 13) with the likelihood in Eq. (11), the posterior distribution up to proportionality can be expressed as

graphic file with name d33e1216.gif 14

In the above equation, Inline graphic is the vector of ARIMA parameter. The direct calculation of the posterior as described above presents challenges in obtaining a closed-form analytical solution. Consequently, Bayesian computational techniques offer an alternative approach for numerically extracting relevant information. The Metropolis-Hastings MH) method (in particular, the Random Walk Metropolis Algorithm) is employed to obtain posterior inferences by generating random samples and summary statistics from these samples. In the following section, we delve into the details of this algorithm, focusing on its effectiveness.

Random walk Metropolis (RWM) algorithm

Leading the way to Bayesian computation, we propose to use the random walk Metropolis (RWM) algorithm to simulate parameters from the posterior (14). RWM is one of the MCMC techniques that can be used to draw posterior samples (see, for example [27]). It uses a symmetric proposal distribution, like a normal distribution, to generate a random candidate observation Inline graphic for a given old value of Inline graphic (say Inline graphic). After generating the observation from candidate distribution, the algorithm accepts it with probability

graphic file with name d33e1259.gif

If the algorithm rejects the proposed value, the old value (Inline graphic) is accepted with probability Inline graphic. After running this N number of times, we get the Markov Chain with equilibrium distribution Inline graphic. The generated chain gradually converges to the desired distribution Inline graphic for a large N. Its straightforward implementation is one of the strengths of the RWM algorithm. The detailed algorithm is given in Algorithm 2.

graphic file with name 12889_2025_24125_Figb_HTML.jpg

Algorithm 2 Random walk Metropolis (RWM) algorithm with Gaussian proposal

Algorithm 2 illustrates the mechanism of the Random Walk Metropolis (RWM) algorithm. The step size (Inline graphic) in the Random Walk Metropolis (RWM) algorithm is crucial for balancing efficiency. The optimal acceptance rate of the RWM algorithm is 0.23, and we should adjust the step size to achieve it. After the generation of the chain, one can easily get the posterior summary. For further details of this algorithm, we refer readers to [28–30].

The notation table provided here offers a clear reference for the time series model in Table 1, enhancing readers’ understanding.

Table 1.

Notation and description in time series modeling

Symbol Description
Inline graphic Observed value at time t
Inline graphic Differenced series, Inline graphic
p, d, q Orders of AR, differencing, and MA components in ARIMA
Inline graphic Coefficients of the autoregressive (AR) part
Inline graphic Coefficients of the moving average (MA) part
Inline graphic White noise error terms, assumed to follow Inline graphic
Inline graphic Latent state vector in state-space representation
Inline graphic System matrices in the state-space model
Inline graphic Innovation variance and prediction error in Kalman filter
Inline graphic Large constant used in diffuse prior
Inline graphic Prior distribution
Inline graphic Likelihood function of the data

Bayesian Model selection

After the analysis of the model, it is crucial to select the best model among the different competing models. Obviously, the best model should to used to make predictions and forecast. This step is essential for ensuring that the chosen model effectively reflects the data generation process, enabling reliable insights and predictions. In this article, we have used two well-known model selection criteria for selecting the best model among the other competing models. These are the Akaike Information Criterion (AIC) and the Bayesian Information Criterion (BIC). We will discuss these methods in the next subsections.

Akaike information criterion (AIC)

It is a model selection method based on the likelihood function. The method was proposed by [31]. The AIC is based on the maximized value of likelihood. Besides, it also uses the number of parameters involved in the model as a measure of complexity. Mathematically, AIC can be defined as

graphic file with name d33e1490.gif 15

In the above equation, k is the number of estimated parameters. The symbol Inline graphic indicates the maximum likelihood estimate of Inline graphic. A model with a minimum value of AIC is proffered among the other competing models.

Bayesian information criterion (BIC)

It is another good criterion for model selection proposed by [32]. It has two parts: measure of fit and measure of complexity. Unlike AIC, this criterion gives a different weight to the number of parameters. Mathematically, AIC can be expressed as

graphic file with name d33e1520.gif 16

In the above equation, Inline graphic is the maximum likelihood estimate of parameter vector Inline graphic. Moreover, k is the number of effective (independent) parameters, and N is the sample size. Similar to AIC, a model with the minimum BIC value is the optimal model among the competing models.

K-fold Cross-Validation

K-fold Cross-Validation (CV) is a model evaluation technique which was first introduced by [33]. In K-fold cross-validation, the dataset is divided into K subsets. Each subset/fold is used once as a validation set while the remaining K–1 folds are used for training. This process is repeated K times, and the mean squared error (MSE) is calculated for each fold. The average of these MSEs gives an estimate of the model’s overall predictive accuracy. The mean squared error (MSE) for variable j is computed over all K folds, weighted by the number of observations in each fold:

graphic file with name d33e1556.gif 17

Here, Inline graphic is the total number of observations across all individuals and folds, Inline graphic is the actual observation for individual i on variable j in fold k, and Inline graphic is the predicted value from the model trained without that fold.

Numerical illustration

Some suggested ARIMA models and Bayes estimates for real-world time series data sets are numerically illustrated in this section. The example serves as a key demonstration of how our models work in finding a true state of the system by showcasing the method’s practical utility and relevance to real-life problems. In addition to the analysis, we have also mentioned the forecast for future purposes.

Data source

We have taken a real data set of the IMR for India over the period of 73 years from 1950 to 2023 annually. The data set is given in the form of a time series from World Population Prospects. World Population Prospects is the twenty-seventh edition of official United Nations population estimates and projections that have been prepared by the Population Division of the Department of Economic and Social Affairs of the United Nations Secretariat. It presents population estimates from 1950 to the present for 237 countries or areas underpinned by analyses of historical demographic trends. This latest assessment considers the results of 1,758 national population censuses conducted between 1950 and 2023, as well as information from vital registration systems and 2,890 nationally representative sample surveys (UN-WPP). Table 2 shows the IMR values, and Table 3 shows the IMR growth rate in percentage.

Table 2.

Infant mortality rate in India from 1950 to 2023 (values decrease from left to right)

189.629 186.737 183.846 180.954 178.062 175.171 172.279
169.388 166.496 164.119 161.742 156.989 154.612 152.851
151.091 149.330 147.570 145.809 143.815 141.822 139.828
137.835 135.841 132.832 129.824 126.815 123.807 120.798
117.771 114.743 111.716 108.688 105.661 103.178 100.695
98.213 95.730 93.247 91.019 88.791 86.564 84.336
82.108 79.936 77.764 75.591 73.419 71.247 68.988
66.729 64.471 62.212 59.953 57.854 55.755 53.655
51.556 49.457 47.382 45.307 43.232 41.157 39.082
37.666 36.249 34.833 33.416 32.000 30.924 29.848
28.771 27.695 26.619

Table 3.

Infant mortality growth rate in India (in percentage), 1951–2023

. -1.530 -1.550 -1.570 -1.600 -1.620 -1.650
-1.680 -1.710 -1.430 -1.450 -1.470 -1.490 -1.510
-1.140 -1.150 -1.170 -1.180 -1.190 -1.370 -1.390
-1.410 -1.430 -1.450 -2.220 -2.260 -2.320 -2.370
-2.430 -2.510 -2.570 -2.640 -2.710 -2.790 -2.350
-2.410 -2.460 -2.530 -2.590 -2.390 -2.590 -2.390
-2.450 -2.510 -2.570 -2.640 -2.650 -2.720 -2.790
-2.870 -2.960 -3.170 -3.270 -3.380 -3.500 -3.630
-3.500 -3.630 -3.770 -3.910 -4.070 -4.200 -4.380
-4.580 -4.800 -5.040 -3.620 -3.760 -3.910 -4.070
-4.240 -3.360 -3.480 -3.610 -3.740 -3.890

After understanding the dataset, we have drawn the time series plot of IMR growth rate data and differenced IMR growth rate. These plots are given in Fig. 1.

Fig. 1.

Fig. 1

Time series plots showing IMR growth and differenced IMR growth rate of India from 1951-2023

After plotting the IMR growth data, it can be observed that it is not stationary (see Fig. 1a). However, after differencing it once, we obtain stationarity in Fig. 1b. This shows that we can set Inline graphic. The ADF test also shows that unit root is not present for the first difference. The p-value (=0.31) is also greater than 0.05.

ACF and PACF plots for the given data

Selecting the appropriate values for p and q is crucial in building an effective ARIMA model for a given time series [7]. To determine p and q, we have drawn the ACF and PACF plots as mentioned in Determining the order section. This plotting involves computing the autocorrelation function (ACF) and partial autocorrelation function (PACF) plots of the time series data. ACF is a plot of the correlation of a series with its own lagged values. PACF plot is a plot of the partial correlation between a series and its lagged values, regressed the values of the time series at all shorter lags. ACF and PACF plots of the data are given in Fig. 2.

Fig. 2.

Fig. 2

ACF and PACF plots of the IMR growth dataset after first differencing

The above ACF (see in Fig. 2a) and PACF plots (see in Fig. 2b) are shown with details. Significant autocorrelation spikes at specific lags may indicate periodic behaviour or a strong dependence on past values, as seen at lag 5, which is the highest. Significant spikes at multiple lags may suggest a mix of autoregressive and moving average components, indicating a more complex time series structure in the partial autocorrelation at lags 5 and 10, respectively. Furthermore, these plots provide valuable insights into the temporal dependencies within a time series, aiding in model selection and forecasting. Using all the nearest possible combinations of AR lag, fixing the difference at one time, and other nearest lag possible combinations of MA order, we go for the likelihood estimation and Bayesian estimation as well in the next section.

Classical analysis

The primary aim of the study is to emphasise Bayesian analysis, a crucial aspect of establishing initial values to compute the MLE using the Newton-Raphson method. This initial value helps us to run the algorithm 3.4. In this study, the ARIMA model results from the specified combinations of (p, d, q), namely (5,1,0), (5,1,1), (5,1,2),(5,1,3),(5,1,4),(5,1,5), (0,1,5), (1,1,5), (2,1,5),(3,1,5), (4,1,5) and (5,1,5). Since we have stationarity at the first lag, we have selected d = 1. Although the ACF and PACF plots suggest a lag of 5, we are not very sure about it. Therefore, we have selected these combinations of p and q. We have computed the MLE for the mentioned models, along with their respective standard errors (SE), for the above-selected combinations of p and q in the ARIMA (p, d, q) model, and their AIC and BIC values. The results are shown in Table 4.

Table 4.

MLEs, SE, and model comparison (AIC and BIC) for various ARIMA(p,1,q) model configurations applied to IMR growth data

Order Parameter MLE SE AIC (BIC) Order Parameter MLE SE AIC (BIC)
(5,1,0) Inline graphic -0.07 0.89 18.68 (30.14) (0,1,5) Inline graphic -0.03 0.9 21.59 (33.05)
Inline graphic -0.07 0.89 Inline graphic -0.03 0.91
Inline graphic -0.06 0.89 Inline graphic -0.03 0.98
Inline graphic -0.06 0.88 Inline graphic -0.03 0.96
Inline graphic 0.44 0.94 Inline graphic 0.44 0.85
(5,1,1) Inline graphic -0.1 2.1 20.68 (34.43) (1,1,5) Inline graphic -0.13 2.11 23.59 (37.34)
Inline graphic -0.07 0.92 Inline graphic 0.07 1.89
Inline graphic -0.07 0.91 Inline graphic -0.04 0.91
Inline graphic -0.06 0.91 Inline graphic -0.04 0.95
Inline graphic 0.43 0.96 Inline graphic -0.02 0.97
Inline graphic 0.04 2.32 Inline graphic 0.44 0.86
(5,1,2) Inline graphic -0.11 2.23 22.56 (39.26) (2,1,5) Inline graphic -0.13 2.3 25.26 (41.26)
Inline graphic -0.1 2.2 Inline graphic -0.1 1.95
Inline graphic -0.07 0.95 Inline graphic 0.07 2.09
Inline graphic -0.06 0.95 Inline graphic 0.04 1.76
Inline graphic 0.43 1 Inline graphic -0.03 0.96
Inline graphic 0.04 2.47 Inline graphic -0.02 0.98
Inline graphic 0.03 2.39 Inline graphic 0.44 0.87
(5,1,3) Inline graphic -0.11 2.26 24.23 (44.52) (3,1,5) Inline graphic -0.11 2.12 27.53 (45.55)
Inline graphic -0.09 2.37 Inline graphic -0.16 2.01
Inline graphic -0.08 2.32 Inline graphic -0.17 2.26
Inline graphic -0.06 0.96 Inline graphic 0.05 1.96
Inline graphic 0.43 1.01 Inline graphic 0.1 1.83
Inline graphic 0.04 2.5 Inline graphic 0.11 2.14
Inline graphic 0.03 2.66 Inline graphic -0.03 0.96
Inline graphic 0.02 2.71 Inline graphic 0.43 0.88
(5,1,4) Inline graphic -0.1 2.5 27.23 (49.05) (4,1,5) Inline graphic -0.26 2.13 29.23 (49.85)
Inline graphic -0.1 2.48 Inline graphic -0.25 1.81
Inline graphic -0.08 2.43 Inline graphic -0.28 1.81
Inline graphic -0.09 2.47 Inline graphic -0.33 2.24
Inline graphic 0.43 1.02 Inline graphic 0.19 1.98
Inline graphic 0.03 2.88 Inline graphic 0.18 1.62
Inline graphic 0.03 2.83 Inline graphic 0.21 1.84
Inline graphic 0.02 2.89 Inline graphic 0.26 2.32
Inline graphic 0.03 2.93 Inline graphic 0.42 0.99
(5,1,5) Inline graphic -0.55 1.68 29.19 (54.09) (5,1,5) Inline graphic -0.55 1.68 31.19 (54.59)
Inline graphic -0.42 1.08 Inline graphic -0.42 1.08
Inline graphic -0.28 1.43 Inline graphic -0.28 1.43
Inline graphic -0.61 1.12 Inline graphic -0.61 1.12
Inline graphic -0.43 1.59 Inline graphic -0.43 1.59
Inline graphic 0.45 1.36 Inline graphic 0.45 1.36
Inline graphic 0.33 1.18 Inline graphic 0.33 1.18
Inline graphic 0.18 1.27 Inline graphic 0.18 1.27
Inline graphic 0.64 1.12 Inline graphic 0.64 1.12
Inline graphic 0.89 1.6 Inline graphic 0.89 1.6

From Table 4, it can be seen that the ARIMA models generally show consistent parameter estimates across different parameter specifications, with varying degrees of uncertainty (as indicated by the standard error, SE). Notably, the order (5,1,0) and (0,1,5) models have more stable parameter estimates with relatively lower standard errors compared to higher-order models like (5,1,3), (5,1,4), (5,1,5), where standard errors are larger, indicating less precise estimates. Additionally, the ARIMA models with moving average terms (e.g., order (5,1,1) and (5,1,2)) show slightly higher parameter variability, suggesting increased model complexity that may lead to poor precision.

Besides classical estimates, Table 4 presents AIC and BIC values. Based on these values, we can say that ARIMA models with orders (5,1,0), (5,1,1), (0,1,5) and (1,1,5) are performing better than the others. Also, it is well known that Bayesian analysis is computationally costly, due to the need for repeated likelihood evaluations and high-dimensional sampling using Markov Chain Monte Carlo (MCMC) methods. Each iteration of the Random Walk Metropolis algorithm requires evaluating the full likelihood via the Kalman filter, which increases computational load significantly. Therefore, to ensure tractability and focus on the most promising configurations, we restrict the Bayesian analysis to four models that showed the best performance in the classical model selection phase. Therefore, we plan to perform a Bayesian analysis for these four models only. In the next subsection, we will provide the Bayesian analysis of these four models.

Bayesian analysis

To conduct Bayesian analysis, the initial step involves determining the prior hyperparameters. Since the Bayesian framework relies heavily on prior information, carefully selecting priors is crucial to avoid misleading results. As suggested in Prior distribution section, the most appropriate prior for both the Inline graphic and Inline graphic parameters is the Multivariate Normal (MVN) distribution. We choose the hyperparameters as follows: The MLE Inline graphic of Inline graphic is considered as the prior mean for the respective AR models. The diagonal elements of the prior variance-covariance matrix Inline graphic is 2Inline graphic abs [Inline graphic, Inline graphic,..., Inline graphic]. The non-diagonal elements of Inline graphic are considered to be zero. In the same way, we choose the MLE and diagonal elements of the prior variance-covariance matrix for the Inline graphic parameter of the MA model (details mention in 3.2).

We now proceed to run the RWM algorithm, as discussed in Random walk Metropolis (RWM) algorithm section. The proposal scale, Inline graphic, has been chosen in the algorithm to keep the acceptance rate optimal. The initial values of the chain are set to the corresponding MLE. The algorithm has been run for 5e5 iterations. Under the aforementioned conditions, the optimal acceptance rate ranged from Inline graphic to Inline graphic, indicating a low rejection rate of the algorithm.

Table 5 presents estimated posterior characteristics for different configurations of the models, which have been chosen according to the minimum AIC and BIC values. So, we have chosen four models of order (5,1,0). (5,1,1), (0,1,5), (1,1,5). The posterior summary includes the posterior mean, median, mode, and highest posterior density (HPD) intervals with a 0.95 probability.

Table 5.

Posterior summaries for selected ARIMA(p,1,q) models based on IMR growth data

Order Parameter Mean Median Mode HPD (Interval)
(5,1,0) Inline graphic -0.074 -0.074 -0.075 (-0.215,0.072)
Inline graphic -0.064 -0.064 -0.064 (-0.325,0.192)
Inline graphic -0.066 -0.064 -0.059 (-0.427,0.300)
Inline graphic -0.057 -0.056 -0.056 (-0.167,0.055)
Inline graphic 0.467 0.448 0.411 (-1.18,2.168)
(5,1,1) Inline graphic -0.100 -0.100 -0.101 (-0.301,0.102)
Inline graphic -0.066 -0.065 -0.064 (-0.339,0.211)
Inline graphic -0.067 -0.068 -0.07 (-0.486,0.334)
Inline graphic -0.06 -0.061 -0.062 (-0.174,0.062)
Inline graphic 0.507 0.452 0.341 (-1.356,2.458)
Inline graphic 0.038 0.039 0.04 (-0.102,0.181)
(0,1,5) Inline graphic -0.029 -0.029 -0.028 (-0.084,0.029)
Inline graphic -0.027 -0.027 -0.027 (-0.132,0.082)
Inline graphic -0.024 -0.024 -0.026 (-0.191,0.144)
Inline graphic -0.023 -0.023 -0.023 (-0.067,0.021)
Inline graphic 0.624 0.682 0.797 (-0.969,2.247)
(1,1,5) Inline graphic -0.134 -0.134 -0.134 (-0.382,0.124)
Inline graphic 0.070 0.072 0.077 (-0.208,0.343)
Inline graphic -0.033 -0.034 -0.035 (-0.233,0.167)
Inline graphic -0.036 -0.036 -0.035 (-0.108,0.032)
Inline graphic -0.016 -0.016 -0.017 (-0.078,0.047)
Inline graphic 0.389 0.474 0.643 (-1.433,2.023)

By varying the hyperparameter of prior distributions and comparing the resulting posterior summaries, we observed that the estimates remained largely consistent, indicating robustness of the Bayesian inference. Across the models, the parameter estimates indicate variability in both magnitude and uncertainty. In general, the fifth lag of the AR or MA terms shows relatively larger means and wider HPD intervals, suggesting a stronger or more uncertain contribution at that lag. Comparing models, the ARIMA(5,1,1) and ARIMA(1,1,5) appear to capture richer dynamics due to the inclusion of both AR and MA terms, although some parameters show wide HPD intervals, implying caution in their interpretation.

From Fig. 3 shows the trace plots from 5e5 MCMC iterations show well-mixed, stationary chains for all five parameters, with no visible trends or drifts. The rapid fluctuations indicate low autocorrelation, suggesting good convergence and reliable posterior sampling. This analysis helps identify the most suitable model structure for forecasting while highlighting parameter uncertainty. Further details of this combination of models has been discussed in the next subsection.

Fig. 3.

Fig. 3

Trace plot of the parameters for order (5,1,1)

Bayesian model selection

In order to proceed with model selection, which is to make a comparison among models, and wish to know the best one among four models considered for Bayesian Analysis. We have used the AIC score, BIC score for model selection as discussed in Bayesian Model selection section. Also, K-fold cross-validation (CV) is used to assess the predictive performance of the selected models on simulated time series data. For practical compatibility, K is commonly set to 5 or 10; this study chose K = 10, following [34]. The results are shown in Table 6.

Table 6.

Model comparison based on AIC, BIC, and forecast error metrics

Order (p,d,q) AIC BIC MSE RMSE MAE
(5,1,0) 18.68 30.14 4.72 2.17 1.66
(5,1,1) 20.68 34.43 7.10 2.66 2.12
(0,1,5) 21.59 33.05 4.95 2.23 1.71
(1,1,5) 23.59 37.34 6.19 2.49 1.97

The Table 6 presents a comparative analysis of four Bayesian ARIMA model configurations (5,1,0), (5,1,1), (0,1,5), and (1,1,5)—based on evaluation metrics such as AIC, BIC, MSE, RMSE, and MAE. Among them, the ARIMA(5,1,0) model demonstrates the best performance, having the lowest AIC (18.68), BIC (30.14), and the most favorable error values (MSE = 4.72, RMSE = 2.17, MAE = 1.66). To provide a more comprehensive evaluation of model performance, we also computed Root Mean Square Error (RMSE) and Mean Absolute Error (MAE) for each selected ARIMA model. These metrics offer additional insight into forecast accuracy, with RMSE being sensitive to large errors and MAE providing a more robust view of average forecast deviations. The ARIMA(5,1,0) model outperforms the others across all four criteria—AIC, BIC, RMSE, and MAE—reinforcing its status as the most reliable model for forecasting India’s IMR growth.

However, ARIMA(5,1,0) offers several additional advantages that justify its selection. First, it has a simpler structure with fewer parameters than ARIMA(1,1,5) or ARIMA(0,1,5), which reduces the risk of overfitting and enhances model interpretability. Second, in the Bayesian estimation process, the ARIMA(5,1,0) model demonstrated better convergence diagnostics (e.g., well-mixed trace plots and stable posterior distributions), indicating numerical stability and robustness. These practical and computational considerations, along with its marginally better predictive accuracy, make ARIMA(5,1,0) the most appropriate model for forecasting India’s infant mortality rate in this study.

Retrospective study

This retrospective study examines the trend in interval estimates over the period 2015 to 2023. The intervals represent credible intervals, reflecting changes observed year-over-year. By systematically analysing these intervals, the study aims to understand the longitudinal behaviour of IMR growth rate, offering insights that may support future forecasting or decision-making.

The Table 7 presents forecasted IMR growth rates from 2015 to 2023, each accompanied by a 95% confidence interval. While the predicted values consistently show a decline in IMR growth( in %) over time, the widening confidence intervals (CI), especially in later years, indicate increasing uncertainty in the forecasts. This suggests that although the model anticipates continued improvement, the reliability of long-term predictions decreases as the forecast horizon extends.

Table 7.

Retrospective study of IMR growth rate (in %) for the period 2015 to 2023

Year Growth rate (in %) Interval
2015 -3.18 (-5.14,-1.22)
2016 -3.28 (-5.93,-0.64)
2017 -3.04 (-6.21,0.12)
2018 -3.27 (-6.98,0.45)
2019 -3.15 (-7.22,0.92)
2020 -3.13 (-7.62,1.35)
2021 -3.20 (-8.06,1.66)
2022 -3.13 (-8.32,2.06)
2023 -3.17 (-8.70,2.36)

Again, for validating the model’s accuracy and reliability we are comparing the forecasted IMR growth rates and their confidence intervals with actual observed data is essential. It shows how well the model reflects real trends, whether its uncertainty estimates are appropriate, and helps identify over or underestimations. This comparison also supports model refinement and builds credibility, making the forecasts more meaningful for evidence-based decision-making.

The Table 8 compares actual and forecasted IMR values from 2015 to 2023, along with the absolute error for each year. The results show that the model consistently overestimated IMR across all years, with forecasted values slightly higher than actual figures. While the forecast closely matched actual IMR in 2015 (smallest error: 0.22), the accuracy gradually declined over time, reaching the highest discrepancy in 2023 (1.51). This pattern suggests the model performs better for short-term predictions, but its accuracy diminishes as the forecast horizon extends. Overall, the model demonstrates a reasonable fit, though its tendency to over-predict should be noted for future refinement.

Table 8.

Comparison between actual historical IMR values and forecasted values during the retrospective period (2015–2023)

Year Actual IMR Forecasted IMR Absolute error
2015 36.25 36.47 0.22
2016 34.83 35.27 0.44
2017 33.42 34.19 0.77
2018 32.00 33.08 1.08
2019 30.92 32.03 1.11
2020 29.85 31.03 1.18
2021 28.77 30.01 1.24
2022 27.70 29.06 1.36
2023 26.62 28.13 1.51

Comparing predictive performance

As the purpose of this article is to forecast the IMR growth data using a Bayesian ARIMA model. But for the simplicity of this study, we can go for the Autoregressive(AR) model to predict the same dataset. And also make a comparison of the predictive performance between the common forecasting model and the Bayesian ARIMA model. Since, AR models are ideal for small, stationary datasets, capturing temporal dependence through past values. They’re simple, interpretable, and effective for short-term forecasts, requiring no external inputs.

Bayesian ARIMA provides probability distributions for forecasts, and also requires a more iterative process to find the estimates. Bayesian ARIMA offers enhanced precision by incorporating uncertainty and adaptability. The choice between the two depends on the complexity of the dataset and the need for probabilistic forecasting. To evaluate the comparative performance of the two models, we present Table 9, which reports the IMR values and their growth rates for the same year, along with the corresponding 95% CI for both the AR model and the Bayesian ARIMA model.

Table 9.

Comparison of predictive performance of IMR (per 1,000 live births) and growth rate data for the period of 2015 to 2023

Year AR model Bayesian ARIMA model
IMR Growth rate (in %) Interval IMR Growth rate (in %) Interval
2015 31.03 -0.17 (-1.88,1.52) 36.47 -3.18 (-5.14,-1.22)
2016 28.22 -0.09 (-1.79,1.61) 35.27 -3.28 (-5.93,-0.64)
2017 26.12 -0.07 (-1.78,1.63) 34.19 -3.04 (-6.21,0.12)
2018 37.56 0.44 (-1.27,2.14) 33.08 -3.27 (-6.98,0.45)
2019 33.04 -0.12 (-1.82,1.58) 32.03 -3.15 (-7.22,0.92)
2020 32.52 -0.01 (-1.76,1.73) 31.03 -3.13 (-7.62,1.35)
2021 33.04 0.02 (-1.73,1.76) 30.01 -3.20 (-8.06,1.66)
2022 33.29 0.01 (-1.74,1.75) 29.06 -3.13 (-8.32,2.06)
2023 37.69 0.13 (-1.62,1.87) 28.13 -3.17 (-8.70,2.36)

The Bayesian ARIMA model demonstrates superior forecasting performance compared to the AR model, as shown by significantly lower MSE values averaging 4.3 across 10 folds versus 18.5 for the AR model. Also, its ability to provide probabilistic confidence intervals enhances its reliability in uncertain environments. Compared to the AR model, Bayesian ARIMA delivers more accurate and informative forecasts, especially when accounting for uncertainty and evolving data patterns.

Forecasting

To fulfil the second objective of our study, we have generated forecasts for the subsequent periods based on the fitted time series model. The model captured the underlying patterns and trends in the historical data, and the forecasted values provide an estimate of the expected behaviour moving forward. The result of the point forecast for IMR and IMR growth (in %) with their respective credible interval are summarised in Table 10 for the next decade.

Table 10.

Forecast of IMR (per 1,000 live births) data for the period of 2024 to 2033

Year IMR Growth rate (in %) Interval
2024 25.21 -4.56 (-6.52,-2.60)
2025 24.02 -4.87 (-7.56,-2.17)
2026 22.69 -4.74 (-7.97,-1.51)
2027 21.4 -5.88 (-9.53,-2.22)
2028 20.41 -5.58 (-9.49,-1.67)
2029 19.34 -5.53 (-10.04,-1.01)
2030 18.4 -5.65 (-10.67,-0.63)
2031 17.44 -5.41 (-10.87,0.04)
2032 16.49 -5.95 (-11.81,-0.08)
2033 15.68 -5.81 (-11.96,0.35)

To obtain these patterns, we initially simulated the corresponding posterior and obtained a posterior sample of size 1e5 for the ARIMA(5,1,0) model using available data values. Subsequently, we simulated predictive samples for the remaining unobserved datasets for each value in the simulated posterior sample. The predictive estimates are provided as the corresponding posterior modes based on 100 predictive samples. These samples are used to apply the Kalman filter to predict future observations by using the model’s estimated parameters and current state information.

The forecasted IMR from 2024 to 2033 in Table 10 indicates a consistent downward trend, highlighting gradual improvements in infant mortality rates (IMR). Starting from an IMR of 25.21 in 2024, the rate steadily declines to 15.68 by 2033. The year-over-year growth rate remains negative throughout the period, with the highest reduction observed in 2033 (-5.81%). The output typically includes forecasted values along with their associated uncertainties, which helps with short-term time series prediction.

From Fig. 4 shows that the trend is promising as this persistent decline reflects the potential impact of public health interventions, improved healthcare services, and socio-economic development. The model effectively captures this trend, offering valuable projections for health policy planning and evaluation.

Fig. 4.

Fig. 4

Forecasted IMR growth trend with credible intervals

Conclusion

This paper analyses Bayesian analysis of the ARIMA model using the likelihood and proper prior distribution. The likelihood is obtained using the Kalman filter algorithm. Obviously, the posterior obtained using Bayes’ theorem is analytically intractable. To deal with this issue, we have used the Metropolis algorithm. To determine the order of the ARIMA model, we have used the ADF test, ACF and PACF plots. The model selection has been done for different ARIMA model configurations using AIC, BIC and K-fold Cross-Validation. With the help of this technique, we find the best model for forecasting. Numerical illustration is provided for infant mortality growth data. In this section, we have estimated parameters and selected the best model for the data at hand. After getting the model, we have made retrospective and prospective predictions for IMR growth.

Acknowledgements

The authors thank the anonymous reviewers for their careful reading of our manuscript and their insightful comments and suggestions. The research facility of Dr. Rakesh Ranjan is supported by a seed grant under the IoE Scheme of BHU.

Authors’ contributions

Conceived and designed the research paper: RR and AS; Analyzed the data: TT and RR; Contributed agents/materials/analysis tools: AS, TT, RR and AKT; Wrote the manuscript: TT, AS; All authors read, reviewed and approved the manuscript.

Funding

Not applicable. No funding was received for conducting this study.

Data availability

The data used is a time series of India’s Infant Mortality Rate over 73 years (1950–2023), sourced from the World Population Prospects, 27th edition. It provides official UN population estimates and projections for 237 countries, based on censuses, vital registration, and survey data. The dataset can be accessed at https://population.un.org/wpp.

Declarations

Ethics approval and consent to participate

This study does not involve any human participants or animals directly. Therefore, ethical approval and informed consent to participate were not required. The data used in this study were obtained from publicly available secondary sources (World Population Prospects, United Nations Population Division), and all analyses were conducted in accordance with relevant guidelines and regulations.

Consent for publication

Not applicable.

Competing Interests

The authors declare no competing interests.

Footnotes

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Anuj Singh and Tripti Tripathi contributed equally to this work and are co-first authors.

References

  • 1.Keyfitz N. Choice of function for mortality analysis: Effective forecasting depends on a minimum parameter representation. Theor Popul Biol. 1982;21(3):329–52. [Google Scholar]
  • 2.McNown R, Rogers A. Forecasting mortality: A parameterized time series approach. Demography. 1989;26(4):645–60. [PubMed] [Google Scholar]
  • 3.Lee RD, Carter LR. Modeling and forecasting US mortality. J Am Stat Assoc. 1992;87(419):659–71. [Google Scholar]
  • 4.Box GEP, Jenkins GM, Reinsel GC, Ljung GM. Time series analysis: forecasting and control. 5th ed. Hoboken: Wiley; 2015. [Google Scholar]
  • 5.Dickey DA, Fuller WA. Distribution of the estimators for autoregressive time series with a unit root. J Am Stat Assoc. 1979;74(366a):427–31. [Google Scholar]
  • 6.Anderson OD. Time Series Analysis and Forecasting: Another Look at the Box-Jenkins Approach. J R Stat Soc Ser D (Stat). 1977;26(4):285–303. [Google Scholar]
  • 7.Hamilton JD. Time series analysis. Princeton: Princeton University Press; 2020. [Google Scholar]
  • 8.Monahan JF. Fully Bayesian analysis of ARMA time series models. J Econ. 1983;21(3):307–31. [Google Scholar]
  • 9.Marriott J, Ravishanker N, Gelfand AE, Pai J. Bayesian analysis of ARMA processes: Complete sampling based inference under full likelihoods. Stanford: Stanford University, Department of Statistics; 1993. [Google Scholar]
  • 10.Chib S, Greenberg E. Bayes inference in regression models with ARMA (p, q) errors. J Econ. 1994;64(1–2):183–206. [Google Scholar]
  • 11.Marriott J, Newbold P. Bayesian comparison of ARIMA and stationary ARMA models. Int Stat Rev. 1998;66(3):323–36. [Google Scholar]
  • 12.Kaur H, Ahuja S. Time series analysis and prediction of electricity consumption of health care institution using ARIMA model. In: Pant M, Bansal JC, Nagar A, Deep K, Ojha A, editors. Proceedings of Sixth International Conference on Soft Computing for Problem Solving: SocProS 2016, vol. 2. Singapore: Springer; 2017. p. 347–58.
  • 13.Adebayo FA, Sivasamy R, Shangodoyin DK, et al. Forecasting stock market series with ARIMA model. J Stat Econ Methods. 2014;3(3):65–77. [Google Scholar]
  • 14.Navas Thorakkattle M, Farhin S, Khan AA. Forecasting the trends of covid-19 and causal impact of vaccines using Bayesian structural time series and ARIMA. Ann Data Sci. 2022;9(5):1025–47. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Kalman RE. A new approach to linear filtering and prediction problems. J Basic Eng. 1960;82(1):35–45. [Google Scholar]
  • 16.Bell W, Hillmer S. Initializing the Kalman filter for nonstationary time series models. J Time Ser Anal. 1991;12(4):283–300. [Google Scholar]
  • 17.Xu DW, Wang YD, Jia LM, Qin Y, Dong HH. Real-time road traffic state prediction based on ARIMA and Kalman filter. Front Inf Technol Electron Eng. 2017;18:287–302. [Google Scholar]
  • 18.Aslam M. Using the kalman filter with Arima for the COVID-19 pandemic dataset of Pakistan. Data Brief. 2020;31:105854. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Tripathi PK, Ranjan R, Pant R, Upadhyay S. An approximate Bayes analysis of ARMA model for Indian GDP growth rate data. J Stat Manag Syst. 2017;20(3):399–419. [Google Scholar]
  • 20.Durbin J, Koopman SJ. Time series analysis by state space methods, vol. 38. Oxford: Oxford University Press; 2012. [Google Scholar]
  • 21.Murphy KP. Machine learning: a probabilistic perspective. Cambridge: MIT Press; 2012. [Google Scholar]
  • 22.Harvey AC, Phillips GD. Maximum likelihood estimation of regression models with autoregressive-moving average disturbances. Biometrika. 1979;66(1):49–58. [Google Scholar]
  • 23.Kohn R, Ansley CF. Estimation, prediction, and interpolation for ARIMA models with missing data. J Am Stat Assoc. 1986;81(395):751–61. [Google Scholar]
  • 24.Kass RE, Wasserman L. The selection of prior distributions by formal rules. J Am Stat Assoc. 1996;91(435):1343–70. [Google Scholar]
  • 25.Ranjan R, Sen R, Upadhyay SK. Bayes analysis of some important lifetime models using MCMC based approaches when the observations are left truncated and right censored. Reliab Eng Syst Saf. 2021;214:107747. [Google Scholar]
  • 26.Ranjan R, Upadhyay SK. Classical and Bayesian estimation for the parameters of a competing risk model based on minimum of exponential and gamma failures. IEEE Trans Reliab. 2016;65(3):1522–35. [Google Scholar]
  • 27.Metropolis N, Rosenbluth AW, Rosenbluth MN, Teller AH, Teller E. Equation of state calculations by fast computing machines. J Chem Phys. 1953;21(6):1087–92. [DOI] [PubMed] [Google Scholar]
  • 28.Smith AF, Roberts GO. Bayesian computation via the Gibbs sampler and related Markov chain Monte Carlo methods. J R Stat Soc Ser B (Methodol). 1993;55(1):3–23. [Google Scholar]
  • 29.Upadhyay S, Vasishta N, Smith A. Bayes inference in life testing and reliability via Markov chain Monte Carlo simulation. Sankhyā Indian J Stat Ser A (1961-2002). 2001;63(1):15–40. [Google Scholar]
  • 30.Robert CP, Casella G. Introducing Monte Carlo methods with R, vol. 18. New York: Springer; 2010.
  • 31.Akaike H. Information theory and an extension of the maximum likelihood principle. In: Parzen E, Tanabe K, Kitagawa G, editors. Selected papers of Hirotugu Akaike. New York: Springer; 1998. p. 199–213. [Google Scholar]
  • 32.Schwarz G. Estimating the dimension of a model. Ann Stat. 1978;6(2):461–4. [Google Scholar]
  • 33.Geisser S. The predictive sample reuse method with applications. J Am Stat Assoc. 1975;70(350):320–8. [Google Scholar]
  • 34.Bulteel K, Mestdagh M, Tuerlinckx F, Ceulemans E. VAR (1) based models do not always outpredict AR (1) models in typical psychological applications. Psychol Methods. 2018;23(4):740. [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The data used is a time series of India’s Infant Mortality Rate over 73 years (1950–2023), sourced from the World Population Prospects, 27th edition. It provides official UN population estimates and projections for 237 countries, based on censuses, vital registration, and survey data. The dataset can be accessed at https://population.un.org/wpp.


Articles from BMC Public Health are provided here courtesy of BMC

RESOURCES