<- lm(score ~ hours + motivation, data = test_study2); summary(performance) performance
Call:
lm(formula = score ~ hours + motivation, data = test_study2)
Residuals:
Min 1Q Median 3Q Max
-12.955 -2.804 -0.285 2.934 13.824
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 6.8668 0.6547 10.49 <2e-16 ***
hours 1.3757 0.0799 17.22 <2e-16 ***
motivation 0.9163 0.3838 2.39 0.018 *
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 4.39 on 147 degrees of freedom
Multiple R-squared: 0.67, Adjusted R-squared: 0.665
F-statistic: 149 on 2 and 147 DF, p-value: <2e-16