Description Usage Arguments Value Examples
Estimates a dynamic factor model based on Doz, Gianone & Reichlin (2011)
1 2 3 |
data |
Data matrix with time in rows and variables in columns. |
r |
Number of static factors to estimate. |
p |
Lag order for factors. It is assumed that factors follow VAR(p) model. |
q |
Number of dynamic factors, must be equal to or less than r. Dynamic factors refer essentially to the number of principal components relevant for the state covariance estimation. |
max_iter |
Maximum number of iterations in the EM-algorithm. |
threshold |
Threshold for algorithm convergence |
lower_set |
In order to keep an invertible observation covariance
matrix, diagonal values are constrained to be such that
|
rQ |
Restrictions on system state covariance. Currently, either no
restrictions can be set or |
rC |
Restrictions on factor loading matrix. Currently, either no
restrictions can be set or upper matrix of |
... |
Further arguments that are currently unused |
3 types of factor estimates, namely principal component estimate, two step estimate based on PCA and Kalman filtering and QML estimate based on EM-algorithm. PCA estimator is not able to deal with missing data.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.