In some studies, when we do subsample and if it is nice, we may see the signs of coefficients of variables of interests are consistent among the whole sample and subsamples.
However, it is not always the case, there are many times that the signs of interest of one or both subsamples are opposite to the whole sample.
The explanation and example for the case that the signs of coefficient of variables of interests are opposite to that of the whole sample has been clearly explain here by mathematic and visualization by tdm here.
Is there any visualization and example for the case that the sign of one subsample is similar to that of the whole sample but different from the another subsample?