pc | R Documentation |
This function performs the principle component analysis in order to determine the Common and Idiosyncratic Components of the factor model.
pc(y,nfac)
y |
An NxT matrix containing the data |
nfac |
An integer specifying the maximum number of factors allowed while estimating the factor model. |
ehat A matrix with the Idiosyncratic component of the factor model
fhat A matrix with the factors of the approximate factor model
lambda A matrix with the factor loadings of the approximate factor model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.