Bayesian semi-shared temporal modeling: A comprehensive approach to forecasting multiple stock prices
Stock prices of different companies frequently display similar temporal fluctuations because of common influencing factors. Accurate prediction of stock prices is of utmost importance for investors in determining their investment strategies. Utilizing multivariate forecasting, which involve...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
Growing Science
2024-01-01
|
Series: | International Journal of Data and Network Science |
Online Access: | http://www.growingscience.com/ijds/Vol8/ijdns_2024_18.pdf |
_version_ | 1797201504474497024 |
---|---|
author | Gatot Riwi Setyanto I Gede Nyoman Mindra Jaya Farah Kristiani |
author_facet | Gatot Riwi Setyanto I Gede Nyoman Mindra Jaya Farah Kristiani |
author_sort | Gatot Riwi Setyanto |
collection | DOAJ |
description | Stock prices of different companies frequently display similar temporal fluctuations because of common influencing factors. Accurate prediction of stock prices is of utmost importance for investors in determining their investment strategies. Utilizing multivariate forecasting, which involves analyzing multiple time series, has been shown to be highly effective and efficient when applied to stocks that exhibit similar temporal patterns. It is possible to model the relationship between shares by using a shared temporal model approach. Nevertheless, it is important to note that not all stocks selected for prediction demonstrate a strong correlation; certain stocks may deviate from expected patterns. Therefore, the direct implementation of a comprehensive shared temporal component model is not universally applicable. This study presents a new method called the Semi-Shared Temporal Model, which focuses on the correlation structure among variables that have similar patterns, while also modeling all stocks simultaneously. This methodology is applied to the three leading stocks of 2023: Amazon (AMZN), Alphabet (GOOG), and MercadoLibre (MELI). Based on monthly data collected from January 2010 to December 2023, the study forecasts the stock prices for the months of January to December 2024. The analysis findings suggest that the temporal patterns of AMZN and GOOG shares are highly similar, which supports the idea of modeling them together with shared temporality. Three forecasting methods are utilized: univariate models, full shared temporal models, and semi-shared temporal models. The analysis determines that the semi-shared temporal model approach produces the most precise forecasting outcomes, with a Mean Absolute Percentage Error (MAPE) of 17.97%, surpassing both univariate and full shared temporal models. The forecast for 2024 indicates a favorable trajectory for all three stocks. |
first_indexed | 2024-04-24T07:48:36Z |
format | Article |
id | doaj.art-29c851959af6404fa102b254462fcb26 |
institution | Directory Open Access Journal |
issn | 2561-8148 2561-8156 |
language | English |
last_indexed | 2024-04-24T07:48:36Z |
publishDate | 2024-01-01 |
publisher | Growing Science |
record_format | Article |
series | International Journal of Data and Network Science |
spelling | doaj.art-29c851959af6404fa102b254462fcb262024-04-18T15:10:24ZengGrowing ScienceInternational Journal of Data and Network Science2561-81482561-81562024-01-01831947195810.5267/j.ijdns.2024.1.018Bayesian semi-shared temporal modeling: A comprehensive approach to forecasting multiple stock pricesGatot Riwi SetyantoI Gede Nyoman Mindra JayaFarah Kristiani Stock prices of different companies frequently display similar temporal fluctuations because of common influencing factors. Accurate prediction of stock prices is of utmost importance for investors in determining their investment strategies. Utilizing multivariate forecasting, which involves analyzing multiple time series, has been shown to be highly effective and efficient when applied to stocks that exhibit similar temporal patterns. It is possible to model the relationship between shares by using a shared temporal model approach. Nevertheless, it is important to note that not all stocks selected for prediction demonstrate a strong correlation; certain stocks may deviate from expected patterns. Therefore, the direct implementation of a comprehensive shared temporal component model is not universally applicable. This study presents a new method called the Semi-Shared Temporal Model, which focuses on the correlation structure among variables that have similar patterns, while also modeling all stocks simultaneously. This methodology is applied to the three leading stocks of 2023: Amazon (AMZN), Alphabet (GOOG), and MercadoLibre (MELI). Based on monthly data collected from January 2010 to December 2023, the study forecasts the stock prices for the months of January to December 2024. The analysis findings suggest that the temporal patterns of AMZN and GOOG shares are highly similar, which supports the idea of modeling them together with shared temporality. Three forecasting methods are utilized: univariate models, full shared temporal models, and semi-shared temporal models. The analysis determines that the semi-shared temporal model approach produces the most precise forecasting outcomes, with a Mean Absolute Percentage Error (MAPE) of 17.97%, surpassing both univariate and full shared temporal models. The forecast for 2024 indicates a favorable trajectory for all three stocks.http://www.growingscience.com/ijds/Vol8/ijdns_2024_18.pdf |
spellingShingle | Gatot Riwi Setyanto I Gede Nyoman Mindra Jaya Farah Kristiani Bayesian semi-shared temporal modeling: A comprehensive approach to forecasting multiple stock prices International Journal of Data and Network Science |
title | Bayesian semi-shared temporal modeling: A comprehensive approach to forecasting multiple stock prices |
title_full | Bayesian semi-shared temporal modeling: A comprehensive approach to forecasting multiple stock prices |
title_fullStr | Bayesian semi-shared temporal modeling: A comprehensive approach to forecasting multiple stock prices |
title_full_unstemmed | Bayesian semi-shared temporal modeling: A comprehensive approach to forecasting multiple stock prices |
title_short | Bayesian semi-shared temporal modeling: A comprehensive approach to forecasting multiple stock prices |
title_sort | bayesian semi shared temporal modeling a comprehensive approach to forecasting multiple stock prices |
url | http://www.growingscience.com/ijds/Vol8/ijdns_2024_18.pdf |
work_keys_str_mv | AT gatotriwisetyanto bayesiansemisharedtemporalmodelingacomprehensiveapproachtoforecastingmultiplestockprices AT igedenyomanmindrajaya bayesiansemisharedtemporalmodelingacomprehensiveapproachtoforecastingmultiplestockprices AT farahkristiani bayesiansemisharedtemporalmodelingacomprehensiveapproachtoforecastingmultiplestockprices |