Calculates the probablity of the default on specific time points by using the spread of the corresponding credit curve and the loss given default
CalcPD(spread, LGD, time_points)
A vector containing the probablity of default on the specified timepoints
The spread based on the credit curve
The loss-given-default
The timepoints that the analysis is performed on
Tasos Grivas <tasos@openriskcalculator.com>