Showing posts with label performance attribution. Show all posts
Showing posts with label performance attribution. Show all posts

Tuesday, April 9, 2013

Campisi's Index Portfolio Explained






A common question I get is what is the purpose of the "index portfolio" used in the Campisi fixed income attribution model.

Before answering, let me first give an outline of the steps in calculating attribution in the Campisi framework.

Step 1:  Decompose the benchmark return
1.1 Calculate the contribution of income to the benchmark return
1.2 Calculate the contribution of Treasury to the benchmark return
1.3 Calculate the contribution of spread to the benchmark return

Step 2:  Decompose the index portfolio return

2.1 Calculate the contribution of income to the index portfolio return
2.2 Calculate the contribution of Treasury to the index portfolio return
2.3 Calculate the contribution of spread to the index portfolio return

Step 3:  Decompose the portfolio return
2.1 Calculate the contribution of income to the portfolio return
2.2 Calculate the contribution of Treasury to the portfolio return
2.3 Calculate the contribution of spread to the portfolio return
2.4 Calculate the contribution of selection to the portfolio return

Convenient fact #1:  Knowing the benchmark return and having calculated the contribution of income and the contribution of Treasury to the benchmark return, we can back into the spread contribution - it's everything that's left.

Convenient fact #2:  Knowing the index portfolio return and having calculated the contribution of income and the contribution of Treasury to the index portfolio return, we can back into the spread contribution - it's everything that's left.

Inconvenient situation:  We can't back into the spread contribution of the portfolio, knowing the income and Treasury contributions, because spread contribution is not all that is left... there is also the selection contribution.  Thus, we need a specific formula for the spread contribution to the portfolio return.


Spread contribution is an element of price return.  And price return is always dictated by the change in interest rates during the period.  Specifically, if we know the duration of the given portfolio (or benchmark, etc) at the start of the period, and if we know how much interest rates have changed during the period for bonds of that duration, then we can calculate the price return caused by changes in interest rates as:

return contribution = (-1) * (duration) * (change in interest rates)

Note:  the (-1) is because of the inverse relationship between interest rate change and bond prices.

We use this formula in various situations in the Campisi model.  When calculating Treasury contribution, for example, the relevant change in interest rates to use in the formula is the change in Treasury interest rates for the given duration.  But when calculating spread contribution, we are trying to calculate the return contribution from the non-Treasury securities (in excess of the Treasuries).  Thus, the relevant interest rate to consider is the interest spread paid by non-Treasuries in excess of Treasuries of the same duration.  And the change in interest rates, then, is the amount that the spread changed over the evaluation period.  A positive number indicates that the spread paid by non-Treasuries over Treasuries (of the given duration) increased during the period (i.e., the spread widened).  A negative number indicates that the spread paid by non-Treasuries over Treasuries decreased (i.e., the spread narrowed).

So then, back to the original question, what is Campisi's index portfolio?

The relevant change in interest rates to calculate spread contribution for the portfolio is based on the index portfolio.  The index portfolio is a hypothetical portfolio based on the manager's (portfolio) sub-sector weights but benchmark sub-sector returns.  I often describe it to students in our classes as being analogous to Brinson's semi-notional portfolio used in stock attribution, reflecting the manager's weighting decision but retaining the security selection of the benchmark.  The index portfolio, by using the sub-sector weights of the portfolio and the benchmark sub-sector returns:
  • reflects the income contribution of the portfolio
  • reflects the Treasury contribution of the portfolio (i.e., the manager's duration decision)
  • reflects the manager's allocation to sub-sectors
  • retains the security selection of the benchmark
Thus, by using the formula:

spread contribution = (-1) * (duration) * (change in index portfolio spread)

we can calculate a spread contribution for the portfolio that is free from the manager's security selection.

In reality, we could also use the last formula above to calculate spread contribution for the benchmark and for the index portfolio (steps 1.3 and 2.3), if we knew the appropriate change in spread rates to use.  But, we make use of the "convenient facts" stated above to do so more efficiently.

Happy studying!

Tuesday, September 25, 2012

Saturday, September 8, 2012

Campisi Fixed Income Attribution - Price Contribution Explained


The CIPM curriculum does not give much of an explanation of bond pricing in relation to interest rates, so here is a brief primer.

Price change on bonds can be explained by how interest rates change during the period.

Bonds are a lending agreement:  the purchaser is the lender, and the issuer of the bond is the borrower.  The coupon rate on the bond is the interest rate on the loan. 

When interest rates rise over an evaluation period, that means that the cost of borrowing for bond issuers has increased.  But it also means that newly issued bonds are more attractive to investors than existing bonds of the same time to maturity.  Because existing bonds are less attractive due to rising interest rates, their price drops, making their market value drop over the period - which resullts in a negative rate of return.

Conversely, if interest rates drop over an evaluation period, existing bonds look more attractive, making their price rise, thus their market value increases and they have a positive rate of return over the period. 

That is the inverse relationship between bonds and interest rates.  When rates rise, bond prices drop, and vice versa.

The Treasury (or risk-free) yield curve is the basis for bond prices.  On the X-axis is time to maturity, and on the Y-axis are the interest rates.  Thus, the combination of interest rates at various times-to-maturity create a curve.  Thus, how the yield curve changes over the period of evaluation gives us information we can use to approximate price change due to changes in interest rates.

Price change can be approximated by the following equation:


Thus, the portion of return that is due to price change over the evaluation period is equal to the change in interest rates over the period  multiplied by the negative of duration.  Or, said differently, we need to know the price change for a given bond or set of bonds.  Let's say we are talking Treasury bonds (i.e., risk free bonds).  That price change corresponds to how much interest rates changed during the period for a particular point on the risk-free yield curve that is equal to the duration of the bond in question.  For Treasury bonds of a given duration, how much did interest rates change during the period (i.e, from the start of the period T, to the end of the period T+1).


The yield curve could change over the period in different ways.  When there is a parallel shift in the yield curve, interest rates change by the same amount over the evaluation period at all points on the yield curve (i.e., at all time-to-maturity/duration points)





Or, there may be some sort of structural change in the yield curve over the evaluation period where the change in interest rates is different at one time-to-maturity or duration compared to at other times-to-maturity or duration:



Thus, if we know how much interest rates changed over the evaluation period for a particular time-to-maturity or duration, we can quantify how much return occurred for bonds of that duration that corresponds to that change in interest rates.

If we are talking about a class of bonds or a portfolio of bonds, we can use the market value weighted average of the durations of the individual bonds in the class or portfolio, and use the change in interest rates that corresponds to that.

In a subsequent blog post, we'll apply this concept in the Campisi model for attribution.

Happy studying!

Friday, August 24, 2012

Decomposing the Campisi Fixed Income Attribution Model



For many CIPM Expert Level candidates, fixed income attribution is the most difficult topic.  This is evident when I teach The Spaulding Group's CIPM prep classes, as we devote an entire afternoon to the subject.  Among the three models that candidates are required to learn is the Campisi model, which is based around the idea of decomposing bond performance according to the picture above.

Over the next few days, I will present various points on the Campisi model, in order to simplify it for candidates.  This model is actually not very complicated - it is fairly intuitive - but candidates might benefit by having a roadmap to guide them through the process of calculating the attribution.

The diagram above is a decomposition of bond performance.  Thus, it can represent the decomposition of a single bond, a group of bonds, a portfolio of bonds and/or a benchmark of bonds.

The first level of decomposition applies to any asset one may own in a portfolio.  Return on an asset comes from two sources:

  • income and expense (interest, dividends, and other expenses)
  • price change (i.e., gains  and losses, both realized and unrealized)
In our situation, of course, we are dealing with bonds, so the income is from interest.

The next level of decomposition, which breaks up the sources of price change, is specific to bond investments.  Price change on bonds comes from three sources:
  • price change that is due to changes in interest rates on the Treasury yield curve
  • price change that is due to changes in spreads that non-Treasuries of a specific class (bond class and/or ratings class) pay above Treasuries of the same duration (average spreads)
  • price change that is due to security specific traits of bonds that cause them to perform differently than the average for their class (nominal spreads)
A Treasury bill, note or bond could have return from the first and third sources.

A non-Treasury fixed income security could have return from all three sources.

Thus, the terminal nodes in the tree represent the lowest level of the decomposition:

  • income
  • price change due to changes in Treasury rates
  • price change due to changes in the average spreads of a risky bond class
  • price change due to security specific traits (i.e., due to nominal traits)
In order to calculate the Campisi attribution effects, the return of both the portfolio and the benchmark must be decomposed into contributions from these sources.  Thus, in order to calculate the Campisi attribution effects, the following steps must be taken (i.e., your roadmap):

  1. Decompose the benchmark return into:
    - income contribution
    - Treasury contribution (i.e., price change due to changes in Treasury rates)
    - spread contribution (i.e., price change due to changes in the average spreads of a risky bond class
     
  2. Decompose the index portfolio return into:
    - income contribution
    - Treasury contribution (i.e., price change due to changes in Treasury rates)
    - spread contribution (i.e., price change due to changes in the average spreads of a risky bond class
  3. Calculate the index portfolio spread change.  This is the change in interest rates that will be used to calculate the spread contribution of the portfolio (more on this in a subsequent blog post).
  4. Decompose the portfolio return into:
    - income contribution
    - Treasury contribution (i.e., price change due to changes in Treasury rates)
    - spread contribution (i.e., price change due to changes in the average spreads of a risky bond class
    - security specific contribution
  5. Calculate the attribution effects as the value added contributions:
    - income effect = portfolio income contribution minus the benchmark income contribution
    - Treasury effect = portfolio Treasury contribution minus the benchmark Treasury contribution
    - spread effect = portfolio spread contribution minus the benchmark spread contribution
    - selection effect = portfolio selection contribution (note - the benchmark has no selection contribution)

The picture below shows my scribblings from doing this in a recent class in the form of an attribution effects scoreboard - I recommend candidates mimic this during the exam to keep track of where they are:


 More details to come!

Sunday, October 30, 2011

Hoping for the best...






Most of you have already taken the exam, so now I am hoping for the best outcome for all of you.

I came across this picture today, which expresses what I try to do when teaching.  Hopefully I explained things in as simple a fashion as possible to those of you who attended our CIPM prep courses.  I would also suggest this as a goal for you while you are studying:  you should try to achieve a level of understanding with the curriculum topics such that you can explain the concepts in simple terms to someone else.  If you can do this, I am sure you will pass with flying colors!



Sunday, October 16, 2011

Short Position Weights in Menchero Market-Neutral Attribution Framework






An Expert Level candidate sent me a question asking about the formula (shown above) for the asset allocation decision for market-neutral hedge funds, as discussed in the reading, "Performance Attribution with Short Positions" by Jose Menchero, Ph.D.

In particular, the candidate asked why there is an extra "minus" sign on the benchmark sector weight.

The key things to know to answer this question are as follows:


  • In the Menchero framework, the weights of assets (or sectors, and sub-sectors) is positive for long positions and negative for short positions.
  • Also, in the Menchero framework, the returns of assets (or sectors, and sub-sectors) is positive when the value of the assets goes up and negative when the value of the assets goes down.
  • An appropriate benchmark for a market-neutral hedge fund would be perfectly hedged.  This means the benchmark is simultaneously long and short the same assets, with a 100% net exposure to cash.  The reading perhaps does not explain this in detail, but the idea is that the typical index has only long positions.  Thus, one creates the "perfectly hedged" benchmark by assuming that the short weights for a sector or sub-sector are the same as the long weights.
So, you can think of the minus sign that is inside the parenthesis with "w bar" (i.e., the benchmark sector weight) as changing the sign of the weight from positive to negative.

This ensures that the formula for asset allocation (referred to as sector selection in the Menchero reading) has its traditional results:

  • Value will be added when the manager overweights sectors that outperform the risk-free rate, and when the manager underweights sectors that underperform the risk-free rate
  • Value will be subtracted when the manager overweights sectors that underperform the risk-free rate, and when the manager underweights sectors that outperform the risk-free rate