powered by
DefaultRiskyBondVaR(r, rf, coupon, sigma, amount.invested, recovery.rate, p, number.trials, hp, cl)
# VaR for default risky bond portfolio for given parameters DefaultRiskyBondVaR(.01, .01, .1, .01, 1, .1, .2, 100, 100, .95)
Run the code above in your browser using DataLab