Email Record: Estimation and inference in threshold type regime switching models (Gonzalo, Jesús)