Implementation of Forecastable Component Analysis ('ForeCA'), including main algorithms and auxiliary function (summary, plotting, etc.) to apply 'ForeCA' to multivariate time series data. 'ForeCA' is a novel dimension reduction (DR) technique for temporally dependent signals. Contrary to other popular DR methods, such as 'PCA' or 'ICA', 'ForeCA' takes time dependency explicitly into account and searches for the most ''forecastable'' signal. The measure of forecastability is based on the Shannon entropy of the spectral density of the transformed signal.
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).
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")
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.
ForeCA references & applications in the literature (non-exhaustive; see here for full list of ForeCA citations)
Cross-validated & SO posts (non-exhaustive)
Blog posts (by others)