Skip to content

gmgeorg/ForeCA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ForeCA R package

ForeCA implements Forecastable component analysis in R. For details on algorithm & methodology see Forecastable Component Analysis, JMLR, Goerg (2013).

In a nutshell: ForeCA finds linear combinations of multivariate time series that are most forecastable, where forecastability is measured by the spectral entropy of the resulting signal (linear combination of input).

Installation

You can install the stable version from CRAN:

install.packages('ForeCA')

Alternatively, you can also install the latest version of ForeCA package directly from github as

library(devtools)
devtools::install_github("gmgeorg/ForeCA")

Usage

The workhorse function is ForeCA::foreca() which works just like the built-in princomp function for PCA.

library(ForeCA)
citation("ForeCA")

For a tutorial on how to use foreca() and the entire ForeCA suite of functions see the introductory vignette on CRAN.

References