Text this: The econometrics of discrete structural change and its applications in models of price overcharge