# QuantLib_BaseCorrelationLossModel man page

BaseCorrelationLossModel< BaseModel_T, Corr2DInt_T >

## Synopsis

`#include <ql/experimental/credit/basecorrelationlossmodel.hpp>`

Inherits **DefaultLossModel**, and **Observer**.

### Public Member Functions

**BaseCorrelationLossModel** (const **Handle**< **BaseCorrelationTermStructure**< Corr2DInt_T > > &correlTS, const std::vector< **Real** > &recoveries, const initTraits &traits=initTraits())

### Protected Member Functions

void **setupModels** () const

template<> void **setupModels** () const

template<> void **setupModels** () const

template<> void **setupModels** () const

template<> void **setupModels** () const

### Additional Inherited Members

## Detailed Description

### template<class BaseModel_T, class Corr2DInt_T>

class QuantLib::BaseCorrelationLossModel< BaseModel_T, Corr2DInt_T >" Base Correlation loss model; interpolation is performed by portfolio (live) amount percentage.

Though the literature on this model is inmense, see for a more than introductory level (precrisis) chapters 19, 20 and 21 of **Modelling single name and multi-name credit derivatives.** Dominic O'Kane, Wiley Finance, 2008

For freely available documentation see:

Credit Correlation: A Guide; JP Morgan Credit Derivatives Strategy; 12 March 2004

Introducing Base Correlations; JP Morgan Credit Derivatives Strategy; 22 March 2004

A Relative Value Framework for Credit Correlation; JP Morgan Credit Derivatives Strategy; 27 April 2004

Valuing and Hedging Synthetic **CDO** Tranches Using Base Correlations; Bear Stearns; May 17, 2004

Correlation Primer; Nomura Fixed Income Research, August 6, 2004

Base Correlation Explained; Lehman Brothers Fixed Income Quantitative Credit Research; 15 November 2004

For bespoke base correlation see:

Base Correlation Mapping in Lehman Brothers' Quantitative Credit Research Quarterly; Volume 2007-Q1

You can explore typical postcrisis data by perusing some of the JPMorgan Global Correlation Daily Analytics

Here the crisis model problems of ability to price stressed portfolios or tranches over the maximum loss are the responsibility of the base models. Users should select their models according to this; choosing the copula or a random loss given default base model (or more exotic ones).

Notice this is different to a bespoke base correlation loss (bespoke here refering to basket composition, not just attachment levels) ; where loss interpolation is on the expected loss value to match the two baskets. Therefore the correlation surface should refer to the same basket intended to be priced. But this is left to the user and is not implemented in the correlation surface (yet...)

BaseModel_T must have a constructor with a single quote value

## Member Function Documentation

### void setupModels () const [protected]

Sets up attach/detach models. Gets called on basket update. To be specialized on the spacific model type.

## Author

Generated automatically by Doxygen for QuantLib from the source code.

## Referenced By

The man pages BaseCorrelationLossModel(3) and setupModels(3) are aliases of QuantLib_BaseCorrelationLossModel(3).