dfms

Dynamic Factor Models

CRAN Package

Efficient estimation of Dynamic Factor Models using the Expectation Maximization (EM) algorithm or Two-Step (2S) estimation, supporting datasets with missing data. The estimation options follow advances in the econometric literature: either running the Kalman Filter and Smoother once with initial values from PCA - 2S estimation as in Doz, Giannone and Reichlin (2011) doi:10.1016/j.jeconom.2011.02.012 - or via iterated Kalman Filtering and Smoothing until EM convergence - following Doz, Giannone and Reichlin (2012) doi:10.1162/REST_a_00225 - or using the adapted EM algorithm of Banbura and Modugno (2014) doi:10.1002/jae.2306, allowing arbitrary patterns of missing data. The implementation makes heavy use of the 'Armadillo' 'C++' library and the 'collapse' package, providing for particularly speedy estimation. A comprehensive set of methods supports interpretation and visualization of the model as well as forecasting. Information criteria to choose the number of factors are also provided - following Bai and Ng (2002) doi:10.1111/1468-0262.00273.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 386 times in the last 30 days. Now we're getting somewhere! Enough downloads to populate a lively group chat. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 16 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 2, 2025
0 downloadsMar 3, 2025
18 downloadsMar 4, 2025
25 downloadsMar 5, 2025
12 downloadsMar 6, 2025
11 downloadsMar 7, 2025
9 downloadsMar 8, 2025
6 downloadsMar 9, 2025
6 downloadsMar 10, 2025
17 downloadsMar 11, 2025
15 downloadsMar 12, 2025
18 downloadsMar 13, 2025
12 downloadsMar 14, 2025
16 downloadsMar 15, 2025
5 downloadsMar 16, 2025
9 downloadsMar 17, 2025
12 downloadsMar 18, 2025
15 downloadsMar 19, 2025
18 downloadsMar 20, 2025
12 downloadsMar 21, 2025
8 downloadsMar 22, 2025
8 downloadsMar 23, 2025
15 downloadsMar 24, 2025
13 downloadsMar 25, 2025
23 downloadsMar 26, 2025
9 downloadsMar 27, 2025
16 downloadsMar 28, 2025
10 downloadsMar 29, 2025
12 downloadsMar 30, 2025
9 downloadsMar 31, 2025
11 downloadsApr 1, 2025
16 downloadsApr 2, 2025
0 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
5
25

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 5,592 times in the last 365 days. Impressive! The kind of number that makes colleagues ask, 'How did you do it?' The day with the most downloads was May 03, 2024 with 59 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports2 packages
  • Suggests7 packages
  • Linking To2 packages