win-vector.com
An easy way to accidentally inflate reported R-squared in linear regression models
Here is an absolutely horrible way to confuse yourself and get an inflated reported R-squared on a simple linear regression model in R. We have written about this before, but we found a new twist o…