PCAVaRPlot: VaR plot

Description Usage Arguments Author(s) References Examples

View source: R/PCAVaRPlot.R

Description

Estimates VaR plot using principal components analysis

Usage

1
PCAVaRPlot(Ra, position.data)

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.data

Position-size vector, giving amount invested in each position

Author(s)

Dinesh Acharya

References

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

Examples

1
2
3
4
# Computes PCA VaR
   Ra <- matrix(rnorm(15*20),15,20)
   position.data <- rnorm(20)
   PCAVaRPlot(Ra, position.data)


Dowd documentation built on May 19, 2017, 11:39 p.m.
Search within the Dowd package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.