x area_to_left
1: -3.0 0.001
2: -2.5 0.006
3: -2.0 0.023
4: -1.5 0.067
5: -1.0 0.159
6: -0.5 0.309
7: 0.0 0.500
8: 0.5 0.691
9: 1.0 0.841
10: 1.5 0.933
11: 2.0 0.977
12: 2.5 0.994
13: 3.0 0.999
x area_to_left
1: -3.0 0.001
2: -2.5 0.006
3: -2.0 0.023
4: -1.5 0.067
5: -1.0 0.159
6: -0.5 0.309
7: 0.0 0.500
8: 0.5 0.691
9: 1.0 0.841
10: 1.5 0.933
11: 2.0 0.977
12: 2.5 0.994
13: 3.0 0.999
[1] 0.6246553
Call:
lm(formula = y ~ x)
Residuals:
Min 1Q Median 3Q Max
-2.21741 -0.65004 -0.04366 0.47332 3.08603
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -0.18679 0.09869 -1.893 0.0613 .
x 0.01065 0.10383 0.103 0.9185
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 0.986 on 98 degrees of freedom
Multiple R-squared: 0.0001074, Adjusted R-squared: -0.0101
F-statistic: 0.01053 on 1 and 98 DF, p-value: 0.9185
Call:
lm(formula = grade ~ attendance, data = dt)
Residuals:
Min 1Q Median 3Q Max
-63.514 -8.129 0.613 9.083 40.188
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 54.011 3.703 14.588 < 2e-16 ***
attendance 38.164 4.377 8.719 9.41e-16 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 15.85 on 206 degrees of freedom
(1 observation deleted due to missingness)
Multiple R-squared: 0.2695, Adjusted R-squared: 0.266
F-statistic: 76.02 on 1 and 206 DF, p-value: 9.408e-16