pt.te {YRmisc} | R Documentation |
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.
pt.te(pr,br)
pr |
:portfolio return |
br |
:benchmark return |
prtn <- runif(12,-1,1)
brtn <- runif(12,-1,1)
pt.te(prtn,brtn)