Description Usage Arguments Value Examples
function extends the data matrix by the forecasting period, draws extended factor conditional on posterior parameters and makes forecast.
1 |
yt |
A matrix of demeaned and standardized time series data. |
k |
Number of states (number of factors) |
q |
Lag length for state equation. |
m |
number of states (number of factors) x lag length for state equation (nxq) |
n |
Number of variables |
Tt |
Number of high-frequency periods. |
Ttq |
Number of high-frequency periods minus lag length for state equation |
const |
A scalar, where const = 1 for model with intercept, const = 0 for model without intercept. |
target |
Defines the target variable. |
inventory |
Inventory of the corresponding data. |
Xmat |
A data set containing all the time series. |
flows |
A list of time series variable (flow variables). |
A list with the mean and quantiles of the parameters, the forecast and the number of burns, draws and saves.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.