When we have a set of data, where X is the cause, and Y is the effect, we can use linear regression to predict values for Y, based on values of X.
I have learned that you may only safely apply this for values of X that fall into the domain of X for the input data.
Can we also use linear regression to do reliable predictions about values of Y for values X that lie outside of this domain, and if so, what can we say about the reliability of these predictions?
I would love some answers and possibly some interesting sources on this subject.
XKCD explains it perfectly in this comic, which is