R/ForeCA-package.R

#' @title Implementation of Forecastable Component Analysis (ForeCA)
#'
#' @description
#' Forecastable Component Analysis (ForeCA) is a novel dimension reduction
#' technique for multivariate time series \eqn{\mathbf{X}_t}.
#' ForeCA finds a linar combination
#' \eqn{y_t = \mathbf{X}_t \mathbf{v}} that is easy to forecast. The measure of
#' forecastability \eqn{\Omega(y_t)} (\code{\link{Omega}}) is based on the entropy
#' of the spectral density \eqn{f_y(\lambda)} of \eqn{y_t}: higher entropy means
#' less forecastable, lower entropy is more forecastable.
#'
#' The main function \code{\link{foreca}} runs ForeCA on a
#' multivariate time series  \eqn{\mathbf{X}_t}.
#'
#' Consult \code{NEWS.md} for a history of release notes.
#'
#' @import MASS stats graphics reshape2 utils
#' @name ForeCA-package
#' @aliases ForeCA-package ForeCA
#' @docType package
#' @author Author and maintainer: Georg M. Goerg <im@@gmge.org>
#' @references
#' Goerg, G. M. (2013). \dQuote{Forecastable Component Analysis}.
#' Journal of Machine Learning Research (JMLR) W&CP 28 (2): 64-72, 2013.
#' Available at \url{http://jmlr.org/proceedings/papers/v28/goerg13.html}.
#' @keywords package
#' @examples
#' XX <- ts(diff(log(EuStockMarkets)))
#' Omega(XX)
#'
#' plot(log10(lynx))
#' Omega(log10(lynx))
#'
#' \dontrun{
#' ff <- foreca(XX, n.comp = 4)
#' ff
#' plot(ff)
#' summary(ff)
#' }
#'
NULL

Try the ForeCA package in your browser

Any scripts or data that you put into this service are public.

ForeCA documentation built on July 1, 2020, 7:50 p.m.