Detecting contagion during financial crises requires the demarcation of crisis periods. We develop a method for endogenously dating both the start and finish of crises, along with measuring contagion effects. Identification is achieved by coupling smooth transition functions with structural...