Learn R Programming

YRmisc (version 0.1.6)

pt.te: Tracking error

Description

Tracking error, in finance, is a measure of risk in a portfolio that is due to active management decisions made by the manager. It indicates how closely the portfolio follows the benchmark of choosing.

Usage

pt.te(pr,br)

Arguments

pr

:portfolio return

br

:benchmark return

Examples

Run this code
# NOT RUN {
prtn <- runif(12,-1,1)
brtn <- runif(12,-1,1)
pt.te(prtn,brtn)
# }

Run the code above in your browser using DataLab