# QuantLib_GaussianLHPLossModel man page

GaussianLHPLossModel —

## Synopsis

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

Inherits **DefaultLossModel**, and **LatentModel< GaussianCopulaPolicy >**.

### Public Types

typedefGaussianCopulaPolicy copulaType

### Public Member Functions

GaussianLHPLossModel(constHandle<Quote> &correlQuote, const std::vector<Handle<RecoveryRateQuote> > "es)GaussianLHPLossModel(Realcorrelation, const std::vector<Real> &recoveries)GaussianLHPLossModel(constHandle<Quote> &correlQuote, const std::vector<Real> &recoveries)

voidupdate()Real expectedTrancheLoss(constDate&d) constReal probOverLoss(constDate&d,RealremainingLossFraction) constReal expectedShortfall(constDate&d,Probabilityperctl) const

Returns the ESF as an absolute amount (rather than a fraction)Real percentile(constDate&d,Realperctl) const

Value at Risk given a default loss percentile.Probability averageProb(constDate&d) constReal averageRecovery(constDate&d) const

### Protected Member Functions

Real percentilePortfolioLossFraction(constDate&d,Realperctl) constReal expectedRecovery(constDate&d,SizeiName, constDefaultProbKey&ik) const

### Additional Inherited Members

## Detailed Description

Portfolio loss model with analytical expected tranche loss for a large homogeneous pool with Gaussian one-factor copula. See for example 'The Normal Inverse Gaussian Distribution for Synthetic CDO pricing.', Anna Kalemanova, Bernd Schmid, Ralf Werner, Journal of Derivatives, Vol. 14, No. 3, (Spring 2007), pp. 80-93. http://www.defaultrisk.com/pp_crdrv_91.…

It can be used to price a credit derivative or to provide risk metrics of a portfolio.

## Member Function Documentation

### void update () [virtual]

This method must be implemented in derived classes. An instance of Observer does not call this method directly: instead, it will be called by the observables the instance registered with when they need to notify any changes.

Implements **Observer**.

### Real probOverLoss (const Date & d, Real remainingLossFraction) const [virtual]

**Parameters:**

*remainingLossFraction* fraction in live tranche units, not portfolio as a fraction of the remaining(live) tranche (i.e. a_remaining=0% and det_remaining=100%)

Reimplemented from **DefaultLossModel**.

### Real expectedRecovery (const Date &, Size iName, const DefaultProbKey &) const [protected], [virtual]

Expected RR for name conditinal to default by that date.

Reimplemented from **DefaultLossModel**.

## Author

Generated automatically by Doxygen for QuantLib from the source code.

## Referenced By

averageProb(3), averageRecovery(3), GaussianLHPLossModel(3) and percentilePortfolioLossFraction(3) are aliases of QuantLib_GaussianLHPLossModel(3).