calc_survival_probability_merton.Rd
Function calculates survival probability for a maturity based on a structural
Merton model.
For details on implementation please compare CreditRisk::Merton()
.
Unlike CreditRisk::Merton()
this implementation:
only holds functionality to calculate probability of survival
can be called in vectorised fashion
additionally checks that all input values are of the same length
additionally checks input vectors for implausible values (r
must be => 0
and all other args > 0)
calc_survival_probability_merton(L, V0, sigma, r, t)
Numeric vector, holding debt values at maturity.
Numeric vector, holding company values at time t0.
Numeric vector, holding volatility values.
Numeric vector, holding risk free interest rates.
Vector vector holding debt maturities.
A vector holding survival probabilities,