I was preparing a seminar and accidentally stumbled upon an odd situation. When there is a negative relationship between the predictor (Extraversion) and the dependent variable (Depression measured by BDI-II), the calculated predicted value showed a negative perfect correlation (-1) with the predictor in SPSS. This is a non-sense. So, I checked the same issue using jamovi. The result was the same. In both programs, when I draw the scatterplot between the IV and DV, it clearly showed a strong negative trend. But, when I draw the scatterplot in regression menu in SPSS using the predicted value on X and the DV on Y, the scatterplot showed a strong positive trend.
I guessed it might be deliberate and tested the same with variables that are positively related to the DV. The predicted values and the predictor in this case showed a perfect positive correlation (+1), which makes sense.
Does anyone notice this issue? Or is there any reason why the same issue happened in two programs?