Multi-period linking#

Each date’s effects add up to that date’s return difference \(r_t - b_t\): portfolio minus benchmark for Brinson-Fachler and the active factor model, and the portfolio return itself for the factor model (its benchmark is zero, \(b_t = 0\)). Summed over time they do not add up to the compounded difference \(R_T - B_T\), with \(R_T = \prod_{t \le T}(1 + r_t) - 1\) and \(B_T = \prod_{t \le T}(1 + b_t) - 1\): value added early compounds in later periods. For example, with portfolio returns of 5% and -3% and benchmark returns of 2% and 1%, the per-period active returns sum to -1.00%, but the compounded active return is \(1.85\% - 3.02\% = -1.17\%\).

Methods#

linking_method (see Configuration Reference) chooses how the cumulative effects are rescaled:

  • carino (default): Carino (1999). Each date’s effect \(e_t\) is scaled by \(k(r_t, b_t) / k(R_T, B_T)\), with

    \[k(x, y) = \frac{\ln(1 + x) - \ln(1 + y)}{x - y}, \qquad k(x, x) = \frac{1}{1 + x}, \qquad \text{linked}(T) = \sum_{t \le T} e_t \, \frac{k(r_t, b_t)}{k(R_T, B_T)}\]

    There is no residual and the result does not depend on the order of the effects.

  • grap: GRAP (1997), \(\text{linked}(T) = \prod_{t \le T}(1 + b_t) \sum_{t \le T} e_t \prod_{i < t}(1 + r_i) \big/ \prod_{i \le t}(1 + b_i)\).

  • none: plain running sums (no linking, the behaviour of 0.3.x and earlier).

In the example above, take an allocation effect of 1% and -3% and a selection effect of 2% and -1% (no interaction), so each date’s effects add up to its active return of 3% and -4%. The cumulative effects at the second date are:

Method

Allocation

Selection

Sum

carino

-2.11%

0.94%

-1.17%

grap

-2.14%

0.97%

-1.17%

none

-2.00%

1.00%

-1.00%

Only the cumulative outputs change: the per-date effects are the same under every method.

Numerical notes#

The Carino coefficient is evaluated in a numerically stable form (no special-case threshold near \(r = b\), and accurate as a return approaches -100%). Every method, including linking_method = none and the legacy formula, raises PerformanceAttributionError on a non-finite per-period value or a return of -100% or below (0.3.x carried NaN or infinity into the charts), and the compounding methods also raise if cumulative growth overflows or underflows.

Menchero linking and geometric attribution are not offered.