Learn R Programming

dcce (version 0.4.2)

.svd_csa: SVD of CSA matrix

Description

Computes thin SVD and returns right singular vectors (principal components in the time dimension).

Usage

.svd_csa(Z, npc = NULL, criterion = c("er", "gr"))

Value

A list with V_k (T x k matrix of PCs), eigenvalues, and k.

Arguments

Z

Numeric matrix (T x K) of CSA variables.

npc

Integer: number of principal components to retain. If NULL, determined by ER/GR criterion.

criterion

Character: "er" (eigenvalue ratio) or "gr" (growth ratio). Default "er".