Next Article in Journal
Context Sensitive Verb Similarity Dataset for Legal Information Extraction
Previous Article in Journal
Collection and Processing of Behavioural Data of the Olive Fruit Fly, Bactrocera oleae, When Exposed to Olive Twigs Treated with Different Commercial Products
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Event Forecasting for Thailand’s Car Sales during the COVID-19 Pandemic

by
Chartchai Leenawong
* and
Thanrada Chaikajonwat
School of Science, King Mongkut’s Institute of Technology Ladkrabang, Bangkok 10520, Thailand
*
Author to whom correspondence should be addressed.
Submission received: 30 May 2022 / Revised: 22 June 2022 / Accepted: 22 June 2022 / Published: 25 June 2022

Abstract

:
The COVID-19 pandemic that started in 2020 has affected Thailand’s automotive industry, among many others. During the several stages of the pandemic period, car sales figures fluctuate, and hence are difficult to fit and forecast. Due to the trend present in the sales data, the Holt’s forecasting method appears a reasonable choice. However, the pandemic, or in a more general term, the “event”, requires a subtle method to handle this extra event component. This research proposes a forecasting method based on Holt’s method to better suit the time-series data affected by large-scale events. In addition, when combined with seasonality adjustment, three modified Holt’s-based methods are proposed and implemented on Thailand’s monthly car sales covering the pandemic period. Different flags are carefully assigned to each of the sales data to represent different stages of the pandemic. The results show that Holt’s method with seasonality and events yields the lowest MAPE of 8.64%, followed by 9.47% of Holt’s method with events. Compared to the typical Holt’s MAPE of 16.27%, the proposed methods are proved strongly effective for time-series data containing the event component.

1. Introduction

The automotive industry has been one of the most blossoming industries in Thailand for decades in both production and sales dimensions, owing to several factors. For the production dimension, Thailand is a crucial automobile part manufacturer and at the same time, an assembly hub for the Southeast Asia region [1], even though Thailand does not own any internationally renowned car brands.
Regarding the sales dimension, Bangkok, the capital city, is always among the top worst traffic cities in the world [2,3]. The majority of middle-class Thai citizens are in need of vehicles to commute between home in the suburban areas and workplace in the city on account of insufficient and inconvenient public transportation systems. Besides pick-up trucks widely used for commercials, the best-selling vehicle types for ordinary Thai citizens are compact and subcompact sedans, with engines up to 1800 c.c. [4].
Beginning in early 2020, Thailand was among the first countries attacked by the coronavirus disease or COVID-19 [5]. As was the case for every other place in the world, Thailand’s economy rapidly decreased as the virus developed into a global pandemic. Millions of people were at risk of losing their jobs, earning less salaries, and gaining reduced or no bonuses [6,7]. Consequently, every household tried to save their incomes to make ends meet, especially for the rainy days, and thus decreased the unnecessary consumption. A new car purchase was obviously on the unnecessary buying list, attributable to a certain characteristic of the cars being depreciated assets. To make the matter even worse, all the businesses, automotives included, were heavily affected by the nationwide lockdowns initiated by the government to prevent the disease spreading.
In Figure 1, Thailand’s monthly car sales from January 2015 to December 2021 are depicted. During the first COVID-19 superspreading wave across the nation, approximately for the first to the mid-third quarters of 2020, the sales curve declined drastically, especially from March to April, before gradually entering a relief period. However, the nation and the entire world had not experienced the end of the pandemic yet. Superspreading waves 2 and 3 struck in the following months, making car sales unsteady all over again. From an optimistic point of view, as the new car sales figures continue to progress into 2022, the situation will eventually return to normal in the near future.
In Figure 2, the monthly car sales data are trimmed to show only from the normal period, in other words, no COVID-19 pandemic effects, i.e., from January 2015 to December 2019. Evidently, the added trendline exhibits an upward trend, in which the time-series Holt’s or double exponential smoothing method are, thus, appropriate methods to start with [8]. However, the full car sales data in Figure 1 are severely disturbed by the pandemic. Consequently, the typical Holt’s method may not perform as well as intended. Thus, in this research, modifications of the Holt’s method are proposed to incorporate the effects of the pandemic, or the more general term, “the event component”.
Furthermore, to gain even higher accuracy forecasts, the seasonal component in the car sales data is also integrated into the proposed modifications. In total, the typical Holt’s method, along with the three modified methods, namely, Holt’s method with seasonality, Holt’s method with events, and Holt’s method with seasonality and events, will be used for Thailand’s monthly car sales from January 2015 to December 2021. Then, their accuracies, using the mean absolute percentage error (MAPE) and the symmetric mean absolute percentage error (SMAPE), will be computed and compared.

2. Literature Review

Previous work regarding forecasting methods and the event component is surveyed and presented as follows.
Wirotcheewan et al. [9] found a suitable forecasting model for the advanced demand of the automotive wheels, parts, and accessories (WPA), and used a linear programming (LP) model to calculate the optimal quantity for export so as to gain from the maximum profit. The WPA demands for export from Thailand are collected from the top five highest-demand countries, i.e., Japan, China, South Korea, Germany, and Indonesia from 1997 to 2008. Time series forecasting models used in the study are naïve, moving average, single exponential smoothing, and exponential smoothing with trend or Holt’s method and artificial neural networks (ANNs). The forecasting accuracy measurement is MAPE. The results show that the ANNs model outperforms the other models for Japan, Germany, and Indonesia, while exponential smoothing with trend is best suited for China. Nonetheless, all five models produce MAPEs greater than 50% for South Korea. After that, the forecasted results are used in finding the optimal quantities for export to those five countries using LP models.
Rattanametawee et al. [10] study the effects of special events on regression for subcompact car sales in Thailand. The monthly input data are collected from January 2005 to September 2015, summing to 129 data. The two special events considered are the 2011 Thailand flood and the government’s tax-incentive first-car buyer program in 2011–2012. For the methodology, they use three different multiple linear regressions, specifically, the regular regression, regression containing seasonality, and the proposed regression containing seasonality and special events. The results show that the last regression outperforms the other two models and achieves the highest adjusted coefficient of determination or R-square and also the highest accuracy in terms of MAPE.
Booranawong and Booranawong [11] use double exponential smoothing (DES) or Holt’s methods, multiplicative Holt–Winters (MHW) and additive Holt–Winters (AHW) with optimal initial values and smoothing constants to forecast lime, Thai chili and lemongrass prices in Thailand from October 2016 to December 2016. This research collects the input price data at the Simummuang market from January 2011 to September 2016. The accuracy measure for comparisons is MAPE. The results show that DES attains the smallest MAPEs for forecasting Thai chili and lemongrass prices, while MHW and AHW generate smaller MAPEs than that of DES for forecasting lime prices possessing the seasonal component.
Muchayan [12] uses two different double exponential smoothing methods, namely, Brown’s and Holt’s, to predict the net asset value (NAV) price movements of the Cipta Ovo Equitas mutual fund from the Ciptadana Asset Management, PT in Indonesia. The NAV price data are collected over the period January 2019 to January 2020. The measurement of effectiveness is MAPE. The results show that Holt’s method yields a smaller MAPE than Brown’s method.
Sharif and Hasan [13] develop a stock indicator that helps buyers predict the next day’s share value by applying the Holt’s method. The stock closing prices of different companies are gathered from the Dhaka Stock Exchange (DSE) in 2016. This study finds that the Holt’s method is appropriate for short-term prediction. In addition, this study shows that different smoothing constants have an impact on the prediction values and the proper values of smoothing constants for this dataset are α = 0.5 and β = 0.1.
Suppalakpanya et al. [14] study several exponential smoothing methods for forecasting crude palm oil productions in Thailand from January 2018 to March 2018. The monthly crude palm oil productions data are collected from the database of the Department of Internal Trade, Ministry of Commerce, Thailand. This research compares five different forecasting methods for various ranges of the input data. The first three methods are double exponential smoothing (DES), the multiplicative Holts–Winters (MHW), and the additive Holt–Winters (AHW) methods. Additionally, their proposed modified methods are the improved additive Holts–Winters (IAHW) and the extended additive Holts–Winters (EAHW) methods. For the input ranges, they implement all the five methods on four different ranges, i.e., 3-year data (2015–2017), 6-year data (2012–2017), 9-year data (2009–2017), and 12-year data (2006–2017). The accuracy measurement is MAPE. The results show that the AHW and EAHW methods yield the two lowest MAPEs of 6.94 and 7.05, respectively, when the 12-year data are applied.
Rattanametawee and Leenawong [15] propose a new time-series decomposition to incorporate the effects of special events that impact the dataset. They use a case study of subcompact monthly car sales data in Thailand from 2011 to 2018. This dataset has the conventional trend, seasonal, and cyclical components. The special events investigated in the study are the tax-incentive program for first car buyers having a positive impact on the data, and the national big flood having, in contrast, a negative impact. MAPE is used as an accuracy measure of the proposed forecasting method, resulting in a relatively low value at 8.17%.
With regard to the organization of this paper, in the next section, the typical Holt’s method along with the modified methods are explained in detail and their formulas are shown explicitly, including the accuracy measurement. In Section 4, the experimental results and their discussion are provided. Then, in the final Section 5, this research is concluded.

3. Materials and Methods

In this section, all forecasting methods are explicitly described to be implemented on Thailand’s monthly car sales data from January 2015 to December 2021. The data are collected from the Office of Industrial Economics, Ministry of Industry, Thailand [16]. Note that all the experiments are conducted on Microsoft Excel 365.

3.1. The Typical Holt’s Method

First of all, common notations to be used in this typical Holt’s method and its subsequent modified methods are defined as follows.
At represents the actual data for period t,
α represents the smoothing constant for the level estimate; 0 ≤ α ≤ 1,
and β represents the smoothing constant for the trend estimate; 0 ≤ β ≤ 1.
The typical Holt’s forecasting method can be executed by the following three steps [17].
  • Step 1: Computing the Level Estimate.
Lt = αAt + (1 − α) (Lt−1 + Tt−1)
where Lt refers to the level estimate for period t, Tt refers to the trend estimate for period t, and the initial value for Lt is L2 = A2, and for Tt is T2 = A2 − A1.
  • Step 2: Computing the Trend Estimate.
Tt = β (Lt − Lt−1) + (1 − β) Tt−1
  • Step 3: Computing the Holt’s Estimate.
Ht+m = Lt + mTt
where Ht+m refers to Holt’s forecasted value for period t + m, and m refers to the future period mth; m ≥ 1.
In the next section, the forecasting steps of the Holt’s method with seasonality will be described.

3.2. The Holt’s Method with Seasonality

The forecasting steps of the typical Holt’s method are modified to take into consideration the seasonality in the data. Some steps are changed and two additional steps are inserted to account for the seasonal component and it, thus, comes to a total of five steps. Note that certain notations used in some steps of the typical Holt’s method are slightly altered to reflect the seasonality in the data as well. In conclusion, the Holt’s method with seasonality can be executed by the following five main steps.
  • Step 1 (Additional): Dealing with Seasonality.
In this new step, for the original data with a seasonal component, it is advised that the seasonal component is first removed or de-seasonalized before performing Holt’s method. Then, after obtaining the forecasted values from Holt’s method, these Holt’s forecasts must be incorporated back or re-seasonalized in the very last stop to reach the final forecasts. In doing so, seasonal indices are required and they are determined by the following sub-steps, 1.1–1.5. In the last sub-step 1.6, the seasonal indices are used to remove the seasonal component from the original data.
  • Step 1.1: Finding the Moving Averages (MAs).
Ay,m represents the actual data of year y, month m, where y = 1, 2, …, 7 refer to the years 2015, 2012, …, 2021 and m = 1, 2, …, 12 refer to the months January, February, …, and December, respectively, and A ¯ y , m represents the moving average of year y, month m, when the number of periods to average is 12.
Therefore, the values start at A ¯ 1 , 6 up until A ¯ 7 , 6 . More explicitly [18],
A ¯ 1 , 6 = ( A 1 , 1 + A 1 , 2 + + A 1 , 12 ) / 12 , A ¯ 1 , 7 = ( A 1 , 2 + A 1 , 3 + + A 1 , 12 + A 2 , 1 ) / 12 , A ¯ 1 , 8 = ( A 1 , 3 + A 1 , 4 + + A 1 , 12 + A 2 , 1 + A 2 , 2 ) / 12 , A ¯ 7 , 6 = ( A 7 , 1 + A 7 , 2 + + A 7 , 11 + A 7 , 12 ) / 12 .
  • Step 1.2: Finding the Centered Moving Averages (CMAs).
C ¯ y , m represents the centered moving average of year y, month m, when the number of periods to average is 2.
Therefore, the values start at C ¯ 1 , 7 up until C ¯ 7 , 6 . More explicitly [19],
C ¯ 1 , 7 = ( A ¯ 1 , 6 + A ¯ 1 , 7 ) / 2 , C ¯ 1 , 8 = ( A ¯ 1 , 7 + A ¯ 1 , 8 ) / 2 , C ¯ 1 , 9 = ( A ¯ 1 , 8 + A ¯ 1 , 9 ) / 2 , C ¯ 7 , 6 = ( A ¯ 7 , 5 + A ¯ 7 , 6 ) / 2 .
  • Step 1.3: Computing the Seasonal Factors.
SFy,m represents the seasonal factor of year y, month m, computed by the following formula:
S F y , m = A y , m / C ¯ y , m
  • Step 1.4: Computing the Unscaled Seasonal Indices.
SIm represents the unscaled seasonal index of month m, that is,
SI1 = the average of SF2,1, SF3,1, …, SF7,1,
SI2 = the average of SF2,2, SF3,2, …, SF7,2,
SI3 = the average of SF2,3, SF3,3, …, SF7,3,
SI11 = the average of SF1,11, SF2,11, …, SF6,11,
SI12 = the average of SF1,12, SF2,12, …, SF6,12.
  • Step 1.5: Computing the (Scaled) Seasonal Indices.
St represents the scaled seasonal index for period t when t = 1, 2, …, 84. Since the number of periods in the seasonality cycle is 12,
S t = S t + 12 ( 1 ) = S t + 12 ( 2 ) = ,
more explicitly,
S 1 = S 13 = = S 61 = S 73 = S I 1 × 12 / m = 1 12 S I m , S 2 = S 14 = = S 62 = S 74 = S I 2 × 12 / m = 1 12 S I m , S 11 = S 23 = = S 71 = S 83 = S I 11 × 12 / m = 1 12 S I m , S 12 = S 24 = = S 72 = S 84 = S I 12 × 12 / m = 1 12 S I m .
  • Step 1.6: Removing Seasonality From the Data (De-seasonalization).
In this step, to remove seasonality from the data, each of the actual data are divided by each corresponding seasonal index. From this step onward, because the year y and month m are irrelevant, Ay,m can become just the actual data at period t, when t = 1, 2,…, 84 (notationally, At, for simplicity).
Dt represents the de-seasonalized data at period t, computed from the actual data divided by the relative seasonal index, that is,
Dt = At/St.
  • Steps 2 to 4: Computing Level, Trend, and Holt’s Estimates.
Similar to the typical Holt’s steps 1–3, the computations for the level, trend, and Holt’s estimates can be determined with the replacement of At by Dt.
  • Step 5 (Additional): Computing the Holt’s Estimate with Seasonality (Re-seasonalization).
This additional and last step multiplies each Holts’ estimate from step 4 with the corresponding seasonal index. Ft+m represents the final forecasted data for period t + m, re-seasonalized from the Holt’s estimation,
Ft+m = Ht+m × St+m.
In the next section, the forecasting steps of the modified Holt’s method that takes into account the event component will be described.

3.3. The Holt’s Method with Events

For the proposed Holt’s method that incorporates the event component, or more precisely, in our case, the global COVID-19 pandemic, the forecasting steps of the typical Holt’s method are modified. Some steps are changed and one additional step is inserted in order to account for the event component and it, thus, comes to a total of four steps. Note that certain notations used in some steps of the typical Holt’s method are slightly altered to reflect the event component in the data as well.
In addition to the two smoothing constants previously defined in Holt’s method, one more smoothing constant for the event estimate is then defined as δ and 0 ≤ δ ≤ 1. Only the changes in the forecasting steps of the typical Holt’s method, plus one additional step, are addressed in detail as follows. Thus, the Holt’s method with events can be executed by the following four steps.
  • Steps 1 to 2: Computing Level and Trend Estimates.
These steps are exactly the same as steps 1 and 2 in the typical Holt’s method.
  • Step 3 (Additional): Computing the Event Estimate.
This new step is inserted in order to add another smoothing constant, δ, for the event component. Thus, a recursive formula with an initial value is needed.
The formula for event estimates is as follows:
Ekt = 1; k = 0,
Ekt = δ (At/Lt) + (1 − δ) Ekt−; k = 1, 2, 3,
where Ekt refers to the event factor for data with flag k at period t, flag k = 0 represents the normal sales period, k = 1 represents the panic-state, lockdown, COVID-19 superspreading wave-1 period, k = 2 represents the COVID-19 relief period after any wave, and k = 3 represents the period in which any later COVID-19 superspreading wave occurs, and Ekt− refers to the last occurrence prior to period t of the event factor having the same flag k.
The idea behind the above event formula update is that, except for flag k = 0 having the event estimate fixed at 1, the smoothing constant for the event component, δ, identifies where the current event estimate with flag k should be, between the latest event factor, At/Lt, and the previous event factor with the same flag k, Ekt−.
As for the initial values of Ekt when k = 1, 2, 3, two mutually exclusive cases are as follows:
  • Case 1: when t > 1, the initial value is Ek1 = 1.
  • Case 2: when t ≠ 1, the initial value is Ekt = Et−1, where Et−1 refers to the event factor immediately preceding the current period t.
  • Step 4: Computing the Holt’s Estimate with Events.
Modified from the counterpart step 3 of the typical Holt’s method to include the multiplicative effect of the event component, the new HEt+m representing the Holt’s forecasted value with the event component for period t + m is then computed by the following formula:
HEt+m = (Lt + mTt)Ekt+m,
where m = the future period mth; m ≥ 1.
In the next section, the forecasting steps of the modified Holt’s method that takes into account both seasonal and event components will be described.

3.4. The Holt’s Method with Seasonality and Events

In this section, the typical Holt’s method is modified to encapsulate the associated seasonal and event components. Forecasting steps of the Holt’s methods with seasonality and with events from the above sections are combined here with some modification. To deal with seasonality and events simultaneously, a set of notations from Holt’s method with seasonality to include flag k, as defined in Holt’s method with events above, is altered to the following new set of notations:
A y , m   becomes   A k y , m ,   A ¯ y , m   becomes   A ¯ y , m k , C ¯ y , m   becomes   C ¯ k y , m ,   SF y , m   becomes   SF k y , m .
  • Step 1: Dealing with Seasonality.
In this new main step 1, step 1 of Holt’s method with seasonality is modified in detail as follows.
  • Steps 1.1 to 1.3: Computing MAs, CMAs, and the Seasonal Factors.
From Holt’s method with seasonality, steps 1.1 to 1.3 remain exactly the same after the change in Ay,m, A ¯ y , m , C ¯ y , m , and SFky,m to Aky,m, A ¯ y , m k , C ¯ k y , m , and SFky,m, respectively.
  • Step 1.4: Computing the Unscaled Seasonal Indices of the Normal Sales Periods Only.
From step 1.4 of Holt’s method with seasonality, it is modified to exclude the sales data during the events other than the normal period, i.e., flags k = 1, 2, 3, because the seasonal component should not be affected by abnormal factors, such as the events. Afterwards, the event component can be taken care of in the later step.
Similar to step 1.4 of Holt’s method with seasonality, SIm representing the unscaled seasonal index of month m is still computed from the average of the seasonal factors, but this time, only those with flag k = 0, that is,
SIm = the average of SF0y,m.
  • Step 1.5: Computing the (Scaled) Seasonal Indices of the Normal Sales Periods Only.
Even though the formula for St is still the same as shown in step 1.5 of Holt’s method with seasonality, St now represents the scaled seasonal index for period t with flag k = 0 only. This is because St is practically the SIm scaled to sum up to 12 and the new SIm formula in step 1.4 above is computed only from the seasonal factors with flag k = 0.
  • Step 1.6: De-seasonalization.
In this step, the formula for the de-seasonalized data at period t, Dt, from step 1.6 of Holt’s method with seasonality, stays unchanged. However, Dt here is seasonally removed by the seasonality from the normal sales periods only, not from all the sales periods, as Dt in Holt’s method with seasonality.
  • Steps 2 to 3: Computing Level and Trend Estimates.
These main steps 2 and 3 are exactly the same as those of Holt’s method with seasonality after the replacement of At with Dt.
  • Steps 4 to 5: Computing the Event Estimate and Holt’s Estimate with Events.
For these steps, the counterpart steps 3 and 4 of Holt’s with events are adopted without any changes. More precisely, the event component has now been fully incorporated into the Holt’s estimate, becoming HEt+m.
  • Step 6: Computing the Holt’s Estimate with Events and Seasonality (Re-seasonalization).
This step is comparable to step 5 of Holt’s method with seasonality, except that the Holt’s estimate, Ht+m, is now the Holt’s estimate with events, HEt+m to be used in the re-seasonalization process. The final forecasted value for period t + m incorporating both events and seasonality, FEt+m, can then be obtained by
FEt+m = HEt+m × St+m.

3.5. The Accuracy Measurement

In this research, to compare among the different methods, the forecasted results are measured by MAPE and SMAPE. Their formulae are expressed as follows [16].
MAPE = 1 n t = 1 n ( | A t F t | | A t | × 100 % )
and
SMAPE = 1 n t = 1 n ( | A t F t | ( | A t | + | F t | ) / 2 × 100 % )

4. Results and Discussion

In this section, the four forecasting methods from the previous section are implemented on the case study of Thailand’s car sales data, according to the corresponding steps of each method. In addition, the results from all methods are compared and discussed.

4.1. Implementation of the Holt’s Method with Seasonality and Events on the Car Sales Data

The typical Holt’s method and its three modified ones, i.e., the Holt’s method with seasonality, the Holt’s method with events, and the Holt’s method with seasonality and events, are implemented on Thailand’s monthly car sales data from January 2015 to December 2021 using Microsoft Excel 365. Nonetheless, to save space, only the Holt’s method with seasonality and events is demonstrated here, following the steps from Section 3.4.
In Table 1, period, Yr, and Mo refer to the tth data period, the year, and month, respectively. k refers to the assigned data flag taking the values of 0, 1, 2, and 3, corresponding to different periods of the pandemic. The flag assignment for these car sales data considers the unpredictable pandemic waves and the government prevention policies that reflect the number of infected cases. Car sales ‘000 baht refers to the actual car sales data in thousand Thai baht. Next, computation steps start with the main step 1 (dealing with seasonality) from Section 3.4. It consists of six sub-steps for computing the moving averages (MA and CMA), finding the seasonal indices (SF, SI unscaled, SI), and also removing the seasonality from the car sales data.
After the first three sub-steps from Section 3.4, different seasonal factors (SF) are obtained for different periods. The next two sub-steps are then performed to obtain the unscaled (SI unscaled) and the scaled seasonal indices (SI) for corresponding the months, equivalent to seasons. As a reminder, these SI unscaled and SI are averages of SFs over the normal sales periods only, i.e., flag k = 0.
Afterwards, these seasonal indices (SI) are used in the final sub-step for removing the seasonal component in the sales data, resulting in the de-seasonalized car sales data (deseason).
In Table 2, deseason or the seasonally adjusted car sales are subsequently used in place of the actual car sales for computation in the remaining steps, that is, computing level (L), trend (T), and event (E) estimates in steps 2 to 4. However, to help simplify the calculation of the event estimate in step 4, Et- referring to Ekt is separately obtained beforehand. The Holt’s estimate with events (HE) is then figured in step 5. Lastly, the final forecast (FE) is obtained by re-seasonalizing HE with the corresponding seasonal index SI.

4.2. Numerical Results

Since the number of periods, or in this case months, is 12, the first MA, as shown in Table 1, starts at Period 6 and ends at Period 78. In addition, since the number of periods, 12, is even, the MA should be centered by taking another average over the two consecutive periods. The first CMA then starts at Period 7 and ends at Period 78.
Consequently, SF, being car sales divided by CMA, starts at Period 7 and ends at Period 78 as well. One can observe that SFs are different throughout all the time periods. However, for each month with flag k = 0, when SF is averaged, the resulting SI unscaled, as reported in Table 1, is identical for the successive years. For example, as shown in Table 1, SI unscaled for Mo 1, Yr 2015 is 0.9296, equivalent to those of Mo 1, Yr 2020 and Mo 1, Yr 2021. All 12 SI unscaled values are summarized in Table 3.
Even though each SI unscaled seems valid as an indicator of how much the car sales are in each month, the seasonality requires that the summation of all seasonal indices must equal the number of seasons, or 12 in our case. The SI unscaled summed to 12.1547 is, therefore, scaled to SI to sum up to 12, as shown in Table 3. Evidently by SI, the car sales were the highest in June with SI = 1.0870, most decreased in April with SI = 0.8653, and varied in other months. It is, thus, suggested that the seasonal effects are eliminated from the car sales data before proceeding further with the forecasting.
The deseason column in Table 1 shows the de-seasonalized car sales data calculated from the actual car sales divided by SI. So, deseason will be treated as the new car sales with no seasonality left in the data. Then, the Holt’s method with events can be applied to this deseason. As a result, the HE column in Table 2 reports the car sales forecasts that already include the event effects, but not the seasonal effects yet. After multiplying each HE by each corresponding SI to incorporate back the seasonality, the last FE column in Table 2 reveals the desired final forecasts.

4.3. Forecasting Accuracy Comparison and Discussion

Similar to FE in Table 2, the final forecasts from all other methods can be obtained. Table 4 summarizes and compares MAPEs and SMAPEs of the typical Holt’s method, denoted by Holt, with the three modified Holt’s method, i.e., Holt’s with seasonality, Holt’s with events, and Holt’s with seasonality and events, denoted by Holt S, Holt E, and Holt SE, respectively. Both MAPEs and SMAPEs of all four methods are also visualized by bar chart in Figure 3.
According to Table 4 and Figure 3, among all four methods, Holt performs the worst forecast on Thailand car sales data covering the COVID-19 pandemic period, in terms of both accuracy measures, possessing the highest MAPE and SMAPE at 16.27% and 13.91%, respectively. An improvement from Holt can be observed with the seasonality addressed in Holt S with lower MAPE and SMAPE at 12.37% and 11.99%. An even higher improvement from Holt can be obtained through Holt E, implying that, in the pandemic case, the event effects are stronger on these car sales data than the seasonal effects. Furthermore, the method combining both seasonal and event effects, Holt SE, achieving the lowest MAPE and SMAPE at 8.64% and 8.90%, respectively, indicates that this proposed modified Holt’s method best fits Thailand car sales data during the COVID-19 pandemic.

5. Conclusions

This study aimed to modify the typical Holt’s forecasting method to better suit time series data containing the event component, defined here as unusual impacts for a certain time period, largely caused by irregular incidents or events, such as the COVID-19 global pandemic.
As previously mentioned in the literature review section, there were previous attempts on capturing the effects of such irregular incidents into some forecasting models. More precisely, one attempt works with the regression method [10], while another works with the time-series decomposition (TSD) method [15]. The events of their interest are the2011 Thailand flood, along with the government’s tax-incentive program. Notably, their methods are completely different from what is proposed here because, unlike Holt’s method, both regression and TSD formulas are not recursive, nor need any smoothing constants.
Regardless, besides the typical Holt’s method, three modified methods based on Holt’s method including the seasonal and/or event components are proposed and named accordingly as the Holt’s method with seasonality, the Holt’s method with events, and the Holt’s method with seasonality and events. The methods with events incorporate another smoothing constant for the event estimate, denoted by δ and 0 ≤ δ ≤ 1. As for the methods with seasonality, the actual sales data are first de-seasonalized prior to being dealt with in the next steps.
All these four methods are implemented on Thailand’s monthly car sales data from January 2015 to December 2021, which also include the COVID-19 pandemic period. The input data obtained from the Office of Industrial Economics, Ministry of Industry, Thailand are flagged with different numbers to refer to various stages of the time period affected by the event of interest, i.e., the pandemic.
In terms of forecasting accuracy, the experimental results show that the Holt’s method with seasonality and events best fits the Thailand’s car sales data, possessing the lowest MAPE and SMAPE, among all the four methods. It must be noted that even the Holt’s method with events alone can also yield second best accuracy, much better than those of the typical Holt’s and the Holt’s with seasonality methods.
Beyond that, the modified Holt’s methods proposed in this research can certainly be applied to time series forecasting for other data largely impacted by abnormal events other than the COVID-19 pandemic. As evidenced here, the incorporation of another constant for the event estimate into Holt’s method significantly improves the forecasting accuracy; thus, the forecasted results can be used further in all kinds of planning for the business to stay competitive and beyond.
Last but not least, it would be interesting to compare the proposed methods with other time-series models. However, to ensure a fair comparison, a subtle way to incorporate the event component into the model of choice is, most likely, mandatory, and this is currently an ongoing project.

Author Contributions

Conceptualization, C.L. and T.C.; methodology, C.L. and T.C.; software, C.L. and T.C.; validation, C.L. and T.C.; formal analysis, C.L.; investigation, C.L. and T.C.; resources, C.L. and T.C.; data curation, C.L. and T.C.; writing—original draft preparation, C.L. and T.C.; writing—review and editing, C.L. and T.C.; visualization, C.L. and T.C.; supervision, C.L.; project administration, C.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The dataset is available at the following link: https://bit.ly/3QEHls6, accessed on 23 May 2022.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. ASEAN Briefing. Available online: https://www.aseanbriefing.com/news/thailands-automotive-industry-opportunities-incentives/ (accessed on 29 April 2022).
  2. CNN BUSINESS. Available online: https://money.cnn.com/2017/02/20/autos/traffic-rush-hour-cities/index.html (accessed on 29 April 2022).
  3. Mashable. Available online: https://mashable.com/article/bangkok-traffic-jams (accessed on 29 April 2022).
  4. Focus2move. Available online: https://www.focus2move.com/thailand-best-selling-car/#:~:text=Thailand%27s%20best%2Dselling%20car%20ranking,units%20sold%20(%2D4.8%25) (accessed on 29 April 2022).
  5. World Health Organization. Available online: https://www.who.int/emergencies/disease-outbreak-news/item/2020-DON234 (accessed on 28 April 2022).
  6. World Health Organization. Available online: https://www.who.int/news/item/13-10-2020-impact-of-covid-19-on-people’s-livelihoods-their-health-and-our-food-systems (accessed on 28 April 2022).
  7. The World Bank. Available online: https://www.worldbank.org/en/country/thailand/publication/monitoring-the-impact-of-covid-19-in-thailand#:~:text=Income%3A,income%20groups%20experiencing%20income%20%20declines (accessed on 28 April 2022).
  8. Leenawong, C. Logistics Intelligence and Forecasting with Excel 365; KMITL: Bangkok, Thailand, 2022; pp. 89–90. [Google Scholar]
  9. Wirotcheewan, P.; Kengpol, A.; Ishii, K.; Shimada, Y. Modelling and Forecasting for Automotive Parts Demand of Foreign Markets on Thailand. Asian Int. J. Sci. Technol. Prod. Manuf. Eng. 2011, 4, 1–13. [Google Scholar]
  10. Rattanametawee, W.; Leenawong, C.; Netisopakul, P. The Effects of Special Events on Regression for Subcompact Car Sales in Thailand. J. Teknol. 2016, 78, 161–165. [Google Scholar] [CrossRef] [Green Version]
  11. Booranawong, T.; Booranawong, A. Double exponential smoothing and Holt-Winters methods with optimal initial values and weighting factors for forecasting lime, Thai chili and lemongrass prices in Thailand. Eng. Appl. Sci. Res. 2018, 45, 32–38. [Google Scholar] [CrossRef]
  12. Muchayan, A. Comparison of Holt and Brown’s Double Exponential Smoothing Methods in The Forecast of Moving Price for Mutual Funds. J. Appl. Sci. Eng. Technol. Educ. 2019, 1, 183–192. [Google Scholar] [CrossRef]
  13. Sharif, O.; Hasan, M.Z. Forecasting the Stock Price by using Holt’s Method. Indones. J. Contemp. Manag. Res. 2019, 1, 15–24. [Google Scholar] [CrossRef]
  14. Suppalakpanya, K.; Nikhom, R.; Booranawong, T.; Booranawong, A. Study of Several Exponential Smoothing Methods for Forecasting Crude Palm Oil Productions in Thailand. Curr. Appl. Sci. Technol. 2019, 19, 123–149. [Google Scholar] [CrossRef]
  15. Rattanametawee, W.; Leenawong, C. Event Index Computation for Forecasting Case Study: Car Sales in Thailand. Thai J. Math. 2020, 18, 2079–2091. [Google Scholar]
  16. The Office of Industrial Economics, Ministry of Industry, Thailand. Available online: https://indexes.oie.go.th/industrialStatistics1.aspx (accessed on 3 August 2021).
  17. Leenawong, C. Data Analytics with Excel for Logistics & Supply Chain Management; CU Press: Bangkok, Thailand, 2022; p. 47. [Google Scholar]
  18. NIST. Available online: https://www.itl.nist.gov/div898/handbook/ (accessed on 6 February 2022).
  19. Hyndman, R.J.; Athanasopoulos, G. Forecasting: Principles and Practice, 2nd ed.; OTexts: Melbourne, Australia, 2018; p. 2. [Google Scholar]
Figure 1. Thailand’s monthly car sales from January 2015 to December 2021.
Figure 1. Thailand’s monthly car sales from January 2015 to December 2021.
Data 07 00086 g001
Figure 2. Thailand’s monthly car sales from January 2015 to December 2019 with a trendline.
Figure 2. Thailand’s monthly car sales from January 2015 to December 2019 with a trendline.
Data 07 00086 g002
Figure 3. Bar chart of the forecasting accuracy.
Figure 3. Bar chart of the forecasting accuracy.
Data 07 00086 g003
Table 1. Dealing with seasonality in the car sales data for the Holt’s method with seasonality and events.
Table 1. Dealing with seasonality in the car sales data for the Holt’s method with seasonality and events.
PeriodYrMokCar Sales (‘000 Baht)MACMASFSI UnscaledSIDeseason
120151026,977,961.53 0.92960.917829,395,602.24
220152027,902,176.73 1.06431.050826,554,084.21
320153029,774,248.84 1.09501.081127,541,580.65
420154020,635,767.24 0.87650.865323,847,031.31
520155026,625,638.70 1.04661.033325,768,470.42
620156022,234,255.0424,564,721.20 1.10111.087020,453,895.19
720157024,605,387.6623,967,856.5824,266,288.891.01400.99030.977725,167,107.50
6120201026,502,129.7723,917,024.7024,333,568.571.08910.92960.917828,877,128.64
6220202032,657,258.8623,595,908.1123,756,466.401.37471.06431.050831,079,424.73
6320203026,042,182.4123,481,330.8923,538,619.501.10641.09501.081124,089,369.01
642020416,960,649.5323,962,827.3723,722,079.130.29340.87650.86538,043,840.84
652020519,204,254.8324,722,380.4324,342,603.900.37811.04661.03338,907,939.10
6620206114,674,115.1525,217,869.4224,970,124.930.58771.10111.087013,499,117.14
6720207121,454,176.5425,070,934.5225,144,401.970.85320.99030.977721,943,956.93
6820208228,104,687.9424,771,931.3624,921,432.941.12771.00400.991228,353,320.27
6920209231,278,826.0725,133,393.6824,952,662.521.25351.07581.062129,448,765.08
70202010233,105,584.6826,234,010.9125,683,702.291.28900.94470.932735,495,335.99
71202011237,805,573.9526,902,365.1026,568,188.001.42301.01431.001437,754,524.32
72202012234,824,993.3727,635,278.3627,268,821.731.27711.01260.999734,835,988.33
7320211324,738,910.9127,648,750.5627,642,014.460.89500.92960.917826,955,898.22
7420212229,069,220.9826,938,095.6227,293,423.091.06511.06431.050827,664,742.76
7520213230,379,730.2026,384,499.7426,661,297.681.13951.09501.081128,101,659.06
7620214320,168,056.2725,893,933.8826,139,216.810.77160.87650.865323,306,536.84
7720215317,224,505.1525,237,711.0225,565,822.450.67371.04661.033316,669,990.77
7820216323,469,074.2725,047,140.5625,142,425.790.93341.10111.087021,589,838.94
7920217321,615,842.91 0.99030.977722,109,314.01
8020218319,576,828.62 1.00400.991219,750,017.97
8120219324,635,675.60 1.07581.062123,194,291.94
82202110227,218,794.28 0.94470.932729,183,603.23
83202111229,930,899.65 1.01431.001429,890,483.35
84202112232,538,147.92 1.01260.999732,548,420.87
Table 2. The final forecasts of the Holt’s method with seasonality and events.
Table 2. The final forecasts of the Holt’s method with seasonality and events.
PeriodYrMokDeseasonLTEt-EHEFE
120151029,395,602.24 1.0000
220152026,554,084.2126,554,084.21−2,841,518.041.00001.0000
320153027,541,580.6524,585,859.63−2,418,254.321.00001.000023,712,566.1725,634,833.91
420154023,847,031.3122,550,636.44−2,232,608.621.00001.000022,167,605.3119,182,494.35
520155025,768,470.4221,561,124.69−1,630,110.351.00001.000020,318,027.8320,993,891.35
620156020,453,895.1920,050,269.16−1,572,310.491.00001.000019,931,014.3421,665,861.30
720157025,167,107.5020,003,570.54−832,884.201.00001.000018,477,958.6718,065,537.97
6120201028,877,128.6427,968,469.87−928,188.071.00001.000027,699,998.7425,421,812.91
6220202031,079,424.7327,961,499.82−481,696.511.00001.000027,040,281.8028,413,057.51
6320203024,089,369.0126,706,537.99−856,479.061.00001.000027,479,803.3129,707,463.49
642020418,043,840.8421,788,947.66−2,824,799.131.00000.36929,543,084.108,258,003.25
652020518,907,939.1016,670,602.24−3,936,424.220.36920.534410,133,495.9510,470,578.87
6620206113,499,117.1412,908,639.70−3,851,866.960.53441.045713,316,675.0814,475,792.87
6720207121,943,956.9311,995,986.94−2,427,302.621.04571.829316,567,326.3916,197,550.25
6820208228,353,320.2713,852,945.94−350,827.111.82932.046719,584,568.6719,412,830.15
6920209229,448,765.0817,139,112.641,411,933.732.04671.718223,199,609.8124,641,323.94
70202010235,495,335.9922,415,575.333,284,975.221.71821.583529,375,807.4027,398,058.15
71202011237,754,524.3228,449,732.244,617,435.511.58351.327134,106,193.0834,152,309.63
72202012234,835,988.3333,470,587.344,812,962.991.32711.040834,416,111.6234,405,249.19
7320211326,955,898.2235,700,022.743,560,791.151.04080.755128,906,633.8626,529,208.34
7420212227,664,742.7636,616,067.262,278,947.951.04080.755529,662,943.0231,168,865.47
7520213228,101,659.0636,433,345.921,085,837.800.75550.771330,000,386.4332,432,378.60
7620214323,306,536.8434,277,667.74−485,244.720.75510.679925,510,552.3622,075,276.95
7720215316,669,990.7729,887,264.59−2,377,978.310.67990.557818,848,141.0919,475,109.96
7820216321,589,838.9426,159,222.26−3,032,320.910.55780.825322,704,079.4324,680,301.13
7920217322,109,314.0122,894,817.52−3,144,806.200.82530.965722,333,435.2321,834,961.84
8020218319,750,017.9719,750,012.84−3,144,805.460.96571.000019,750,016.4619,576,827.12
8120219323,194,291.9418,107,997.33−2,416,440.391.00001.280921,269,388.3622,591,151.02
82202110229,183,603.2318,768,723.64−925,013.890.77131.554924,398,897.9122,756,222.99
83202111229,890,483.3520,591,249.28406,650.481.55491.451625,902,124.8325,937,148.28
84202112232,548,420.8723,632,257.671,683,458.531.45161.377328,920,151.7828,911,023.99
Table 3. Summary of each month’s SI unscaled and SI.
Table 3. Summary of each month’s SI unscaled and SI.
MoSI UnscaledSI
10.92960.9178
21.06431.0508
31.09501.0811
40.87650.8653
51.04661.0333
61.10111.0870
70.99030.9777
81.00400.9912
91.07581.0621
100.94470.9327
111.01431.0014
121.01260.9997
Sum12.154712.0000
Table 4. Accuracy comparison.
Table 4. Accuracy comparison.
MethodMAPESMAPE
Holt16.27%13.91%
Holt S12.37%11.99%
Holt E9.47%9.33%
Holt SE8.64%8.90%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Leenawong, C.; Chaikajonwat, T. Event Forecasting for Thailand’s Car Sales during the COVID-19 Pandemic. Data 2022, 7, 86. https://doi.org/10.3390/data7070086

AMA Style

Leenawong C, Chaikajonwat T. Event Forecasting for Thailand’s Car Sales during the COVID-19 Pandemic. Data. 2022; 7(7):86. https://doi.org/10.3390/data7070086

Chicago/Turabian Style

Leenawong, Chartchai, and Thanrada Chaikajonwat. 2022. "Event Forecasting for Thailand’s Car Sales during the COVID-19 Pandemic" Data 7, no. 7: 86. https://doi.org/10.3390/data7070086

Article Metrics

Back to TopTop