Call:
lm(formula = Y ~ X, data = df)
Residuals:
Min 1Q Median 3Q Max
-3.3097 -0.8735 0.0257 0.8367 3.2818
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 4.2243 0.4748 8.897 1.26e-15 ***
X 1.0163 0.1186 8.571 8.80e-15 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 1.245 on 158 degrees of freedom
Multiple R-squared: 0.3174, Adjusted R-squared: 0.3131
F-statistic: 73.47 on 1 and 158 DF, p-value: 8.795e-15