Non-Random Exposure to Exogenous Shocks: Theory and Applications