We propose a dynamic structural model of credit risk of multiple loan portfolios. In line with Merton, Vasicek and … (macroeconomic) variables. Consequently, the credit risk of each portfolio, quantified by default rate and loss given default …, possibly depends not only on the exogenous variables, but also on historical credit losses of the portfolios.By applying our …