Construction of Forecast Models based on Bayesian Structural Time Series

I. Kalinina, P. Bidyuk, A. Gozhyj
{"title":"Construction of Forecast Models based on Bayesian Structural Time Series","authors":"I. Kalinina, P. Bidyuk, A. Gozhyj","doi":"10.1109/CSIT56902.2022.10000484","DOIUrl":null,"url":null,"abstract":"The article discusses the methodology for solving problems of modeling and forecasting time series using the method of Bayesian structural time series (BSTS). The analysis used real stock price data from Amazon, Facebook, and Google over a period of three and a half years. The Bayesian model of the structural time series was described. The model is presented in the form of a state space. The learning process of the BSTS model is performed in four stages: setting the structural components of the model and a priori probabilities; applying a Kalman filter to update state estimates based on a set of input data; application of the “spike-and-slab” method to select variables in a structural model; averaging the results of the Bayesian model in order to make a forecast. An algorithm for constructing a BSTS model with predictors was developed. The process of fitting structural models of time series was performed using the Kalman filter and the Monte Carlo method according to the Markov chain scheme (MCMC). The results of modeling and forecasting of the BSTS model with predictors were compared with similar models without predictors. The calculation procedures and visualization were performed using the BSTS package implemented in R. The prediction accuracy for competing models was evaluated using prediction plots and a set of metrics: MAPE, MAE, RMSE, and Theil U statistics.","PeriodicalId":282561,"journal":{"name":"2022 IEEE 17th International Conference on Computer Sciences and Information Technologies (CSIT)","volume":"21 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE 17th International Conference on Computer Sciences and Information Technologies (CSIT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CSIT56902.2022.10000484","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The article discusses the methodology for solving problems of modeling and forecasting time series using the method of Bayesian structural time series (BSTS). The analysis used real stock price data from Amazon, Facebook, and Google over a period of three and a half years. The Bayesian model of the structural time series was described. The model is presented in the form of a state space. The learning process of the BSTS model is performed in four stages: setting the structural components of the model and a priori probabilities; applying a Kalman filter to update state estimates based on a set of input data; application of the “spike-and-slab” method to select variables in a structural model; averaging the results of the Bayesian model in order to make a forecast. An algorithm for constructing a BSTS model with predictors was developed. The process of fitting structural models of time series was performed using the Kalman filter and the Monte Carlo method according to the Markov chain scheme (MCMC). The results of modeling and forecasting of the BSTS model with predictors were compared with similar models without predictors. The calculation procedures and visualization were performed using the BSTS package implemented in R. The prediction accuracy for competing models was evaluated using prediction plots and a set of metrics: MAPE, MAE, RMSE, and Theil U statistics.
基于贝叶斯结构时间序列的预测模型构建
本文讨论了利用贝叶斯结构时间序列(BSTS)方法解决时间序列建模和预测问题的方法。该分析使用了亚马逊、Facebook和谷歌在三年半时间里的真实股价数据。描述了结构时间序列的贝叶斯模型。该模型以状态空间的形式呈现。BSTS模型的学习过程分为四个阶段:设置模型的结构成分和先验概率;基于一组输入数据,应用卡尔曼滤波器更新状态估计;“柱板法”在结构模型变量选择中的应用对贝叶斯模型的结果求平均值,以便作出预测。提出了一种构造带有预测因子的BSTS模型的算法。根据马尔可夫链格式(MCMC),采用卡尔曼滤波和蒙特卡罗方法对时间序列结构模型进行拟合。将带预测因子的BSTS模型与不带预测因子的类似模型的建模和预测结果进行了比较。使用r中实现的BSTS包执行计算程序和可视化。使用预测图和一组指标(MAPE、MAE、RMSE和Theil U统计)评估竞争模型的预测精度。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信