[Returnanalytics-commits] r3937 - pkg/Dowd/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Aug 11 09:40:45 CEST 2015
Author: dacharya
Date: 2015-08-11 09:40:45 +0200 (Tue, 11 Aug 2015)
New Revision: 3937
Added:
pkg/Dowd/man/VarianceCovarianceES.Rd
Log:
Function VarianceCovarianceES.R added
Added: pkg/Dowd/man/VarianceCovarianceES.Rd
===================================================================
--- pkg/Dowd/man/VarianceCovarianceES.Rd (rev 0)
+++ pkg/Dowd/man/VarianceCovarianceES.Rd 2015-08-11 07:40:45 UTC (rev 3937)
@@ -0,0 +1,40 @@
+% Generated by roxygen2 (4.1.1): do not edit by hand
+% Please edit documentation in R/VarianceCovarianceES.R
+\name{VarianceCovarianceES}
+\alias{VarianceCovarianceES}
+\title{Variance-covariance ES for normally distributed returns}
+\usage{
+VarianceCovarianceES(vc.matrix, mu, positions, cl, hp)
+}
+\arguments{
+\item{vc.matrix}{Variance covariance matrix for returns}
+
+\item{mu}{Vector of expected position returns}
+
+\item{positions}{Vector of positions}
+
+\item{cl}{Confidence level and is scalar}
+
+\item{hp}{Holding period and is scalar}
+}
+\description{
+Estimates the variance-covariance VaR of a
+portfolio assuming individual asset returns are normally distributed,
+for specified confidence level and holding period.
+}
+\examples{
+# Variance-covariance ES for randomly generated portfolio
+ vc.matrix <- matrix(rnorm(16), 4, 4)
+ mu <- rnorm(4)
+ positions <- c(5, 2, 6, 10)
+ cl <- .95
+ hp <- 280
+ VarianceCovarianceES(vc.matrix, mu, positions, cl, hp)
+}
+\author{
+Dinesh Acharya
+}
+\references{
+Dowd, K. Measuring Market Risk, Wiley, 2007.
+}
+
More information about the Returnanalytics-commits
mailing list