Outliers can have the opposite effect too. In this example, our \(R^2\) is decreased by almost 16%.
outX <- 300
outY <- 1150
sat.outlier <- rbind(sat[,c('Verbal','Math')], c(Verbal=outX, Math=outY))
(sat.lm <- lm(Math ~ Verbal, data=sat))
##
## Call:
## lm(formula = Math ~ Verbal, data = sat)
##
## Coefficients:
## (Intercept) Verbal
## 209.5542 0.6751
(sat.lm2 <- lm(Math ~ Verbal, data=sat.outlier))
##
## Call:
## lm(formula = Math ~ Verbal, data = sat.outlier)
##
## Coefficients:
## (Intercept) Verbal
## 290.8915 0.5459