Determine whether a loan will default, as well as the loss incurred if it does default