Assessing Lag-Llama in Probabilistic Time Series Forecasting for the Indonesian Stock Market
Accurately predicting stock prices is crucial for investors and policymakers. This paper presents the first empirical evaluation of Lag-Llama, a novel probabilistic time series forecasting model, for predicting stock prices on the Indonesian Stock Exchange (IDX). By applying Lag-Llama to both univariate and multi-time series forecasts of key IDX stocks, we assess its ability to capture temporal patterns and market volatility, particularly in comparison to state-of-the-art models like DeepAR (RNN) and Temporal Fusion Transformer (TFT). Our results show that in fine-tuning scenarios Lag-Llama achieves a Continuous Ranked Probability Score (CRPS) of 0.0195 on a combined dataset of three major stocks (BBCA, BMRI, and AMRT), closely matching TFT (CRPS 0.0179) and outperforming DeepAR (CRPS 0.0270). However, forecasting across broader stock groups (Top 1–9 and Top 10–18 by market capitalization) proves more challenging, with CRPS values rising (e.g. 0.0517 for the Top 1– 9 stocks). This study demonstrates Lag-Llama’s potential as a robust tool for stock price prediction—particularly for select, closely-related stock groupings—offering improved precision and reliability compared to traditional methods.
Authors
- Winda Monika (ORCID: https://orcid.org/0000-0002-4637-5735)
- Anggi Hanafiah (ORCID: https://orcid.org/0000-0001-9102-7089)
- Rajalingam Sokkalingam (ORCID: https://orcid.org/0000-0002-3747-8695)
- Andry Alamsyah (ORCID: https://orcid.org/0000-0001-5106-7561)
- Arbi Haza Nasution (ORCID: https://orcid.org/0000-0001-6283-3217)
- Mohd Sham Mohamad
Publication Details
- Journal
- Advances in Artificial Intelligence and Machine Learning
- Published
- 2025-01-01
- DOI
- https://doi.org/10.54364/aaiml.2025.52216
- Citations
- 1
- Primary Topic
- Stock Market Forecasting Methods
- Type
- article
- Field-Weighted Citation Impact
- 2.11