O'Reilly logo

Clojure for Data Science by Henry Garner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adjusted R-squared

As we add more independent variables to our regression, we might be encouraged by the fact that our R2 value always increases. Adding a new independent variable isn't going to make it harder to predict the dependent variable—if the new variable has no explanatory power, then its coefficient will simply be zero and the R2 will remain the same as it was without the independent variable.

However, this doesn't tell us whether a model has been improved by the addition of a new variable. If we want to know whether our new variable is really helping it to generate a better fit, we can use the adjusted R2, often written as Adjusted R-squared and pronounced ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required