Skip to content

linuswolff/DynamicFactorModel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DynamicFactorModel

This is a package that has its origin in my bachelor thesis on "Exploring the Potential of Dynamic Factor Models for High-Dimensional Time Series Forecasting".

It can be downloaded with

library(devtools)
install_github("linuswolff/DynamicFactorModel")

The package has three functions. The first estimates a DFM of $X$ and forecasts the desired variable, allowing for modification of the number of factors. Criteria for estimating the number of factors as proposed in Bai and Ng (2002) are offered by another. The last performs out of sample forecasts for a desired length of periods. Their documentation can be accessed by using

?forecastDFM
?ICfactors_mine
?loop_over_forecastDFM

The Dynamic Factor Models are estimated by PCA and forecasts are based on the Factor Augmented Auto Regression approach in Stock and Watson (2002).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages