## Warning in summary.lm(model): essentially perfect fit: summary may be
## unreliable
##
## Call:
## lm(formula = price ~ sqft, data = data)
##
## Residuals:
## 1 2 3 4 5
## -2.867e-11 1.456e-11 3.071e-11 9.552e-12 -2.616e-11
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 1.000e+05 4.064e-11 2.461e+15 <2e-16 ***
## sqft 1.000e+02 1.916e-14 5.220e+15 <2e-16 ***
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## Residual standard error: 3.029e-11 on 3 degrees of freedom
## Multiple R-squared: 1, Adjusted R-squared: 1
## F-statistic: 2.724e+31 on 1 and 3 DF, p-value: < 2.2e-16
This gives us the equation of the line. summary()
shows the slope, intercept, R-squared, and p-values.