pt.cmexrtn: Cumulative excess return

Description Usage Arguments Examples

View source: R/pt.cmexrtn.R

Description

Cumulative return is the compounded return in a given period. The excess return is the difference between the cumulative return of a risky asset and the cumulative return of a benchmark.

Usage

1

Arguments

ar

:a vector of risky asset returns

br

:a vector of benchmark returns

Examples

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

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

Related to pt.cmexrtn in YRmisc...