The Basel II Risk Parameters: Estimation, Validation, Stress Testing - with Applications to Loan Risk Management