**THE COMPARISON BETWEEN ARIMA AND ARFIMA MODEL TO FORECAST** **KIJANG EMAS (GOLD) PRICES IN MALAYSIA USING MAE, RMSE AND MAPE**

Atiqa Nur Azza Mahmad Azan<sup>1</sup>, Nur Faizatul Auni Mohd Zulkifly Mototo<sup>2</sup>, Pauline Jin Wee Mah<sup>3</sup>\*

<sup>1,2,3</sup>Faculty of Computer and Mathematical Sciences,

University Teknologi MARA Shah Alam, Selangor, Malaysia

Corresponding author: \*pauli874@uitm.edu.my

Received Date: \*date

Accepted Date: \*date

Published Date: \*date

**HIGHLIGHTS**

  - Forecasting was done to better understand about the pattern of Kijang Emas prices in Malaysia.

  - ARIMA and ARFIMA models were used to forecast Kijang Emas prices in Malaysia.

  - The forecast accuracy checking was measured using Mean Absolute Error (MAE), Root Mean Squared Error (RMSE) and Mean Absolute Percentage Error (MAPE)

ABSTRACT

*Gold is known as the most valuable commodity in the world because it is a universal currency recognized by every single bank across the globe.* *Thus, many people were interested in investing gold since gold market was always steadier compared to other investment (Khamis and Awang, 2020). However, the credibility of gold was questionable due to the changes in gold prices caused by a variety of circumstances (Henriksen, 2018). Hence, information on the inflation of gold prices were needed to understand the trend in order to plan for the future in accordance with international gold price standards. The aim of this study was* *to identify the trend of Kijang Emas monthly average prices in Malaysia from the year 2010 to 2021, to determine the best fit time series model for Kijang Emas prices in Malaysia and using univariate time series models to forecast Kijang Emas prices in Malaysia. The ARIMA and ARFIMA models were used in this study to model and forecast the prices of gold (Kijang Emas) in Malaysia. Each of the actual monthly Kijang Emas prices for 2021 were found to be within the 95% predicted intervals for both the ARIMA and ARFIMA models. The performances for each model were checked by considering the values of MAE, RMSE and MAPE. From the findings, all the MAE, RMSE and MAPE values showed that the ARFIMA model emerged as the better model in forecasting the Kijang Emas prices in Malaysia compared to the ARIMA model.*

*Keywords:* *Kijang Emas Price, Time Series Modelling, ARIMA model, ARFIMA model*

# INTRODUCTION

In the commodity market, gold is a precious metal and also known as stock contract goods. According to World Gold Council (2019), gold has been described as a highly liquid but limited commodity that can be bought as an investment as well as a luxury item like jewelleries. As a result, gold can provide long-term returns. During the global economic crisis of 2008, a wide range of financial goods performed poorly except for gold market (Yang, 2018). During the disease outbreak of Coronavirus Disease 2019 (COVID-19), the increasing number of COVID-19 cases globally has positively impacted gold prices because of the uncertainty about the upcoming economic situations created due to the pandemic (Yousef and Shehadeh, 2020). The market price of the commodity rose to acquire the highest possible level in history of US$2,067.15 per ounce on 7 August 2020, when the average level of gold price remained between US$1,100 and US$1,300 from 2014 to early 2019 (Pistiili, 2021).

When analysing the long-term performance of gold as an investment, the period of time under evaluation of the gold was really essential. According to Eryigit (2017), the price of gold as a safe refuge over the longer terms of period has been proven and it remained important to some investors, but this condition might rely on various factors such as crude oil prices, inflation rates, interest rates, and stock indices. According to a research by Guha and Bandyopadhyay (2016), it was said that people, especially economists, needed information on gold price inflation in order to plan their future economies in accordance with international gold price standards. Gold investment was one of the most popular types of investment because gold has been regarded as a secure and tempting investment for decades, with the investors purchasing gold not only for the purpose of stockpiling the metal, yet also as risk decrement strategy (Zainab and Neha, 2019). There were two forms of gold property available in Malaysia which were the physical gold and gold accounts (Razimi, Shahril, Romle and Azizan, 2017). Customers can purchase the tangible gold from bank, and each transaction would get a Gold Certicard (certificate). Similarly, a gold account can be bought offline from the counter or via online banking, and all transactions were conducted in Malaysia Ringgit (Johan, 2020).

The volatility of gold prices is difference in every country (Gunaseelan and Kesayan, 2016). Therefore, it would be useful to analyse and forecast the trend of gold prices. In this study, time series models were used to assume advanced predictions. Various time series models had been used to model gold prices both in Malaysia and elsewhere. The Autoregressive Integrated Moving Average (ARIMA) model is a data analysis model that utilizes time series data to better comprehend the data set or forecast upcoming trends (Hayes, 2021). According to Hayes, an ARIMA model would estimate a company's profitability based on previous periods or predict a stock's future prices based on prior performance. However, in some cases, the time series data also had a long memory correlation especially in econometrics (Granger and Joyeux, 1980). For such situations, the time series analysis method that can be applied is the Autoregressive Fractionally Integrated Moving Average (ARFIMA) model. According to Bhardwaj and Swason (2006), the ARFIMA model not only could handle non-stationary data, it also had better forecast accuracy for long memory data compared to the ARIMA model. This was based on the fact that the fractionally differenced parameters of the ARFIMA model could describe the causal correlation in data with a short memory, a long memory, or both at the same period. An ARFIMA process was also commonly applied in the study of macroeconomic and financial data, both of which were covered in econometrics (Bhardwaj, Swason, 2006).

According to Hoong (2021), investors bought gold as a protection against economic instability since gold had been proven to hold its value in volatile market conditions. Although, gold is not responsible for the large price changes or extreme volatility, it was acknowledged to always be rising in value as its uses as the consumer preferences expand. Furthermore, because gold is a valuable commodity with a constant resource, the marketplaces were worth keeping an eye on, and predicting gold prices within the next ten years could often result in a favorable return within this time frame (Gorn, 2021). According to Hashim, Ramlan, Razali and Nordin (2017) that studied on the macroeconomic indicators that had an effect on the volatility of gold values, it was shown that only crude oil prices and real interest rates were found to have a remarkable positive affiliation with gold prices and the most important factor that influenced the gold prices was the real interest rate. Besides, changes in the US dollar, which serves as the gold price's standard, also have an impact on worldwide gold prices. As a result, lower US dollar is more likely to attract investors to invest in gold. There have recently been demands for gold to be used as a haven asset to protect investors from the volatility of cryptocurrencies (Hoong, 2021).

Economic disruption caused by the Movement Control Order during the COVID-19 outbreak has resulted in decreased productivity because of decreasing demand for goods and services (Hoong, 2021). According to Hoong (2021), some businesses were negatively affected, and investors were experiencing negative investment returns. As a result, some investors had transferred their capital from the stock market and other investments to the gold market, which was seen as a safer shelter for their money. Nevertheless, the news of the revelation of vaccine for COVID-19 has brought comfort to all people on earth including Malaysians who have seen the main cause of the recent rapid drop in the prices of gold. Gold appeared to have lost its appeal as a haven asset then as it was said that the threat of COVID-19 which had caused the gold price to rise prior to the disclosure of the COVID-19 vaccine discovery had encouraged business analysts and investors to expect a recovery in the global economy (Bernama, 2020).

In general, the purpose of gold as a safe haven property was questionable (Henriksen, 2018). Therefore, the prediction of gold price is an important study as such situations and trends can be better understood if we could model and predict the gold prices in Malaysia. Time series models are known as the useful tools for forecasting, and they had been used in variety fields of study including gold. Since gold has been known as an instrument of investment in econometrics situation and suitable for every period of time, therefore the appropriate forecasting methods that can be used to predict the performance of gold prices are the ARIMA and ARFIMA models. To the best of our knowledge, there is still a lack of study done using the ARIMA model involving recent data. For example, the study of forecasting Kijang Emas prices in Malaysia conducted by Khamis and Awang (2020) used the data from January 2011 until February 2017 only. We also found no study on forecasting the Kijang Emas prices in Malaysia for recent years using the ARFIMA model.

Therefore, this study focused on the modelling and predicting of Kijang Emas prices in Malaysia using both the ARIMA and ARFIMA models. In the next section on Methodology, the dataset and the models used in this study together with the time series modelling procedure are presented. The subsequent section will discuss the results and the comparison of the performances of each model’s forecast ability. Lastly, the conclusion of this study as well as some recommendations for further study are included in the final section.

# METHODOLOGY

**The Dataset**

This study used the data of Malaysia’s gold prices which are also known as Kijang Emas prices that were obtained from Bank Negara Malaysia’s website (Bank Negara Malaysia, 2021). A total of 139 monthly average dataset that were used in this study contained the selling prices of one ounce or 31.105 grams Kijang Emas from January 2010 until July 2021. The data consisted of between two and five-day weekly data as there could be no trace of trade prices for some selected occasions due to holidays or market closing days. The monthly average data which was calculated based on the daily data was done using Microsoft® Excel®. The time series plot of the monthly average is as presented in Figure 1. The plot shows a fluctuating series from January 2010 to July 2021 with a gradual overall increasing trend.

<span class="chart">\[CHART\]</span>

**Figure 1:** Time Series Plot of the Monthly Kijang Emas Prices from January 2010 to July 2021

**ARIMA and ARFIMA Models**

The Autoregressive Integrated Moving Average (ARIMA) models combined the autoregressive (AR) and moving average (MA) functions. Sato (2013) claimed that the ARIMA model was invented by George Box and Gwilym Jenkins as an attempt to describe changes on the time series using a mathematical approach in the 1970s. According to Lazim (2018), this model was created when the variable’s stationarity assumption was not met. ARIMA *(p, d, q)* is the general term for this ARIMA model, where *p* is the order of the AR process, *q* is the order of the MA process, and *d* is the order of the integration or differencing process. Since definition of *d* is a non-negative integer, then {*X<sub>t</sub>*} is an ARIMA (*p, d, q*) process if *Y<sub>t</sub> =* (1 − 𝐵)<sup>*d*</sup> 𝑋*<sub>t</sub>* is a causal ARMA (*p, q*) process (Brockwell and Davis, 2002). Brockwell and Davis (2002) stated that {*X<sub>t</sub>*} satisfies a difference equation of the form as given in Equation (1),

𝜙\*(𝐵)*X<sub>t</sub>* = 𝜙(𝐵) (1 − 𝐵)<sup>*d*</sup> 𝑋*<sub>t</sub>* = *θ*(𝐵)𝑍*<sub>t</sub>* (1)

where {𝑍*<sub>t</sub>*} \~ WN (0, 𝜎<sup>2</sup>). 𝜙(*z*) and 𝜃(*z*) are polynomials of degrees *p* and *q*, respectively, where 𝜙(*z*) \(\neq \ \)0 for *|z|* ≤ 1 and *B* is the backward shift operator. The polynomial 𝜙*\**(*z*) has a zero of order *d* at *z =* 1. The process {*X<sub>t</sub>*} is stationary if and only if *d =* 0*,* in which case it simplifies to an ARMA (*p, q*) process.

The Autoregressive Fractionally Integrated Moving Average (ARFIMA) model (*p, d, q*) can be extended by including AR and MA and also the fractional difference. ARFIMA is a stationary process with a slower declining autocorrelation function (ACF) that can be used in modelling long-run memory process with  
0 \< |*d*| \< 0.5. The ARFIMA model is written as in Equation (2),

(1 − 𝐵)*<sup>d</sup>*𝜙(𝐵)𝑋*<sub>t</sub>* = \(\theta\)(𝐵)𝑍*<sub>t</sub>* (2)

where {𝑍*<sub>t</sub>*} \~ WN (0, 𝜎<sup>2</sup>). \(\phi\)(𝑧) and \(\theta\)(𝑧) are polynomials of degrees *p* and *q*, satisfying \(\phi\)(𝑧) ≠ 0 and \(\theta\)(𝑧) ≠ 0 respectively for all *z* such that |z| ≤ 1, and *B* is the backward shift operator. (1 − 𝐵)*<sup>d</sup>* is defined by the binomial expansion as in Equation (3),

(1 −\(\ \text{Β)}\)*<sup>d</sup>* = \(\sum_{i = 0}^{\infty}\pi_{i}B^{j}\) with n<sub>0</sub> = 1 and 𝜋<sub>i</sub> = \(\prod_{0 < k \leq i}^{}\frac{k - 1 - d}{k}\) for 𝑖 = 0,1,2, … (3)

where \(\prod\) indicates the gamma function and the parameter *d* can be assumed as any real number (Brockwell and Davis, 2002).

**Time Series Modelling Procedure**

For the purpose of time series modelling, a total of 139 observations for monthly average Kijang Emas prices were divided into two parts. The first part was used to fit the ARIMA and ARFIMA models by using data from January 2010 to December 2020. In the second part, the remaining 7 observations from January to July 2021 were applied for the post sample forecast accuracy check. The model fitting for the ARIMA and ARFIMA models were done by using the computer software ‘ITSM2000’. The forecast accuracy check was measured using the Mean Absolute Error (MAE), Root Mean Squared Error (RMSE) and Mean Absolute Percentage Error (MAPE) as given in Equations (4), (5) and (6) respectively,

MAE = \(\frac{\sum_{t = 1}^{n}|x_{i} - {\ \widehat{x}}_{i}|}{n}\) (4)

RMSE = \(\sqrt{\frac{\sum_{t = 1}^{n}{(x_{i} - {\widehat{x}}_{i})}^{2}}{n}}\) (5)

MAPE = \(\frac{\sum_{t = 1}^{n}\left| \frac{x_{i} - {\widehat{x}}_{i}}{x_{i}} \right|}{n}\  \times\) 100% (6)

where \(x_{i}\) is the actual observed value,\({\ \widehat{x}}_{i}\) denotes the estimated values and *n* denotes the number of estimated values.

Figure 2 displays the time series for Kijang Emas prices from January 2010 to December 2020, which consists of 132 observations. Since the plot in Figure 2 is not stationary and shows a linear trend, a Box-Cox transformation with the parameter value (λ\(\  =\) 0) was used to stabilize the variance and a differencing at lag 1 was applied to the series to eliminate the linear trend. Figure 3 shows a stationary plot of the transformed series after the mean was deducted. The autocorrelation function (ACF) and partial autocorrelation function (PACF) residual plots presented in Figure 4 is used to validate the model found.

![Chart Description automatically generated](61260e8768e4c_media/media/image1.PNG)

**Figure 2:** The time series plot for Kijang Emas prices in Malaysia from January 2010 to December 2020

![Graphical user interface Description automatically generated](61260e8768e4c_media/media/image2.PNG)

**Figure 3:** The stationarised series after transformation and differencing

![](61260e8768e4c_media/media/image3.emf)![](61260e8768e4c_media/media/image3.emf)

**Figure 4:** The residual ACF and PACF plot after transformation and differencing

The model fitting for ARIMA models was done by using the computer software ‘ITSM2000’. The ‘Autofit’ option was used in finding the maximum likelihood estimators with the lowest AICC value where AICC implies the bias-corrected version of Akaike Information Criterion (AIC) (Brockwell and Davis, 2002). After specifying the upper bound and lower bound for *p* and *q*, the program will choose the pair (*p, q*) with the smallest AICC statistic value that can be described through Equation (7) where the likelihood function is given by *L* in Equation (8) and *S* in Equation (9).

AICC = − 2 ln *L* (\(\phi_{p},\ \theta_{q},\ \frac{S(\phi_{p},\ \theta_{q})}{n}\) + \(\frac{2\left( p + q + 1 \right)n}{(n - p - q - 2)}\) (7)

*L* (\(\phi,\theta,\sigma^{2})\) = \(\frac{1}{\sqrt{\left( 2\pi\sigma^{2} \right)^{n}r_{0}\ldots r_{n - 1}}}e( - \frac{1}{2\sigma^{2}}\sum_{j = 1}^{n}\frac{{(x_{j} - {\widehat{x}}_{j})}^{2}}{r_{j} - 1})\) (8)

*S* (\(\phi,\theta) = \sum_{j = 1}^{n}\frac{{(x_{j} - {\widehat{x}}_{j})}^{2}}{r_{j} - 1}\) (9)

Note that \(r_{j}\) denotes E(\(W_{j + 1}\) − \({\widehat{W}}_{j + 1}\))<sup>2</sup> found recursively from the innovations algorithm with \(\kappa\) defined in Equation (10) where \(\gamma_{X}\left( \bullet \right)\) is the autocovariance function of {*X<sub>t</sub>*}. (For more details of the theory, please refer Brockwell & Davis, 2002).

\[\text{κ\ }\left( i,j \right) = \left\{ \begin{matrix}
\sigma^{- 2}\gamma_{X}\left( i - j \right),\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \& 1 \leq i,\ j \leq m, \\
\sigma^{- 2}\left\lbrack \gamma_{X}\left( i - j \right)\ –\ \sum_{r = 1}^{p}{\varnothing_{r}\gamma_{X}(r - |i - j|}) \right\rbrack,\ \ \&\min\left( i,j \right) \leq m < \max\left( i,j \right) \leq 2m, \\
\sum_{r = 0}^{q}{\theta_{r}\theta_{r + \left| i - j \right|}},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \&\min\left( i,j \right) > m, \\
0,\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \& otherwise. \\
\end{matrix} \right.\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (10)\]

The best fit model will then be used to forecast 7 months ahead from January to July 2021. The simplified steps of the modelling procedure using ‘ITSM2000’ software for this study is as given below.

Step 1: Obtained the Time Series plot (as in Figure 2).

Step 2: Applied Box-Cox Transformation to stabilize the variance of the series using the parameter values of \(\lambda = 0\).

Step 3: Differenced at lag 1 to remove the linear trend to obtain a stationarised time series (see Figure 3).

Step 4: Subtracted mean and fitted a time series model with the lowest AICC value using the ‘Autofit’ function.

Step 5: The residual ACF and PACF plots of the series were obtained (Figure 4) to check on the  
validity of the model found in Step 4. If 95% of the spikes in the plots were within the two  
horizontal boundaries (lines) in the residual plots, then the model found is valid.

Step 6: Forecasted using the best fit model.

The Steps 1 – 3 remained the same when fitting the ARFIMA model except that a declaration of the value of *d* to be fractionally integrated (non-integer) had to be specified before proceeding with Step 4.

# FINDINGS AND DISCUSSION

**ARIMA Model for Kijang Emas Price**

Based on the lowest AICC value obtained using the ‘autofit’ option in ‘ITSM2000’ as described in the Time Series Modelling Procedure above, ARIMA (1, 1, 1) model was found to be the best model in its class. The model is given by Equation (11),

> \(X_{t}\) = −0.8398\(X_{\left( t - 1 \right)}\) – \(Ζ_{t}\) + 1.000 \(Ζ_{\left( t - 1 \right)}\)<sub>,</sub> (11)

where {\(Ζ_{t}\)} \~ WN (0, 0.001029). The forecasted values together with their 95% confidence intervals found using the ARIMA (1, 1, 1) model for the monthly Kijang Emas prices in Malaysia from January to July 2021 together with their actual values are tabulated in Table 1 while the plots of the values are displayed in Figure 5. The ARIMA (1, 1, 1) model seems appropriate as each of the actual Kijang Emas price fell inside the 95% estimated intervals when forecasting using the model.

**Table 1:** The Actual Prices, Forecasted Values and 95% Forecast Intervals of Kijang Emas Price in Malaysia from January to July 2021 using ARIMA (1, 1, 1) Model.

| **Month** | **Actual Prices (RM)** | **Forecast Values** | **95% Forecast Interval** |
| --------- | ---------------------- | ------------------- | ------------------------- |
| January   | 8010                   | 8109                | (7615, 8635)              |
| February  | 7785                   | 8086                | (7343, 8903)              |
| March     | 7509                   | 8185                | (7289, 9190)              |
| April     | 7679                   | 8181                | (7139, 9375)              |
| May       | 8092                   | 8264                | (7105, 9613)              |
| Jun       | 8063                   | 8274                | (7003, 9777)              |
| July      | 8032                   | 8347                | (6974, 9989)              |

<span class="chart">\[CHART\]</span>

**Figure 5:** The Plot of Actual Prices, Forecasted Values and 95% Forecast Intervals of Kijang Emas Prices from January to July 2021 using ARIMA (1, 1, 1) Model

**ARFIMA Model for Kijang Emas Price**

Similarly, as explained in the Time Series Modelling Procedure given in the earlier section, the best ARFIMA model was found using the lowest AICC value too. However, the value of *d* is fractionally integrated to be between −0.5 and 0.5. The ARFIMA (1, 0.07694, 1) model emerged as the best model and is as given in Equation (12).

> (1 − 𝐵)<sup>0.07694</sup>(\(Χ_{t}\) + 0.8447\(Χ_{t - 1}\)) = \(\theta\)\(Ζ_{t}\) + 0.9694\(Ζ_{(t - 1)}\) (12)

where {\(Ζ_{t}\)} \~ WN (0, 0.001056). The forecasted values and the 95% confidence intervals using the ARFIMA (1, 0.07694, 1) model together with the actual values for the monthly Kijang Emas prices in Malaysia from January to July 2021 are as given Table 2. Figure 6 shows the plots of the values tabulated in Table 2. When forecasting using the ARFIMA (1, 0.07694, 1) model, it is clear that all of the actual Kijang Emas prices were found to be within the 95% forecast boundaries. The ARFIMA (1, 0.07694, 1) model is also a suitable model in forecasting the Kijang Emas prices.

**Table 2:** The Actual Prices, Forecasted Values and 95% Forecast Intervals of Kijang Emas Price in Malaysia from January to July 2021 using ARFIMA (1, 0.07694, 1) Model.

| **Month** | **Actual Prices (RM)** | **Forecast Values** | **95% Forecast Interval** |
| --------- | ---------------------- | ------------------- | ------------------------- |
| January   | 8010                   | 8091                | (7594, 8621)              |
| February  | 7785                   | 8068                | (7306, 8908)              |
| March     | 7509                   | 8162                | (7218, 9230)              |
| April     | 7679                   | 8161                | (7047, 9451)              |
| May       | 8092                   | 8244                | (6985, 9730)              |
| Jun       | 8063                   | 8257                | (6863, 9935)              |
| July      | 8032                   | 8331                | (6811, 10190)             |

<span class="chart">\[CHART\]</span>

**Figure 6:** The Plot of Actual Prices, Forecasted Values and 95% Forecast Intervals of Kijang Emas Prices from January to July 2021 using ARIMA (1, 0.07694, 1) Model

**Comparison between the ARIMA and ARFIMA Models**

This section will compare the performances of the forecast ability for both the ARIMA and ARFIMA models since they were able to forecast the Kijang Emas prices from January to July 2021 to be within the 95% forecast intervals. In this study, a better forecast model would have lower forecast errors which are represented by the values of MAE, RMSE and MAPE. It is obvious from Table 3 that the ARFIMA (1, 0.07694, 1) model has a better forecast ability of the Kijang Emas prices in Malaysia as it has smaller MAE, RMSE and MAPE values compared to those of the ARIMA (1, 1, 1) model.

Table 3. The MAE, RMSE and MAPE values of Kijang Emas prices in Malaysia for  
ARIMA (1, 1, 1) and ARFIMA (1, 0.07694, 1) model.

| **Models**             | **MAE**      | **RMSE**     | **MAPE**  |
| ---------------------- | ------------ | ------------ | --------- |
| ARIMA (1, 1, 1)        | **325.1429** | **374.6831** | **4.19%** |
| ARFIMA (1, 0.07694, 1) | **306.2857** | **357.6758** | **3.95%** |

**CONCLUSION AND RECOMMENDATIONS**

It is obvious that forecasting could be done to better understand the pattern of gold prices in Malaysia. The overall pattern of the monthly average Kijang Emas prices in Malaysia from the year 2010 to the year 2020 showed a gradual increasing linear but fluctuating trend. The purpose of this study is to model and forecast the Kijang Emas prices in Malaysia using time series models namely, the ARIMA and ARFIMA models. The entire actual monthly Kijang Emas prices from January to July 2021 were found to be inside the range of the 95% forecast intervals for both the ARIMA and ARFIMA models. The performances for each model were checked by considering the MAE, RMSE and MAPE values and the ARFIMA model emerged to be the better model in forecasting the Kijang Emas prices in Malaysia compared to the ARIMA model. In this study, the long memory model (ARFIMA model) performed better than the short memory model (ARIMA model) in forecasting the Kijang Emas prices. As mentioned in a previous study by Azzutti (2016), the ARIMA model was the best model in forecasting gold prices, but it is not the case in this study. As a result, it is evident that updating the models when new data become available is both recommended and necessary. Since the proposed models used in the study were univariate time series models which only considered the data alone. For further study, we recommend applying other forecasting models like the Vector Autoregression (VAR) or Generalized Autoregressive Conditional Heteroscedasticity (GARCH) models.

**ACKNOWLEDGMENTS**

**  
**We would like to express our highest gratitude to our supervisor for her guidance throughout the progress of completing this article. A huge thanks to our beloved family who have given their full support and encouragement in the process of finishing this report. Last but not least, a heartfelt gratitude to other group members for having to endure the pain in making this study complete. It is hoped that this study would be a base for future study. Thank You.

**REFERENCES**

Azzutti, A. (2016). Forecasting Gold Price: A Comparative Study. DOI:10.13140/RG.2.1. 4206.5686

Bank Negara Malaysia (2021). *Kijang Emas Prices*. Retrieved on 1 April 2021 from https://www.bnm.gov.my/kijang-emas-prices.

Bernama. (2020). *Covid-19 Vaccine Takes Shine Off Gold as Investment Item. Free Malaysia Today (FMT).* Retrieved on 25 April 2021 from https://www.freemalaysiatoday.com/category/nation/2020/12/01/covid-19-vaccine-takes-shine-off-gold-as-investment-item/.

Bhardwaj, G., & Swanson, N. R. (2006). An Empirical Investigation of The Usefulness of ARFIMA Models for Predicting Macroeconomic and Financial Time Series. *Journal of Econometrics*, *131*(1-2), 539–578.

Brockwell, P.J. & Davis, R.A. (2002). *Introduction to Time Series and Forecasting, Second Edition*. Springer, New York.

Eryigit, M. (2017). Short-Term and Long-Term Relationships Between Gold Prices and Precious Metal (Palladium, Silver, and Platinum) and Energy (Crude Oil and Gasoline) Prices. *Economic Research-Ekonomska Istraživanja,* *30*(1), 499–510.

Gorn, S. (2021). *Gold Price Forecast and Prediction for 2021, 2022, 2023, 2025-2030: PrimeXBT.* Retrieved on 18 May 2021 from https://primexbt.com/blog/gold-price-prediction-forecast/.

Granger, C. W., & Joyeux, R. (1980). An Introduction to Long-Memory Time Series Models and Fractional Differencing. *Journal of Time Series Analysis*, *1*(1), 15–29.

Guha, B., & Bandyopadhyay, G. (2016). Gold Price Forecasting using ARIMA Model. *Journal of Advanced Management Science*, *4*(2).

Gunaseelan, S & Kesavan, N. (2016). Gold Price Volatility Differences Among Major Countries - An Analysis for Two Decades (1996-2015).

Hashim, S. L., Ramlan, H., Razali, N. H., & Nordin, N. Z. (2017). Macroeconomic Variables Affecting the Volatility of Gold Price. *Journal of Global Business and Social Entrepreneurship (GBSE)*, *3*(5), 97-106.

Hayes, A. (2021). *Autoregressive Integrated Moving Average (ARIMA).* Investopedia. Retrieve on 31 July 2021 from https://www.investopedia.com/terms/a/autoregressive-integrated-moving-average-arima.asp.

Henriksen, T. E. S. (2018). Properties of Long/Short Commodity Indices in Stock and Bond Portfolios. *The Journal of Alternative Investments*, *20*(4), 51–68.

Hoong, T. B. (2021). *Does Gold Still Matter Post-Pandemic? New Straits Times.* NST Online. Retrieved on 18 May 2021 from https://www.nst.com.my/opinion/letters/2021/02/666638/does-gold-still-matter-post-pandemic.

Johan, Z. J. (2020). Investors with The Golden-I: Preference in Gold-I Investment. *Journal of Emerging Economies & Islamic Research, 8*(2), 1-11.

Khamis, A., & Awang, N. S. (2020). Forecasting Kijang Emas Price Using Holt-Tend Exponential Smoothing and ARIMA Model. *International Journal for Research in Applied Science and Engineering Technology,* *8*(8), 1531–1539.

Lazim. (2018). *Introductory Business Forecasting: A Practical Approach.* Kuala Lumpur: UiTM Press.

Pistilli, M. (2021). *What Was the Highest Price of Gold? Investing News Network (INN).* Retrieved on 24 August 2021 from https://investingnews.com/daily/resource-investing/precious-metals-investing/gold-investing/highest-price-for-gold/.

Razimi, A., Shahril, M., Romle, A.R. & Azizan, K.A. (2017). An Understanding of Shariah Issues on Gold Investment: A Review. *Asian Journal of Business Management Studies (AJBMS), 8*(1), 9-12.

Sato, R. C. (2013). Disease Management with ARIMA Model in Time Series. *Einstein (Sao Paulo)*, *11*, 128-131.

World Gold Council (2019). *The Relevance of Gold as a Strategic Asset 2019 Edition.* Retrieved on 29 April 2021 from https://www.gold.org/.10/8/2019.

Yang, X. (2018). The Prediction of Gold Price Using ARIMA Model. *Advances in Social Science, Education and Humanities Research*, *196*(2), 273-276.18.2019.66.

Yousef, I., & Shehadeh, E. (2020). The Impact of the COVID-19 On Gold Price Volatility. *International Journal of Economics & Business Administration (IJEBA)*, *8*(4), 353-364.

Zainab, M., & Neha, S. (2019). Gold and Investor's Perspective in Different Market Conditions. *Advances in Management*, *12*(1), 68-70.
