Rdocumentation
powered by
Learn R Programming
xVA (version 0.8)
CalcVA: Calculates the Valuation Adjustment
Description
Calculates the Valuation Adjustment based on the exposure, the probability-of-default and the loss-given-default
Usage
CalcVA(exposure, discount_factors, PD, LGD)
Arguments
exposure
A vector containing the exposure values on which the credit risk adjustment will be calculated
discount_factors
The Discount Curve
PD
The probability-of-Default
LGD
The Loss-Given-Default
Value
The Valuation Adjustment Value