PCAPrelim: Estimates VaR plot using principal components analysis

Description Usage Arguments Author(s) References Examples

View source: R/PCAPrelim.R

Description

Estimates VaR plot using principal components analysis

Usage

1

Arguments

Ra

Matrix return data set where each row is interpreted as a set of daily observations, and each column as the returns to each position in a portfolio position

Author(s)

Dinesh Acharya

References

Dowd, K. Measuring Market Risk, Wiley, 2007.

Examples

1
2
3
4
5
6
# Computes PCA Prelim
   # This code was based on Dowd's code and similar to Dowd's code,
   # it is inconsistent for non-scalar data (Ra).
   library(MASS)
   Ra <- .15
   PCAPrelim(Ra)

Dowd documentation built on May 2, 2019, 10:16 a.m.