Options
All
  • Public
  • Public/Protected
  • All
Menu

Loss distribution with Hull-White bucketing

Loss distribution for varying volumes and probabilities of default, independence assumed.

The implementation of the loss distribution follows

John Hull and Alan White, "Valuation of a CDO and nth to default CDS without Monte Carlo simulation", Journal of Derivatives 12, 2, 2004.

Hierarchy

Implements

Index

Constructors

constructor

  • Parameters

    • nBuckets: Size
    • maximum: Real
    • Default value epsilon: Real = 0.000001

    Returns LossDistBucketing

Properties

Private _epsilon

_epsilon: Real

Private _maximum

_maximum: Real

Private _nBuckets

_nBuckets: Size

Methods

buckets

  • Returns Size

f

  • Parameters

    • nominals: Real[]
    • probabilities: Real[]

    Returns Distribution

Private locateTargetBucket

  • Parameters

    Returns Size

maximum

  • Returns Real

Static binomialProbabilityOfAtLeastNEvents

  • binomialProbabilityOfAtLeastNEvents(n: Size, p: Real[]): Real

Static binomialProbabilityOfNEvents

Static probabilityOfAtLeastNEvents

Static probabilityOfNEvents1

  • probabilityOfNEvents1(p: Real[]): Real[]

Static probabilityOfNEvents2