The multivariate Bayesian structural time series (MBSTS) model is a general machine learning model that deals with inference and prediction for multiple correlated time series, where one also has the choice of using a different candidate pool of contemporaneous predictors for each target series. The MBSTS model has wide applications and is ideal for feature selection, time series forecasting, nowcasting, inferring causal impact, and others. This paper demonstrates how to use the R package mbsts for MBSTS modeling, establishing a bridge between user-friendly and developer-friendly functions in the package and the corresponding methodology. Object-oriented functions in the package are explained in the way that enables users to flexibly add or deduct some components, as well as to simplify or complicate some settings.
翻译:多变量贝叶斯结构时间序列模型(MBSTS)是一个通用机器学习模型,涉及多个相关时间序列的推论和预测,在这个模型中,人们也可以选择为每个目标序列使用不同的候选同期预测器库。MBSTS模型具有广泛的应用,对于特征选择、时间序列预测、即时预报、即时预报、推断因果关系和其他功能都是理想的。本文展示了如何使用R包组合模型进行MBSTS建模,在包件中和相应的方法中建立方便用户和开发者友好功能之间的桥梁。对包件中面向目标的功能的解释使用户能够灵活地添加或扣减某些部件,以及简化某些设置或使之复杂化。