scieee AI-readable full text Open interactive document viewer

Forecasting commercial vehicle production using quantitative techniques

Toppur, Badri,Thomas, T. C.,González-Tejero, Cristina Blanco,Gavrila Gavrila, Sorin

Abstract

EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.

Full text

Toppur, Badri; Thomas, T. C.; González-Tejero, Cristina Blanco; Gavrila Gavrila, Sorin Article Forecasting commercial vehicle production using quantitative techniques Contemporary Economics Provided in Cooperation with: VIZJA University, Warsaw Suggested Citation: Toppur, Badri; Thomas, T. C.; González-Tejero, Cristina Blanco; Gavrila Gavrila, Sorin (2023) : Forecasting commercial vehicle production using quantitative techniques, Contemporary Economics, ISSN 2300-8814, University of Economics and Human Sciences in Warsaw, Warsaw, Vol. 17, Iss. 1, pp. 10-23, https://doi.org/10.5709/ce.1897-9254.496 This Version is available at: https://hdl.handle.net/10419/297618 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by/4.0/ www.ce.vizja.pl 10 This work is licensed under a Creative Commons Attribution 4.0 International License. Firms selling commercial vehicles often face difficulties due to recessions in the globalized economy. Manufacturers are keen to anticipate demand in future quarters to optimize their production schedules. In this study, commercial vehicle production data from a leading Indian automotive manufacturer were analyzed using moving averages, exponential smoothing, seasonal decomposition and autoregressive integrated moving average (ARIMA) models with the goal of forecasting. The results reveal that the ARIMA (0,1,1) model effectively predicts the sectoral downturn coinciding with the global financial crisis of 2008. As life returns to normal after the financial crisis caused by COVID-19, such models may be used to strategically move past the disruption. 1. Introduction1. Introduction The present study is carried out using a dataset made available by a leading automotive company with advanced engineering and manufacturing capabilities and a local source network. The company designs, manufactures and markets conventional braking products, advanced braking systems, and related air-assist- ed products and systems, directly serving customers locally and internationally. The company has a major share of the original equipment manufacturer (OEM) market in India as well as the domestic after-sales market, which it serves through a strong and very wide distribution network. Almost 75% of the company’s sales are from original equipment manufacturers. Any uncertainty in commercial vehicle production has a significant effect on company sales, as the company depends heavily on this segment. Management is interested in forecasting vehicle sales and controlling production using a study of the trends in the Indian economy, the commercial vehicle industry scenario, a field survey with fleet operators to gauge market scenarios, a vehicle production forecast, and an original equipment sales forecast. The company collected data from various OEMs about factors affecting the industry, such as commercial vehicle production, freight rate, diesel prices, emission norms, and the prime lending rate (PLR). In this study, we used 195 observations from approximately sixteen years of records. Table 1 displays a few of the rows of the dataset. Figure 1 shows the time series plot of the commercial vehicle production over a period of 195 months. It is observed that there is a dip around month no. 165, which is uncharacteristic of the overall time series but corresponds in time to the global finance crisis of 2006-08. Although the global crisis was reported as being primarily concerned with housing finance in the USA, it appears to have impacted the banking sector and many other sectors in other countries. In this study, we used traditional techniques to Forecasting Commercial Vehicle Production Using Quantitative Techniques ABSTRACT C22, B23, G01 KEY WORDS: JEL Classification: demand forecasting, Python programming language, seasonal decomposition, Box-Jenkins methodology. 1 Rajalakshmi School of Business, Chennai, India 2 Economics and Business Management Department, University of Alcalá, Madrid, Spain Correspondence concerning this article should be addressed to: Badri Toppur, Rajalakshmi School of Business, Kuthambakkam Post, NH-4, Chembarambakkam, Chennai 600124, India . E-mail: [email protected].in Badri Toppur1 and T. C. Thomas1 Guest editors: Cristina Blanco González-Tejero2 and Sorin Gavrila2 Primary submission: 21.01.2022 | Final acceptance: 02.02.2023 11 Badri Toppur, T. C. Thomas 10.5709/ce.1897-9254.496DOI: CONTEMPORARY ECONOMICS Vol. 17 Issue 1 10-232023 forecast commercial vehicle sales over that historical period. Figure 2 shows that there is a significant correlation between the original series and lagged values of the series. This correlation indicates the suitability of applying time series methodology to the problem. The Box‒Jenkins methodology was used to specify and fit ARIMA models. The study concludes that, based on common forecasting error measures such as the mean absolute percentage error (MAPE) and mean squared error (MSE), the double exponential smoothing method forecasts the series in the disrupted period better than any of the moving average methods. The Box‒Jenkins method, although more complex than simple moving averages and double exponential smoothing, predicts the downturn in the company’s revenue well using various criteria for comparing models such as the Akaike information criterion (AIC) and the Schwarz Bayesian information criterion (BIC). The fact that the downturn in the vehicle company’s time series coincided with the housing finance crisis, whereas the price of diesel remained unaffected, suggests that many commodities in the category of high-priced consumer durables are affected simultaneously in a global financial crisis, whereas demand for fast moving consumer goods (FMCG) is relatively inelastic. This paper is organized as follows. Section 1 presents the introduction to the problem, followed by the literature review in Section 2. Section 3 explains the methodology used; Sections 4 and 5 present the results and their discussion, respectively. Conclusions and recommendations are presented in Section 6, followed by the limitations of the study in Section 7. 2. Literature Review2. Literature Review There have been positive and negative consequences of globalization, and it is a subject of ongoing debate among economists. Globalization has created employment opportunities worldwide, which is a plus. The insistence on unbalanced free trade agreements has also created some problems for thirdworld countries. Stiglitz (2012) puts market economics and the globalization phenomenon in an accurate perspective for developing countries and discusses the financial crisis in East Asia. Wilczyński (2011) presents another view of the International Monetary Figure 1 Time Series of Length 195 Source: R package TSA www.ce.vizja.pl 12 Forecasting Commercial Vehicle Production Using Quantitative Techniques This work is licensed under a Creative Commons Attribution 4.0 International License. Figure 2 Scatterplot of Production vs. First Lag of Production Source: R package TSA Table 1 Head of the Dataset Period Production Index of Industrial Production Diesel Price Freight Index Prime Lending Rate 1 6224 115.3 6.99 100.00 16.50% 2 8262 114.9 7.02 100.50 16.50% 3 10003 113.0 7.13 101.25 16.50% 4 10567 116.6 7.08 107.81 16.25% 5 10793 116.7 7.20 113.45 16.25% 6 11811 120.0 7.28 124.59 16.25% 7 9393 116.9 7.32 121.88 16.00% 8 10811 123.1 7.37 153.85 15.50% 9 11382 132.5 7.40 122.09 15.00% 10 11061 135.1 7.38 127.03 15.00% 11 10785 131.8 7.40 122.09 15.00% 12 17176 144.2 7.41 121.46 15.00% 13 9195 128.4 7.43 113.84 15.00% 14 9295 129.8 7.46 112.90 15.00% 15 11459 124.3 7.49 112.06 15.00% 13 Badri Toppur, T. C. Thomas 10.5709/ce.1897-9254.496DOI: CONTEMPORARY ECONOMICS Vol. 17 Issue 1 10-232023 Fund (IMF) that was criticized by Stiglitz for its ideological implementation of policies. Globalization has created many interdependencies between the banking systems of different countries. This sectoral study is from the times of the global financial crisis (GFC) of 2007-09. The banking crash caused by the aggressive housing finance in the USA had repercussions in the stock markets and on many foreign banks that were exposed to it. Through the banking system, the GFC affected many industrial sectors, including manufacturing. It is considered to have been as severe as the Great Depression of the 1930s. The impact of the crash in a few regions outside the US can be visualized through the bank reports of France and Australia, as presented below. As described by the Banque de France (2008), “Falling house prices in the USA from 2006, coupled with a gradual rise in interest rates, caused large numbers of borrowers to default on their loans, which in turn resulted in failures by mortgage lenders. The major US banks that either financed these institutions or were shareholders in them also suffered losses and asset impairment. Consequently, the problems on the mortgage lending market swiftly turned into a global financial and stock market crisis. The crisis spread to other regions of the world and other banking systems because of the massive securitization of subprime loans, which became extremely popular owing to their high rates of return.” According to the Reserve Bank of Australia (2012), “Australia did not experience a large economic downturn or a financial crisis during the GFC. However, the pace of economic growth did slow significantly, the unemployment rate rose sharply, and there was a period of heightened uncertainty. The relatively strong performance of the Australian economy and financial system during the GFC, compared with other countries, reflected a range of factors, including the fact that Australian banks had very small exposures to the US housing market and US banks, partly because domestic lending was very profitable. Subprime and other high-risk loans were only a small share of lending in Australia, partly because of the historical focus on lending standards by the Australian banking regulator (the Australian Prudential Regulation Authority [APRA]). Australia's economy was buoyed by large resource exports to China, whose economy rebounded quickly after the initial GFC shock (mainly due to expansionary fiscal policy).” These extracts show that the GFC did not greatly affect all countries, but only those that had considerable financial institution linkages to the US. The securitization mentioned in the first quotation occurred through mortgage-backed securities (MBSs) that were sold in the US and many European countries. In truth, many of the mortgages were extremely risky, and some were valued at more than the price of the homes. Vali’s (2014) book on mathematical economics stimulates interest in the analysis of mortgage financing. The book’s preface notes that “A 1993 Nobel Prize in Economics was awarded to Robert Fogel of the University of Chicago and Douglass North of Washington University, both economic historians, for their contribution to the application of quantitative methods to the field of economic history. Fogel and North advanced ‘Cliometrics’, a new quantitative technique for analyzing historical data and solving historical puzzles.” A chapter in this textbook discusses refinancing options and equal monthly installments (EMIs) for long-term loans or mortgages. It demonstrates that a new plan offering lower interest rates may not always be beneficial and that there are some conditions—regarding the principal and interest that one has already paid—that must be met if refinancing the remaining part of the loan or mortgage is to truly benefit the investor. Thus, a well-intentioned economic practice such as lending to economically weaker sections (EWSs) may cause a global crisis if the bank is not careful. The coronavirus pandemic has had a tremendous impact on the world economy, and although evidently a health crisis, this impact suggests that there are some similar compelling and widespread practices, perhaps not directly economic, that have precipitated it. Skare and Stjepanović (2016) have discussed business cycles with the aim of identifying the determinants. They note that although frameworks exist for measuring business cycles, none are perfect. Frequency domain analysis is an option for detecting cycles, for example, in world GDP. Historically, classical economists have denied business cycles outside of a war situation. Currently, business cycles are considered to be caused by technological shocks, shocks specifically in the oil industry, or financial or mon- www.ce.vizja.pl 14 Forecasting Commercial Vehicle Production Using Quantitative Techniques This work is licensed under a Creative Commons Attribution 4.0 International License. etary shocks in general. In another interesting article, Makovský (2018) examines Mankiw’s puzzle about the growth of durable consumption during a recession. This study examines the scrapping of old cars and new car registration data from recession periods in a few European economies. Sinković et al. (2021) monitored economic indicators in the context of financial and economic crises. They looked specifically at the federal interest rates in the US before, during and after the Great Depression. They also studied the changes in economic variables such as GDP, inflation, consumer prices, federal debt and the S&P 500 index in the period of the great recession of 2007–2009 and the recent COVID-19 crisis. Anderson (1977) has explained the basic difference between time series analysts and other statisticians. Time series analysts are interested in the correlation between values at separate times to forecast future values of the series. In probability and statistics, however, one often assumes or proves the independence of the random variables, such as in regression techniques. Another paper explains the basics of the Box‒ Jenkins methodology, dwelling on the difficult choice of parameter values for the various models. Here, the ramifications of the p + q ≤ 2 inequality are explored, where p and q are the parameters of the autoregressive moving average (ARMA) models. In the literature, one can find models that have p = q = 6, for example, in Viccione et al. (2020). To determine the best values for p and q, measures such as AIC, BIC, and the Hannan-Quin information criterion (HQIC) are used. Johansen (2011) also warns against the use of regression and correlation methods with nonstationary data and compares them unfavorably to cointegrated vector autoregression models. Differencing the time series is a method used to address stationary time series, as explained by Pradhan and Kumar (2021). P. Selva (2019) wrote a tutorial on time series analysis using Python. James et al. (2013) describe the basics of data analysis in the text Elements of Statistical Learning. Their discussion of flexible and inflexible models with respect to degrees of freedom and the effect of that decision on training and test mean square error (MSE) is quite illuminating. Render et al. (2009) explain the various forecast error formulae. Time series analysis using the R language is described in the revised edition of Cryer and Kung-Sik Chan (2008) with the associate R package for time series analysis called TSA. Jin Lian and Ling He (2018) document an optimization method for selecting the α parameter for exponential smoothing. The state of the art in forecasting can be found in the paper by T. M. Dantas and F. L. Cyrino Oliveira (2018), which details an approach combining bootstrap aggregation, clusters, and exponential smoothing. Byeongchan Seong (2020) recently developed vector exponential smoothing. Slawek Smyl (2020) created a hybrid method of exponential smoothing and recurrent neural networks. The literature reviewed thus far explains the theoretical concepts of the various statistical approaches used for forecasting, whereas the following briefly presents their specific applications. Ampountolas (2021) used SARIMAX, neural networks, and GARCH models to forecast daily hotel demand. Benvenuto et al. (2020) applied the ARIMA model to COVID-19 epidemic data. Chen and Yu (2012) examined the global financial crisis of 2008. Chodakowska et al. (2021) used ARIMA models in electrical load forecasting. Duan et al. (2022) attempted to predict gas well production using ARIMA-RTS models. Fan et al. (2021) used ARIMA-LSTM models, which also performed well in production forecasting. Fattah et al. (2018) forecast the demand for food products. Giri et al. (2022) developed a deep learning model for demand forecasting in the fashion and retail industries. Gu (2022) examined the impact of the sharing economy on urban carbon emissions from 2011 to 2017 using a sample of 275 prefecture-level cities in China. Haque and Shaik (2021) predicted crude oil prices during the epidemic using ARIMA and GARCH models. Irhami and Farizal (2021) forecast the number of vehicles in Indonesia using the ARIMA method. Khan and Alghulaiakh (2020) used ARIMA for forecasting stock prices. Lee and Suh (2022) suggested a method for modeling causality between environment, social and governance (ESG) conduct and financial performance variables. Lewicki and Olejarz-Wahba (2020) modeled the trend in sales of new passenger vehicles in Poland. Li and Li (2017) forecast energy consumption in Shandong, China. Menculini et al. (2021) compared Prophet software from Facebook and deep learning methods to ARIMA for forecasting wholesale food prices. Pe- 15 Badri Toppur, T. C. Thomas 10.5709/ce.1897-9254.496DOI: CONTEMPORARY ECONOMICS Vol. 17 Issue 1 10-232023 dregal (2020) used multiple forecasting methods for predicting uranium prices. Nafil et al. (2020) forecast energy demand in Morocco. Suraiya and Hasan (2018) predicted the requirement of printer paper in universities of Bangladesh based on 6 years or 18 trimesters of data. Sidqi and Sumitra (2019) used exponential smoothing methods on twenty-four observations corresponding to weeks of sales data. Taques, et al. (2021) examined the phenomenon of innovation. Innovation can be a source of competitive advantage for companies, either through the improvement of methods and techniques capable of generating new products or services or through perfecting existing ones. Temür et al. (2019) predicted housing sales in Turkey using ARIMA, LSTM, and hybrid models. Trapp et al. (2022) combined business model theory with the concept of sector coupling in their study, which identifies 12 business model archetypes in the emerging hydrogen vehicle industry and its value chain. Vo et al. (2021) applied the Box‒Jenkins model and fuzzy EPQ model to the apparel industry. Zeng et al. (2019) benchmarked an automotive company’s performance from economic and environmental perspectives by creating a relevant index. 3. Methodology3. Methodology One intriguing theory in forecasting methodology is that the effect of the many possible economic variables impacting the response variable is captured in the autocorrelations within the time series. One does not need to model the response variable explicitly as a function of many variables. Even without all these independent variables, the selection of a suitable model among the many available models remains a difficult iterative procedure. The number of parameters to be estimated can influence the bias and variance, and thus, the flexibility of the model needs to be decided after analyzing the data. Subsequent to the choice of model, forecasting can be performed and bounds on the error can be estimated. 3.1. Seasonal Decomposition These time series are usually understood to be the composition of a trend component (T), a seasonality component (S), an aperiodic cycle component (C), and a random noise component (R). These components may be additive, as T + S + C + R, but a more realistic model is their product form T × S × C × R. In the statsmodels package in Python, there are functions that easily decompose a loaded time series into the constituent components, which can then be plotted independently to see the pattern in the component 3.2. Moving Average and Exponential Smoothing The simpler methods, such as moving averages and exponential smoothing, use the simple concept of a weighted average. The weights attached to various values in the weighted average can be equal, or one may favor more recent events with greater weight. In exponential smoothing, there are one or more parameters used, with which one can estimate the trend and the next period forecast. In simplex exponential smoothing, there is only one smoothing constant α that is between 0 and 1. One takes an alpha portion of the forecast error in the previous period and adds it to the period’s forecast value to obtain the current period forecast. The alpha parameter is chosen to minimize the mean absolute deviation (MAD), the formula for which is given in Section 3.1.1. More complex variations of simple exponential smoothing include Holt’s method and Winter’s method. Holt’s method refers to trend-adjusted smoothing, which is also called second-order smoothing or double smoothing. A second parameter, β, is used to adjust the trend term in the forecast. Instead of simply updating the forecast term F t , one also separately updates the trend term T t as a fraction of the error in the trend term. The acronym FIT t stands for forecast including trend and is the sum of F t and T t . Higher values of beta give more importance to recent changes in trend, whereas low values of beta smooth the changes in trend. Again, the parameter values are chosen to minimize MAD. Winter’s method is built on top of Holt’s method; therefore, the method is also referred to as Holt–Winter smoothing or triple exponential smoothing. The added aspect of seasonality is also addressed in Winter’s method. 3.2.1. Forecast error measures In time series terminology, bias is simply the average of the error terms F t and Y t . In all the formulae given in this section, Y t is the actual series value at time t and Ft is the forecasted series value at time t. The formula for the mean absolute deviation is as follows: www.ce.vizja.pl 16 Forecasting Commercial Vehicle Production Using Quantitative Techniques This work is licensed under a Creative Commons Attribution 4.0 International License. In addition, two common error measures used are the mean squared error (MSE) and the mean absolute percentage error (MAPE). 3.3. Box‒Jenkins Models Definition: A sequence of random variables is called a stochastic process and is representative of a time series. Definition: The autocorrelation function is for Stationarity is an important assumption in these models. In layperson’s terms, stationarity means that the probabilistic behavior of the time series is independent of the time window in which it is being observed if the length of the window is not changed. If this property is present, it is more conducive to model building and forecasting. The acronyms ACF and PACF are expanded as sample autocorrelation function and sample partial autocorrelation function, respectively. These correlograms, as they are otherwise referred to, indicate the correlation between lagged values of the time series. Along with the augmented Dickey–Fuller test, they help one decide about the stationarity of the series and estimate the p and q parameters of the AR and MA components of the ARIMA model. The AIC and BIC are used to compare the ARIMA models with differing parameters (p, d, q) by penalizing overfitting. In the following formulae, k is a simple linear function of p and q. The maximum likelihood estimate is the difference between the observed and expected distribution of the stochastic process. The calculation of the maximum likelihood estimate is mathematically quite complex compared to ordinary least squares estimates and is not described here. AIC = -2Log(Maximum Likelihood) + 2k BIC = -2Log(Maximum Likelihood) + klog(n) Definition: A process {Y t } is said to be strictly stationary if the joint distribution of Y t1 , Y t2 , Y t3 …Ytn is the same as the joint distribution of Y t1-k , Y t2-k , Y t3-k …. Y tn-k for all choices of t 1 , t 2 , t 3 ...,tn and for any lag k. Definition: A process {Y t } is said to be weakly stationary if two conditions are met: (a) The mean function μ t =E[Y t ] is constant over time (b) γ t,t-k = γ 0,k for all time t, and lag k In γ t,s is the covariance function, which is related through the variances to the correlation function ρ t,s . If multivariate normality assumptions are not met or have not been tested, the weaker definition of stationarity is implied. The Box‒Jenkins methodology entails model specification, model fitting, and model diagnostics, which may be repeated until a good model is identified. The specification requires a selection among the various forecasting models that are available, such as pure moving averages, pure autoregression models, hybrid ARMA models, and integrated ARIMA models. Model fitting requires that the parameters of the model be estimated accurately, and diagnostics validate the assumptions of the model and its forecasting accuracy. The Python functions for ARIMA are given in the output measure for testing model assumptions, such as the Ljung–Box test for white noise or independence of the random variables comprising the series. The alternate hypothesis is that the serial data are correlated. There is also a heteroscedasticity test for constant variance and the Jarque–Bera test for normality of errors or residuals. If the test statistic in the Jarque–Bera test is large, then one concludes that the residuals are not normally distributed. These output measures considered together can help one conclude whether the model chosen is robust. 4. Results4. Results In this paper, we have applied the primary forecasting methods in the Python package statsmodels.api, particularly the tsa package. These are the moving averages, exponential smoothing, and the numerous ARIMA models that may be used exclusively as an autoregressive model, a moving average model, or an integrated model. It was found through experimental trials that the additive model was a better fit than the multiplicative model, as indicated by the residual pattern, which is ran- 17 Badri Toppur, T. C. Thomas 10.5709/ce.1897-9254.496DOI: CONTEMPORARY ECONOMICS Vol. 17 Issue 1 10-232023 domly distributed about the x-axis. In the seasonal decomposition in Figure 3, the trend line, which is fairly level, begins climbing from the 75th month to approximately the 160th month. Then, the trend line has a convex-upward shape or minima at approximately the 165th month before it picks up and returns to climbing as before. The seasonality is remarkably consistent. An additive model instead of a multiplicative model yielded residuals that were random. The moving average gave an MAPE of 8.71% to 13.43, with the lowest value for a span of 7. However, the forecast missed the dip in the time series by quite a few months. Nor did simple exponential smoothing perform well in predicting the months in question. The errors decrease monotonically with increasing α. Table 2 shows the sensitivity analysis for double exponential smoothing using the Solver Table from Palisade Tools. For different values of the smoothing constants, we can see the corresponding MAD errors. In this table, one can see that the optimal choice of least MAD is for α = 0.7 and β = 0.1. This conclusion is supported by the optimal choice of least MSE (not shown), which also selects α = 0.7 and β = 0.1. Moving on, past the exponential smoothing to the Box‒Jenkins methodology, the ACF plot of the time series revealed that the first fourteen correlations are outside the lower and upper limits, indicating that the series is not stationary. The PACF plot showed that the first two correlations are outside the lower and upper limits, with the third on the borderline. For this reason, one would suggest setting p = 2 in the ARMA model. Empirical studies by Box and Jenkins have shown that the sum of the parameters p and q does not exceed 2 for a g ood model that is parsimonious and not overfitted. Figure 3 Seasonal Decomposition - Additive Model Source: Python package statsmodels.tsa.seasonal