Measuring and Optimizing Portfolio Credit Risk: A Copula‐based Approach* · Study