Pub Date : 2024-06-02DOI: 10.1007/s10614-024-10632-2
Alvaro Salazar-Perez, Hernán D. Seoane
This paper illustrates the power of Julia language for the solution and estimation of Dynamic Stochastic General Equilibrium models. We document large gains of the Julia implementation of Perturbation solution (first and higher orders) and Bayesian estimation using two workhorse models in the literature: the Real Business Cycle Model and a medium scale New-Keynesian Model. We release a companion package that implements 1st, 2nd a 3rd order approximation of Dynamic Stochastic General Equilibrium models and allows for estimation of (log-)linearized models using Sequential Monte-Carlo Methods. Our examples highlight that Julia has low entry costs and it is a language where it is easy to deal with parallelization.
本文展示了 Julia 语言在动态随机一般均衡模型求解和估计方面的强大功能。我们利用文献中的两个主要模型:实际商业周期模型和中等规模的新凯恩斯主义模型,记录了 Julia 实现扰动求解(一阶和高阶)和贝叶斯估计的巨大收益。我们发布的配套软件包实现了动态随机一般均衡模型的一阶、二阶和三阶近似,并允许使用序列蒙特卡洛方法对(对数)线性化模型进行估计。我们的示例突出表明,Julia 的入门成本很低,是一种易于处理并行化问题的语言。
{"title":"Perturbating and Estimating DSGE Models in Julia","authors":"Alvaro Salazar-Perez, Hernán D. Seoane","doi":"10.1007/s10614-024-10632-2","DOIUrl":"https://doi.org/10.1007/s10614-024-10632-2","url":null,"abstract":"<p>This paper illustrates the power of Julia language for the solution and estimation of Dynamic Stochastic General Equilibrium models. We document large gains of the Julia implementation of Perturbation solution (first and higher orders) and Bayesian estimation using two workhorse models in the literature: the Real Business Cycle Model and a medium scale New-Keynesian Model. We release a companion package that implements 1st, 2nd a 3rd order approximation of Dynamic Stochastic General Equilibrium models and allows for estimation of (log-)linearized models using Sequential Monte-Carlo Methods. Our examples highlight that Julia has low entry costs and it is a language where it is easy to deal with parallelization.</p>","PeriodicalId":50647,"journal":{"name":"Computational Economics","volume":null,"pages":null},"PeriodicalIF":2.0,"publicationDate":"2024-06-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141190108","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"经济学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2024-06-01DOI: 10.1007/s10614-024-10636-y
Arthur Emanuel de Oliveira Carosia, Ana Estela Antunes da Silva, Guilherme Palermo Coelho
Recent advances in Machine Learning and, especially, Deep Learning, have led to applications of these areas in different fields of knowledge, with great emphasis on stock market prediction. There are two main approaches in the literature to predict future prices in the stock market: (1) considering historical stock prices; and (2) considering news or social media documents. Despite the recent efforts to combine these two approaches, the literature lacks works in which both strategies are performed with Deep Learning, which has led to state-of-art results in many regression and classification tasks. To overcome these limitations, in this work we proposed a new Deep Learning-based approach to predict the Brazilian stock market combining the use of historical stock prices, financial technical indicators, and financial news. The experiments were performed considering the period from 2010 to 2019 with the Ibovespa index and the historical prices of the following Brazilian companies: Banco do Brasil, Itaú, Ambev, and Gerdau, which have significant contribution to the Ibovespa index. Our results show that the combination of stock prices, technical indicators and news improves the stock market prediction considering both the prediction error and return-of-investment.
{"title":"Predicting the Brazilian Stock Market with Sentiment Analysis, Technical Indicators and Stock Prices: A Deep Learning Approach","authors":"Arthur Emanuel de Oliveira Carosia, Ana Estela Antunes da Silva, Guilherme Palermo Coelho","doi":"10.1007/s10614-024-10636-y","DOIUrl":"https://doi.org/10.1007/s10614-024-10636-y","url":null,"abstract":"<p>Recent advances in Machine Learning and, especially, Deep Learning, have led to applications of these areas in different fields of knowledge, with great emphasis on stock market prediction. There are two main approaches in the literature to predict future prices in the stock market: (1) considering historical stock prices; and (2) considering news or social media documents. Despite the recent efforts to combine these two approaches, the literature lacks works in which both strategies are performed with Deep Learning, which has led to state-of-art results in many regression and classification tasks. To overcome these limitations, in this work we proposed a new Deep Learning-based approach to predict the Brazilian stock market combining the use of historical stock prices, financial technical indicators, and financial news. The experiments were performed considering the period from 2010 to 2019 with the Ibovespa index and the historical prices of the following Brazilian companies: Banco do Brasil, Itaú, Ambev, and Gerdau, which have significant contribution to the Ibovespa index. Our results show that the combination of stock prices, technical indicators and news improves the stock market prediction considering both the prediction error and return-of-investment.</p>","PeriodicalId":50647,"journal":{"name":"Computational Economics","volume":null,"pages":null},"PeriodicalIF":2.0,"publicationDate":"2024-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141189891","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"经济学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2024-05-31DOI: 10.1007/s10614-024-10638-w
Alejandro García-Figal, Alejandro Lage-Castellanos, Daniel A. Amaro, R. Mulet
Every market leaves its fingerprint in prices time series. The Efficient Market Hypothesis (EMH), considers that prices behave as random walks, a property that has been tested on whole data sets of both formal and informal markets. Here we extend this idea studying the Cuban informal exchange market using two standard tests, the Wald-Wolfowitz runs test and the Variance ratio test. Moreover, while these tests are usually done in the whole data set, we check whether different intervals of the series and the series on different time scales fulfill the EMH. Therefore, we repeated the tests in the fast components of the market obtained from an Empirical Mode Decomposition of the data and on separated time intervals defined through a Hidden Markov Model with two latent variables. We concluded that in all cases the Efficient Market Hypothesis is violated. We finish our work discussing some possible causes and consequences of this inefficiency.
{"title":"On the Efficiency of the Informal Currency Markets: The Case of the Cuban Peso","authors":"Alejandro García-Figal, Alejandro Lage-Castellanos, Daniel A. Amaro, R. Mulet","doi":"10.1007/s10614-024-10638-w","DOIUrl":"https://doi.org/10.1007/s10614-024-10638-w","url":null,"abstract":"<p>Every market leaves its fingerprint in prices time series. The Efficient Market Hypothesis (EMH), considers that prices behave as random walks, a property that has been tested on whole data sets of both formal and informal markets. Here we extend this idea studying the Cuban informal exchange market using two standard tests, the Wald-Wolfowitz runs test and the Variance ratio test. Moreover, while these tests are usually done in the whole data set, we check whether different intervals of the series and the series on different time scales fulfill the EMH. Therefore, we repeated the tests in the fast components of the market obtained from an Empirical Mode Decomposition of the data and on separated time intervals defined through a Hidden Markov Model with two latent variables. We concluded that in all cases the Efficient Market Hypothesis is violated. We finish our work discussing some possible causes and consequences of this inefficiency.</p>","PeriodicalId":50647,"journal":{"name":"Computational Economics","volume":null,"pages":null},"PeriodicalIF":2.0,"publicationDate":"2024-05-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141189888","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"经济学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2024-05-28DOI: 10.1007/s10614-024-10629-x
Mehmet Sarıkoç, Mete Celik
In this paper, we propose a new hybrid model based on a deep learning network to predict the prices of financial assets. The study addresses two key limitations in existing research: (1) the lack of standardized datasets, time scales, and evaluation metrics, and (2) the focus on prediction return. The proposed model employs a two-stage preprocessing approach utilizing Principal Component Analysis (PCA) for dimensionality reduction and de-noising, followed by Independent Component Analysis (ICA) for feature extraction. A Long Short-Term Memory (LSTM) network with five layers is fed with this preprocessed data to predict the price of the next day using a 5 day time horizon. To ensure comparability with existing literature, experiments employ an 18 year dataset of the Standard & Poor's 500 (S&P500) index and include over 40 technical indicators. Performance evaluation encompasses six metrics, highlighting the model's superiority in accuracy and return rates. Comparative analyses demonstrate the superiority of the proposed PCA-ICA-LSTM model over single-stage statistical methods and other deep learning architectures, achieving notable improvements in evaluation metrics. Evaluation against previous studies using similar datasets corroborates the model's superior performance. Moreover, extensions to the study include adjustments to dataset parameters to account for the COVID-19 pandemic, resulting in improved return rates surpassing traditional trading strategies. PCA-ICA-LSTM achieves a 220% higher return compared to the “hold and wait” strategy in the extended S&P500 dataset, along with a 260% higher return than its closest competitor in the comparison. Furthermore, it outperformed other models in additional case studies.
{"title":"PCA-ICA-LSTM: A Hybrid Deep Learning Model Based on Dimension Reduction Methods to Predict S&P 500 Index Price","authors":"Mehmet Sarıkoç, Mete Celik","doi":"10.1007/s10614-024-10629-x","DOIUrl":"https://doi.org/10.1007/s10614-024-10629-x","url":null,"abstract":"<p>In this paper, we propose a new hybrid model based on a deep learning network to predict the prices of financial assets. The study addresses two key limitations in existing research: (1) the lack of standardized datasets, time scales, and evaluation metrics, and (2) the focus on prediction return. The proposed model employs a two-stage preprocessing approach utilizing Principal Component Analysis (PCA) for dimensionality reduction and de-noising, followed by Independent Component Analysis (ICA) for feature extraction. A Long Short-Term Memory (LSTM) network with five layers is fed with this preprocessed data to predict the price of the next day using a 5 day time horizon. To ensure comparability with existing literature, experiments employ an 18 year dataset of the Standard & Poor's 500 (S&P500) index and include over 40 technical indicators. Performance evaluation encompasses six metrics, highlighting the model's superiority in accuracy and return rates. Comparative analyses demonstrate the superiority of the proposed PCA-ICA-LSTM model over single-stage statistical methods and other deep learning architectures, achieving notable improvements in evaluation metrics. Evaluation against previous studies using similar datasets corroborates the model's superior performance. Moreover, extensions to the study include adjustments to dataset parameters to account for the COVID-19 pandemic, resulting in improved return rates surpassing traditional trading strategies. PCA-ICA-LSTM achieves a 220% higher return compared to the “hold and wait” strategy in the extended S&P500 dataset, along with a 260% higher return than its closest competitor in the comparison. Furthermore, it outperformed other models in additional case studies.</p><h3 data-test=\"abstract-sub-heading\">Graphical Abstract</h3>","PeriodicalId":50647,"journal":{"name":"Computational Economics","volume":null,"pages":null},"PeriodicalIF":2.0,"publicationDate":"2024-05-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141173200","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"经济学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2024-05-28DOI: 10.1007/s10614-024-10588-3
Serdar Arslan
Cryptocurrencies have garnered significant attention recently due to widespread investments. Additionally, researchers have increasingly turned to social media, particularly in the context of financial markets, to harness its predictive capabilities. Investors rely on platforms like Twitter to analyze investments and detect trends, which can directly impact the future price movements of Bitcoin. Understanding and analyzing Twitter sentiments can potentially provide insights into future Bitcoin price movements and can shed light on how investor sentiment affects cryptocurrency markets. In this study, we explore the correlation between Twitter activity and Bitcoin prices by examining tweets related to Bitcoin price sentiments. Our proposed model consists of two distinct networks. The first network exclusively utilizes historical price data, which is further decomposed into various components using the Empirical Mode Decomposition method. This decomposition helps mitigate the impact of irregular fluctuations on Bitcoin price predictions. Each of these components is then separately processed by Long Short-Term Memory (LSTM) networks. The second network focuses on modeling user sentiments and emotions in conjunction with Bitcoin market data. User opinions are categorized into positive and negative classes and are integrated with historical data to predict the next-day price using LSTM networks. Finally, the outputs of each network are combined to form the ultimate prediction values. Experimental results demonstrate that Twitter sentiment can effectively helps us predict Bitcoin price trends. Furthermore, to validate our proposed model, we compared it with several state-of-the-art methods. The results indicate that our approach outperforms these existing models in terms of accuracy.
{"title":"Bitcoin Price Prediction Using Sentiment Analysis and Empirical Mode Decomposition","authors":"Serdar Arslan","doi":"10.1007/s10614-024-10588-3","DOIUrl":"https://doi.org/10.1007/s10614-024-10588-3","url":null,"abstract":"<p>Cryptocurrencies have garnered significant attention recently due to widespread investments. Additionally, researchers have increasingly turned to social media, particularly in the context of financial markets, to harness its predictive capabilities. Investors rely on platforms like Twitter to analyze investments and detect trends, which can directly impact the future price movements of Bitcoin. Understanding and analyzing Twitter sentiments can potentially provide insights into future Bitcoin price movements and can shed light on how investor sentiment affects cryptocurrency markets. In this study, we explore the correlation between Twitter activity and Bitcoin prices by examining tweets related to Bitcoin price sentiments. Our proposed model consists of two distinct networks. The first network exclusively utilizes historical price data, which is further decomposed into various components using the Empirical Mode Decomposition method. This decomposition helps mitigate the impact of irregular fluctuations on Bitcoin price predictions. Each of these components is then separately processed by Long Short-Term Memory (LSTM) networks. The second network focuses on modeling user sentiments and emotions in conjunction with Bitcoin market data. User opinions are categorized into positive and negative classes and are integrated with historical data to predict the next-day price using LSTM networks. Finally, the outputs of each network are combined to form the ultimate prediction values. Experimental results demonstrate that Twitter sentiment can effectively helps us predict Bitcoin price trends. Furthermore, to validate our proposed model, we compared it with several state-of-the-art methods. The results indicate that our approach outperforms these existing models in terms of accuracy.</p>","PeriodicalId":50647,"journal":{"name":"Computational Economics","volume":null,"pages":null},"PeriodicalIF":2.0,"publicationDate":"2024-05-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141171615","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"经济学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2024-05-25DOI: 10.1007/s10614-024-10623-3
Morteza Garshasbi, Shadi Malek Bagomghaleh
This study focuses on the Black–Scholes American call option model as a moving boundary problem. Using a front-fixing approach, the model is derived as a fixed domain nonlinear parabolic problem, and the uniqueness of both the call option price and critical stock price is established. An iterative approach is established to numerically solve the problem, and the convergence of the iterative method is proved. For computational implementation, a finite difference scheme in conjunction with a second-order Runge–Kutta method is conducted. Finally, the numerical results for two test problems are reported in order to confirm our theoretical achievements.
{"title":"On a Black–Scholes American Call Option Model","authors":"Morteza Garshasbi, Shadi Malek Bagomghaleh","doi":"10.1007/s10614-024-10623-3","DOIUrl":"https://doi.org/10.1007/s10614-024-10623-3","url":null,"abstract":"<p>This study focuses on the Black–Scholes American call option model as a moving boundary problem. Using a front-fixing approach, the model is derived as a fixed domain nonlinear parabolic problem, and the uniqueness of both the call option price and critical stock price is established. An iterative approach is established to numerically solve the problem, and the convergence of the iterative method is proved. For computational implementation, a finite difference scheme in conjunction with a second-order Runge–Kutta method is conducted. Finally, the numerical results for two test problems are reported in order to confirm our theoretical achievements.</p>","PeriodicalId":50647,"journal":{"name":"Computational Economics","volume":null,"pages":null},"PeriodicalIF":2.0,"publicationDate":"2024-05-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141150934","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"经济学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2024-05-24DOI: 10.1007/s10614-024-10626-0
Ali Alizadeh, F. S. Gharehchopogh, Mohammad Masdari, Ahmad Jafarian
{"title":"A Hybrid Multi-population Optimization Algorithm for Global Optimization and Its Application on Stock Market Prediction","authors":"Ali Alizadeh, F. S. Gharehchopogh, Mohammad Masdari, Ahmad Jafarian","doi":"10.1007/s10614-024-10626-0","DOIUrl":"https://doi.org/10.1007/s10614-024-10626-0","url":null,"abstract":"","PeriodicalId":50647,"journal":{"name":"Computational Economics","volume":null,"pages":null},"PeriodicalIF":2.0,"publicationDate":"2024-05-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141102497","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"经济学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2024-05-23DOI: 10.1007/s10614-024-10630-4
C. Flores Komatsu, L. A. Gil-Alana
{"title":"Analyzing Stationarity in World Coffee Prices","authors":"C. Flores Komatsu, L. A. Gil-Alana","doi":"10.1007/s10614-024-10630-4","DOIUrl":"https://doi.org/10.1007/s10614-024-10630-4","url":null,"abstract":"","PeriodicalId":50647,"journal":{"name":"Computational Economics","volume":null,"pages":null},"PeriodicalIF":2.0,"publicationDate":"2024-05-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141105623","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"经济学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2024-05-22DOI: 10.1007/s10614-024-10619-z
Oleksandr Castello, Marina Resta
{"title":"Optimal Time Varying Parameters in Yield Curve Modeling and Forecasting: A Simulation Study on BRICS Countries","authors":"Oleksandr Castello, Marina Resta","doi":"10.1007/s10614-024-10619-z","DOIUrl":"https://doi.org/10.1007/s10614-024-10619-z","url":null,"abstract":"","PeriodicalId":50647,"journal":{"name":"Computational Economics","volume":null,"pages":null},"PeriodicalIF":2.0,"publicationDate":"2024-05-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141112142","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"经济学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}