Transforming negative correlated non linear variable to linear positive correlated variable
At my office, I am stuck in a weird situation. I am asked to perform a regression algorithm on the data, in which the target variable is continuous having values range between 0.6 to 0.9 with 8 digits of precision after the decimal. Although I know and have applied many linear and non-linear regression algorithms in the past the case here is something different. There is one variable, which, according to my BU, should have a positive and linear correlation with the target variable. But when I ran Pearson's
correlation, the variable is negatively correlated and by plotting a scatter
plot I can see that the relationship is not linear at all.
What transformations can I perform on the variable so that it can show a positive correlation? I am fairly new to this problem so hoping to get it solved here. Thanks much everyone in advance.
Topic collinearity pearsons-correlation-coefficient regression
Category Data Science