Common Poisson Shock Models: Applications to Insurance and Credit Risk Modelling