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 as a primary determinant to more complicated
multi-factor fixed income models. 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 of the active returns, given by: :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})} where r_p-r_b is the active return, i.e., the difference between the portfolio return and the benchmark return and (w_{p}-w_{b}) is the vector of active portfolio weights relative to the benchmark. The
optimization problem of maximizing the return, subject to tracking error and linear constraints, may be solved using
second-order cone programming:\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
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==