# Tracking error

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Tracking_error
> Markdown URL: https://mediated.wiki/source/Tracking_error.md
> Source: https://en.wikipedia.org/wiki/Tracking_error
> Source revision: 1304010316
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{Short description|Measure of investment risk}}
In [finance](/source/finance), '''tracking error''' or '''active risk''' is a measure of the risk in an [investment portfolio](/source/investment_portfolio) that is due to [active management](/source/active_management) decisions made by the [portfolio manager](/source/portfolio_manager); it indicates how closely a portfolio follows the index to which it is benchmarked. The best measure is the [standard deviation](/source/standard_deviation) of the difference between the portfolio and index returns.

Many portfolios are managed to [a benchmark](/source/Benchmark_(finance)), typically an index. Some portfolios, notably [index funds](/source/Index_fund), are expected to replicate, before trading and other costs, the returns of an index exactly, while others '[actively manage](/source/Active_management)' the portfolio by deviating from the index in order to generate [active return](/source/active_return)s. Tracking error measures the deviation from the benchmark: an index fund has a near-zero tracking error, while an actively managed portfolio would normally have a higher tracking error. Thus the tracking error does not include any risk (return) that is merely a function of the market's movement. In addition to [risk](/source/Financial_risk) (return) from specific stock selection or industry and [factor](/source/Factor_analysis) "betas", it can also include risk (return) from [market timing](/source/market_timing) decisions.

Dividing portfolio active return by portfolio tracking error gives the [information ratio](/source/information_ratio), which is a risk adjusted performance measure.

==Definition==
If tracking error is measured historically, it is called 'realized' or 'ex post' tracking error. If a model is used to predict tracking error, it is called 'ex ante' tracking error. Ex-post tracking error is more useful for reporting performance, whereas ex-ante tracking error is generally used by portfolio managers to control risk. Various types of ex-ante tracking error models exist, from simple equity models which use [beta](/source/beta_(finance)) as a primary determinant to more complicated [multi-factor fixed income models](/source/factor_analysis). In a factor model of a portfolio, the non-systematic risk (i.e., the standard deviation of the residuals) is called "tracking error" in the investment field. The latter way to compute the tracking error complements the formulas below but results can vary (sometimes by a factor of 2).

===Formulas===
The ex-post tracking error formula is the [standard deviation](/source/standard_deviation) of the active returns, given by:

:<math>TE = \omega =\sqrt{\operatorname{Var}(r_p -  r_b)} = \sqrt{{E}[(r_p-r_b)^2]-({E}[r_p -  r_b])^2} = \sqrt{(w_{p}-w_{b})^{T}\Sigma (w_{p}-w_{b})}</math>

where <math>r_p-r_b</math> is the active return, i.e., the difference between the portfolio return and the benchmark return<ref>{{Cite book|title=Optimization Methods in Finance|last1=Cornuejols|first1=Gerard|last2=Tütüncü|first2=Reha|publisher=Cambridge University Press|year=2007|isbn=978-0521861700|series=Mathematics, Finance and Risk|pages=178–180}}</ref> and  <math>(w_{p}-w_{b})</math> is the vector of active portfolio weights relative to the benchmark. The [optimization](/source/Mathematical_optimization) problem of maximizing the return, subject to tracking error and linear constraints, may be solved using [second-order cone programming](/source/second-order_cone_programming):<math display="block">\underset{w}{\operatorname{argmax}} \; \mu^{T}(w-w_{b}), \quad \text{s.t.} \; (w-w_{b})^{T}\Sigma(w-w_{b}) \leq \omega^{2}, \; Ax \leq b, \; Cx = d</math>

=== Interpretation ===
Under the assumption of normality of returns, an active risk of x per cent would mean that approximately 2/3 of the portfolio's active returns (one standard deviation from the mean) can be expected to fall between +x and -x per cent of the mean excess return and about 95% of the portfolio's active returns (two standard deviations from the mean) can be expected to fall between +2x and -2x per cent of the mean excess return.

==Examples==
* [Index fund](/source/Index_fund)s are expected to have minimal tracking errors.
* [Inverse exchange-traded fund](/source/Inverse_exchange-traded_fund)s are designed to perform as the ''inverse'' of an index or other benchmark, and thus reflect tracking errors relative to short positions in the underlying index or benchmark.

=== Index fund creation ===
Index funds are expected to minimize the tracking error with respect to the [index](/source/Index_(economics)) they are attempting to replicate, and this problem may be solved using standard optimization techniques. To begin, define <math>\omega^{2}</math> to be:<math display="block">\omega^{2} = (w-w_{b})^{T}\Sigma(w-w_{b})</math>where <math>w-w_{b}</math> is the vector of active weights for each asset relative to the [benchmark](/source/Performance_attribution) index and <math>\Sigma</math> is the [covariance matrix](/source/covariance_matrix) for the assets in the index. While creating an index fund could involve holding all <math>N</math> investable assets in the index, it is sometimes better practice to only invest in a subset <math>K</math> of the assets. These considerations lead to the following [mixed-integer quadratic programming (MIQP)](/source/Quadratic_programming) problem:<math display="block">\begin{aligned}
\underset{w}{\operatorname{argmin}} & \quad \omega^{2} \\
\text{s.t.} & \quad w_{j} \leq y_{j}, \quad \sum_{j=1}^{N}y_{j}\leq K \\
& \quad \ell_{j}y_{j} \leq w_{j} \leq u_{j}y_{j}, \quad y_{j}\in\{0,1\}, \quad \ell_{j}, \; u_{j}\geq 0
\end{aligned}</math>where <math>y_{j}</math> is the logical condition of whether or not an asset is included in the index fund, and is defined as:<math display="block">y_{j} = \begin{cases} 1, \quad &w_{j} > 0 \\ 0, \quad &\text{otherwise} \end{cases}</math>

==References==
{{Reflist}}

==External links==
* [https://www.youtube.com/watch?v=A1sB2ynlNrw Tracking Error] - [YouTube](/source/YouTube)
* [https://monevator.com/tracking-error-%E2%80%93-a-hidden-cost/ Tracking error: A hidden cost of passive investing]
* [http://moneyterms.co.uk/tracking-error/ Tracking error]
* [https://www.trackinsight.com/education/education-what-is-tracking-error What is the Tracking Error?]
{{Financial risk}}

Category:Financial risk management
Category:Convex optimization
Category:Investment fund indicators

---
Adapted from the Wikipedia article [Tracking error](https://en.wikipedia.org/wiki/Tracking_error) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Tracking_error?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
