line ŷ = 2.61 + 0.77xr 0.9980.995
4488121216162020

residual plot (residual = actual y - predicted y)

Presets:the amber point has high leverage: drag it and watch r change

r = 0.998: a very strong positive linear relationship, and r-squared = 0.995 means the line explains 99.5% of the variation in y. Check the residual plot below: a pattern there means a line is the wrong model no matter how good r looks.

Try to: drag one point until r drops below 0.5 make the relationship negative see the least squares (squares view)

Regression influential-point explorer · free from StatsLearn