Discontinuities in indirect estimation: An application to EAR models