Learn R Programming

YRmisc (version 0.1.6)

pt.annexrtn: Annualized excess return

Description

Annualized excess return is the difference between the annualized and cumulative return of the two series. Usually, one series are portfolio returns and the other is a benchmark returns.

Usage

pt.annexrtn(ar,br)

Arguments

ar

:a vector of a risk asset return

br

:a vector of benchmark return

Examples

Run this code
# NOT RUN {
artn <- runif(100, -1, 1)
brtn <- runif(100, -1, 1)
pt.annexrtn(artn, brtn)
# }

Run the code above in your browser using DataLab