[Returnanalytics-commits] r3968 - pkg/Dowd/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Aug 16 14:54:50 CEST 2015
Author: dacharya
Date: 2015-08-16 14:54:50 +0200 (Sun, 16 Aug 2015)
New Revision: 3968
Added:
pkg/Dowd/man/BoxCoxES.Rd
Log:
Function BoxCoxES.R added
Added: pkg/Dowd/man/BoxCoxES.Rd
===================================================================
--- pkg/Dowd/man/BoxCoxES.Rd (rev 0)
+++ pkg/Dowd/man/BoxCoxES.Rd 2015-08-16 12:54:50 UTC (rev 3968)
@@ -0,0 +1,38 @@
+% Generated by roxygen2 (4.1.1): do not edit by hand
+% Please edit documentation in R/BoxCoxES.R
+\name{BoxCoxES}
+\alias{BoxCoxES}
+\title{Estimates ES with Box-Cox transformation}
+\usage{
+BoxCoxES(loss.data, cl)
+}
+\arguments{
+\item{loss.data}{Daily Profit/Loss data}
+
+\item{cl}{Confidence Level. It can be a scalar or a vector.}
+}
+\value{
+Estimated Box-Cox ES. Its dimension is same as that of cl
+}
+\description{
+Function estimates the ES of a portfolio assuming P and L data set transformed
+using the BoxCox transformation to make it as near normal as possible, for
+specified confidence level and holding period implied by data frequency.
+}
+\examples{
+# Estimates Box-Cox VaR
+ a<-rnorm(200)
+ BoxCoxES(a,.95)
+}
+\author{
+Dinesh Acharya
+}
+\references{
+Dowd, K. Measuring Market Risk, Wiley, 2007.
+
+Hamilton, S. A. and Taylor, M. G. A Comparision of the Box-Cox
+transformation method and nonparametric methods for estimating quantiles
+in clinical data with repeated measures. J. Statist. Comput. Simul., vol.
+45, 1993, pp. 185 - 201.
+}
+
More information about the Returnanalytics-commits
mailing list