TrackingError: Calculate Tracking Error of returns against a benchmark

Description Usage Arguments Details Author(s) References See Also Examples

Description

A measure of the unexplained portion of performance relative to a benchmark.

Usage

1
TrackingError(Ra, Rb, scale = NA)

Arguments

Ra

an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns

Rb

return vector of the benchmark asset

scale

number of periods in a year (daily scale = 252, monthly scale = 12, quarterly scale = 4)

Details

Tracking error is calculated by taking the square root of the average of the squared deviations between the investment's returns and the benchmark's returns, then multiplying the result by the square root of the scale of the returns.

TrackingError = sqrt(sum(Ra - Rb)^2 / (length(R) - 1)) * sqrt(scale)

Author(s)

Peter Carl

References

Sharpe, W.F. The Sharpe Ratio,Journal of Portfolio Management,Fall 1994, 49-58.

See Also

InformationRatio TrackingError

Examples

1
2
3
4


Search within the PerformanceAnalytics package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.