pt.updwcap: Up and down capture

Description Usage Arguments Examples

View source: R/pt.updwcap.R

Description

The up and down capture is a measure of how an asset was able to improve on benchmark returns or how it underperforms over the benchmark.

Usage

1
pt.updwcap(ar,br,n)

Arguments

ar

:a vector of a risk asset return

br

:a vector of benchmark return

n

:number of years of asset return, used to calculate annualized return

Examples

1
2
3
artn <- runif(12, -1, 1)
brtn <- runif(12,-1,1)
pt.updwcap(artn,brtn,1)

YRmisc documentation built on March 25, 2020, 5:13 p.m.

Related to pt.updwcap in YRmisc...