powered by
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)
:portfolio return
:benchmark return
# 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