statistical.factor.model: Statistical Factor Model

Description Usage Arguments Details Value

Description

Fit a statistical factor model using Principal Component Analysis (PCA)

Usage

1

Arguments

R

xts of asset returns

k

number of factors to use

...

additional arguments passed to prcomp

Details

The statistical factor model is fitted using prcomp. The factor loadings, factor realizations, and residuals are computed and returned given the number of factors used for the model.

Value

#'

Where N is the number of assets, k is the number of factors, and m is the number of observations.


PortfolioAnalytics documentation built on May 1, 2019, 10:56 p.m.