Would it be reasonable to use the least-squares regression line to predict the final grade for a student who has missed 15 classes? Why or why not?

Calculus For The Life Sciences
2nd Edition
ISBN:9780321964038
Author:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Chapter1: Functions
Section1.2: The Least Square Line
Problem 5E
icon
Related questions
Question
100%
4. Would it be reasonable to use the least-squares regression line to predict the final grade for a student
who has missed 15 classes? Why or why not?
Transcribed Image Text:4. Would it be reasonable to use the least-squares regression line to predict the final grade for a student who has missed 15 classes? Why or why not?
absences<-c(0,1,2,3,4,5,6,7,8,9)
grade<-c(89.2,86.4,83.5,81.1,78.2,73.9,64.3,71.8,65.5,66.2)
xyplot(absences-grade,
xlab="Absences",
ylab="Final Grade",
type=c("p","r"))
Final Grade
8
2
0
65
70
75
0
Absences
80
cor(absences,grade)
## [1] -0.947395
pricemodel<-lm(grade~absences)
msummary(pricemodel)
85
90
##
Estimate Std. Error t value Pr(>|t|)
## (Intercept) 88.7327
1.8028 49.219 3.21e-11 ***
## absences -2.8273 0.3377 -8.372 3.14e-05 ***
##
## Residual standard error: 3.067 on 8 degrees of freedom
## Multiple R-squared: 0.8976, Adjusted R-squared: 0.8848
## F-statistic: 70.09 on 1 and 8 DF, p-value: 3.143e-05
Transcribed Image Text:absences<-c(0,1,2,3,4,5,6,7,8,9) grade<-c(89.2,86.4,83.5,81.1,78.2,73.9,64.3,71.8,65.5,66.2) xyplot(absences-grade, xlab="Absences", ylab="Final Grade", type=c("p","r")) Final Grade 8 2 0 65 70 75 0 Absences 80 cor(absences,grade) ## [1] -0.947395 pricemodel<-lm(grade~absences) msummary(pricemodel) 85 90 ## Estimate Std. Error t value Pr(>|t|) ## (Intercept) 88.7327 1.8028 49.219 3.21e-11 *** ## absences -2.8273 0.3377 -8.372 3.14e-05 *** ## ## Residual standard error: 3.067 on 8 degrees of freedom ## Multiple R-squared: 0.8976, Adjusted R-squared: 0.8848 ## F-statistic: 70.09 on 1 and 8 DF, p-value: 3.143e-05
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Algebra
ISBN:
9781680331141
Author:
HOUGHTON MIFFLIN HARCOURT
Publisher:
Houghton Mifflin Harcourt
Linear Algebra: A Modern Introduction
Linear Algebra: A Modern Introduction
Algebra
ISBN:
9781285463247
Author:
David Poole
Publisher:
Cengage Learning
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill