Em Algorithm, Step Functions, Statistics, Machine Learning, Data Science.
gives us the effect we are after: before the jump h1(x) is our model for the data, and h2(x) after the jump; indicator variable activates at the jump. The challenge here is that we have no information about the indicator variable, or in other words, this was unobserved when we collected the data.