Published by the Foundation for Open Access Statistics Editors-in-chief: Bettina Grün, Torsten Hothorn, Rebecca Killick, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
Authors: Daniel Peña, Ezequiel Smucler, Victor J. Yohai
Title: gdpc: An R Package for Generalized Dynamic Principal Components
Abstract: gdpc is an R package for the computation of the generalized dynamic principal components proposed in Peña and Yohai (2016). In this paper, we briefly introduce the problem of dynamical principal components, propose a solution based on a reconstruction criteria and present an automatic procedure to compute the optimal reconstruction. This solution can be applied to the non-stationary case, where the components need not be a linear combination of the observations, as is the case in the proposal of Brillinger (1981). This article discusses some new features that are included in the package and that were not considered in Peña and Yohai (2016). The most important one is an automatic procedure for the identification of both the number of lags to be used in the generalized dynamic principal components as well as the number of components required for a given reconstruction accuracy. These tools make it easy to use the proposed procedure in large data sets. The procedure can also be used when the number of series is larger than the number of observations. We describe an iterative algorithm and present an example of the use of the package with real data.

Page views:: 2619. Submitted: 2017-11-02. Published: 2020-02-23.
Paper: gdpc: An R Package for Generalized Dynamic Principal Components     Download PDF (Downloads: 871)
gdpc_1.1.1.tar.gz: R source package Download (Downloads: 52; 164KB)
v92c02.R: R replication code Download (Downloads: 75; 12KB)

DOI: 10.18637/jss.v092.c02

This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.