It is understandable to me that such a problem arises when highly correlated predictors are entered into regression equation. At this point, predictor sign changes to opposite to correlation coefficient between this predictor and dependent variable.
But it is not clear to me why this happens. What mechanism is the base of of this sign-change? Can anyone explain this to me? I read here:
https://stats.stackexchange.com/questions/1580/regression-coefficients-that-flip-sign-after-including-other-predictors
https://stats.stackexchange.com/questions/31841/coefficients-change-signs
that problem may lie in calculations based on covariance between variables, and more specifically on residues. But I was not able to understand this mechanism even though the described paradoxes are familiar and clear to me. I have not found any literature on this subject.