We propose a unified framework for equity and credit risk modeling, where the default time is a doubly stochastic random time with intensity driven by an underlying affine factor process. This approach allows for flexible interactions between the defaultable stock price, its stochastic...