tsc.setting {mbsts} | R Documentation |
Specification of time series components
Description
Specify three time series components for the MBSTS model: the generalized linear trend component, the seasonal component, and the cycle component.
Usage
tsc.setting(Ytrain, mu, rho, S, vrho, lambda)
Arguments
Ytrain |
The multivariate time series to be modeled. |
mu |
A vector of logic values indicating whether to include a local trend for each target series. |
rho |
A vector of numerical values taking values in |
S |
A vector of integer values representing the number of seasons to be modeled for each target series. The value |
vrho |
A vector of numerical values taking values in |
lambda |
A vector of numerical values, whose entries equal to |
Value
An object of the SSModel class.
Author(s)
Jinwen Qiu qjwsnow_ctw@hotmail.com Ning Ning patricianing@gmail.com
References
Qiu, Jammalamadaka and Ning (2018), Multivariate Bayesian Structural Time Series Model, Journal of Machine Learning Research 19.68: 1-33.
Ning and Qiu (2021), The mbsts package: Multivariate Bayesian Structural Time Series Models in R.
Jammalamadaka, Qiu and Ning (2019), Predicting a Stock Portfolio with the Multivariate Bayesian Structural Time Series Model: Do News or Emotions Matter?, International Journal of Artificial Intelligence, Vol. 17, Number 2.