We model aggregate loss rates on credit portfolios dynamically using a default intensity approach. The default intensity we employ is allowed to depend on both observable macroeconomic variables and unobserved frailties. We use the model to extract measures of the credit cycle from US bank...