0
$\begingroup$

When I do a linear regression, R²: 0.90, but the estimates are not correct, why is this happening?

(Deep Not : Adjusted R-squared: -0.3872)

$\endgroup$

1 Answer 1

1
$\begingroup$

You should also check the correlation between the features. The problem you mentioned arises when features are highly correlated.

Also perform Kfold validation in your dataset.

$\endgroup$
2
  • $\begingroup$ thanks,Do you have a suggestion for feature selection? $\endgroup$
    – Developer
    Aug 12, 2018 at 8:51
  • $\begingroup$ You should really spend some time in selecting your features as it will yield better results. What I tend to do is first plot the distribution plot of each features. If it closely resembles a normal distribution curve then such features may be important for you. Sometimes you may have to use feature scaling and transformations if the distribution is skewed(such as log transformations, boxcox, etc.). After performing scaling or transformation to these variables, there is a high chance that the skewness is removed. Then you can include these transformed variables in your model. $\endgroup$ Aug 13, 2018 at 17:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.