Description Usage Arguments Details Value References See Also
Predicted values based on "DSFM2D"
object using Vector Autoregressive
Processes (VAR(p)).
1 2 3 4 |
object |
an object of class |
nAhead |
the number of steps ahead for which prediction is required. |
x1Forecast |
the vector of covariates in the first dimension to be forecasted. |
x2Forecast |
the vector of covariates in the second dimension to be forecasted. |
p |
the order of the Vector Autoregressive Process to be fitted. |
... |
other parameters to be passed through the |
This function makes uses of package vars
to fit and predict VAR(p)
processes, before pluging in the predicted factor loadings in the DSFM. The
factors functions are interpolated by the function interp
of
package akima
.
predict.DSFM2D
returns an object of class
"predict.DSFM2D"
. This class is a list containing:
|
the forecasted responses. |
|
the forecasted responses in a more usual format. |
|
the predicted factors loadings. |
|
the number of steps ahead. |
Bernhard Pfaff (2008). VAR, SVAR and SVEC Models: Implementation Within R Package vars. In: Journal of Statistical Software 27(4). URL http://www.jstatsoft.org/v27/i04/.
Hiroshi Akima and Albrecht Gebhardt (2015). akima: Interpolation of Irregularly and Regularly Spaced Data. R package version 0.5-12. URL http://CRAN.R-project.org/package=akima
VAR
,predict.varest
,
interp
, DSFM
, DSFM2D
,
DSFM2DData
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.